Lines Matching +full:gpio +full:- +full:key
1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-h3.c
13 #include <linux/gpio.h>
31 #include <linux/platform_data/gpio-omap.h>
36 #include <asm/mach-types.h>
42 #include <linux/platform_data/keypad-omap.h>
43 #include <linux/omap-dma.h>
51 #include "board-h3.h"
59 KEY(0, 0, KEY_LEFT),
60 KEY(1, 0, KEY_RIGHT),
61 KEY(2, 0, KEY_3),
62 KEY(3, 0, KEY_F10),
63 KEY(4, 0, KEY_F5),
64 KEY(5, 0, KEY_9),
65 KEY(0, 1, KEY_DOWN),
66 KEY(1, 1, KEY_UP),
67 KEY(2, 1, KEY_2),
68 KEY(3, 1, KEY_F9),
69 KEY(4, 1, KEY_F7),
70 KEY(5, 1, KEY_0),
71 KEY(0, 2, KEY_ENTER),
72 KEY(1, 2, KEY_6),
73 KEY(2, 2, KEY_1),
74 KEY(3, 2, KEY_F2),
75 KEY(4, 2, KEY_F6),
76 KEY(5, 2, KEY_HOME),
77 KEY(0, 3, KEY_8),
78 KEY(1, 3, KEY_5),
79 KEY(2, 3, KEY_F12),
80 KEY(3, 3, KEY_F3),
81 KEY(4, 3, KEY_F8),
82 KEY(5, 3, KEY_END),
83 KEY(0, 4, KEY_7),
84 KEY(1, 4, KEY_4),
85 KEY(2, 4, KEY_F11),
86 KEY(3, 4, KEY_F1),
87 KEY(4, 4, KEY_F4),
88 KEY(5, 4, KEY_ESC),
89 KEY(0, 5, KEY_F13),
90 KEY(1, 5, KEY_F14),
91 KEY(2, 5, KEY_F15),
92 KEY(3, 5, KEY_F16),
93 KEY(4, 5, KEY_SLEEP),
98 /* bootloader (U-Boot, etc) in first sector */
103 .mask_flags = MTD_WRITEABLE, /* force read-only */
141 .name = "physmap-flash",
157 .mask_flags = MTD_WRITEABLE, /* force read-only */
163 .mask_flags = MTD_WRITEABLE, /* force read-only */
250 printk("Error requesting gpio 40 for smc91x irq\n"); in h3_init_smc91x()
302 .name = "omap-keypad",
303 .id = -1,
313 .id = -1,
330 .gpio = 3,
335 .gpio = OMAP_MPUIO(4),
345 .name = "leds-gpio",
346 .id = -1,
363 /* usb1 has a Mini-AB port and external isp1301 transceiver */
369 /* NONSTANDARD CABLE NEEDED (B-to-Mini-B) */
397 * H3 support NAND-boot, with a dip switch to put NOR on CS2B and NAND in h3_init()
402 nor_resource.end += SZ_32M - 1; in h3_init()
405 nand_resource.end += SZ_4K - 1; in h3_init()
409 /* GPIO10 Func_MUX_CTRL reg bit 29:27, Configure V2 to mode1 as GPIO */ in h3_init()
426 /* GPIO based LEDs */ in h3_init()