1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014 Joachim Eastwood <manabian@gmail.com>
6 #include <dt-bindings/input/input.h>
14 compatible = "gpio-leds";
15 pinctrl-names = "default";
16 pinctrl-0 = <&gpio_led_pins>;
19 label = "var:green:led0";
20 gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>; /* gpio 173 */
21 linux,default-trigger = "heartbeat";
25 label = "var:green:led1";
26 gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>; /* gpio 172 */
31 compatible = "gpio-keys";
32 pinctrl-names = "default";
33 pinctrl-0 = <&gpio_key_pins>;
39 gpios = <&gpio6 24 GPIO_ACTIVE_HIGH>; /* gpio 184 */
40 linux,code = <BTN_EXTRA>;
46 compatible = "hdmi-connector";
47 pinctrl-names = "default";
48 pinctrl-0 = <&hdmi_hpd_pins>;
52 hpd-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; /* gpio_63 */
55 hdmi_connector_in: endpoint {
56 remote-endpoint = <&hdmi_out>;
63 uart1_pins: pinmux_uart1_pins {
64 pinctrl-single,pins = <
65 OMAP4_IOPAD(0x13c, PIN_INPUT_PULLUP | MUX_MODE1) /* mcspi1_cs2.uart1_cts */
66 OMAP4_IOPAD(0x13e, PIN_OUTPUT | MUX_MODE1) /* mcspi1_cs3.uart1_rts */
67 OMAP4_IOPAD(0x126, PIN_INPUT_PULLUP | MUX_MODE1) /* i2c2_scl.uart1_rx */
68 OMAP4_IOPAD(0x128, PIN_OUTPUT | MUX_MODE1) /* i2c2_sda.uart1_tx */
72 mcspi1_pins: pinmux_mcspi1_pins {
73 pinctrl-single,pins = <
74 OMAP4_IOPAD(0x132, PIN_INPUT | MUX_MODE0) /* mcspi1_clk.mcspi1_clk */
75 OMAP4_IOPAD(0x134, PIN_INPUT | MUX_MODE0) /* mcspi1_somi.mcspi1_somi */
76 OMAP4_IOPAD(0x136, PIN_INPUT | MUX_MODE0) /* mcspi1_simo.mcspi1_simo */
77 OMAP4_IOPAD(0x138, PIN_INPUT | MUX_MODE0) /* mcspi1_cs0.mcspi1_cs0 */
81 mcasp_pins: pinmux_mcsasp_pins {
82 pinctrl-single,pins = <
83 OMAP4_IOPAD(0x0f8, PIN_OUTPUT | MUX_MODE2) /* mcbsp2_dr.abe_mcasp_axr */
87 dss_dpi_pins: pinmux_dss_dpi_pins {
88 pinctrl-single,pins = <
89 OMAP4_IOPAD(0x162, PIN_OUTPUT | MUX_MODE5) /* dispc2_data23 */
90 OMAP4_IOPAD(0x164, PIN_OUTPUT | MUX_MODE5) /* dispc2_data22 */
91 OMAP4_IOPAD(0x166, PIN_OUTPUT | MUX_MODE5) /* dispc2_data21 */
92 OMAP4_IOPAD(0x168, PIN_OUTPUT | MUX_MODE5) /* dispc2_data20 */
93 OMAP4_IOPAD(0x16a, PIN_OUTPUT | MUX_MODE5) /* dispc2_data19 */
94 OMAP4_IOPAD(0x16c, PIN_OUTPUT | MUX_MODE5) /* dispc2_data18 */
95 OMAP4_IOPAD(0x16e, PIN_OUTPUT | MUX_MODE5) /* dispc2_data15 */
96 OMAP4_IOPAD(0x170, PIN_OUTPUT | MUX_MODE5) /* dispc2_data14 */
97 OMAP4_IOPAD(0x172, PIN_OUTPUT | MUX_MODE5) /* dispc2_data13 */
98 OMAP4_IOPAD(0x174, PIN_OUTPUT | MUX_MODE5) /* dispc2_data12 */
99 OMAP4_IOPAD(0x176, PIN_OUTPUT | MUX_MODE5) /* dispc2_data11 */
100 OMAP4_IOPAD(0x1b4, PIN_OUTPUT | MUX_MODE5) /* dispc2_data10 */
101 OMAP4_IOPAD(0x1b6, PIN_OUTPUT | MUX_MODE5) /* dispc2_data9 */
102 OMAP4_IOPAD(0x1b8, PIN_OUTPUT | MUX_MODE5) /* dispc2_data16 */
103 OMAP4_IOPAD(0x1ba, PIN_OUTPUT | MUX_MODE5) /* dispc2_data17 */
104 OMAP4_IOPAD(0x1bc, PIN_OUTPUT | MUX_MODE5) /* dispc2_hsync */
105 OMAP4_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE5) /* dispc2_pclk */
106 OMAP4_IOPAD(0x1c0, PIN_OUTPUT | MUX_MODE5) /* dispc2_vsync */
107 OMAP4_IOPAD(0x1c2, PIN_OUTPUT | MUX_MODE5) /* dispc2_de */
108 OMAP4_IOPAD(0x1c4, PIN_OUTPUT | MUX_MODE5) /* dispc2_data8 */
109 OMAP4_IOPAD(0x1c6, PIN_OUTPUT | MUX_MODE5) /* dispc2_data7 */
110 OMAP4_IOPAD(0x1c8, PIN_OUTPUT | MUX_MODE5) /* dispc2_data6 */
111 OMAP4_IOPAD(0x1ca, PIN_OUTPUT | MUX_MODE5) /* dispc2_data5 */
112 OMAP4_IOPAD(0x1cc, PIN_OUTPUT | MUX_MODE5) /* dispc2_data4 */
113 OMAP4_IOPAD(0x1ce, PIN_OUTPUT | MUX_MODE5) /* dispc2_data3 */
114 OMAP4_IOPAD(0x1d0, PIN_OUTPUT | MUX_MODE5) /* dispc2_data2 */
115 OMAP4_IOPAD(0x1d2, PIN_OUTPUT | MUX_MODE5) /* dispc2_data1 */
116 OMAP4_IOPAD(0x1d4, PIN_OUTPUT | MUX_MODE5) /* dispc2_data0 */
120 dss_hdmi_pins: pinmux_dss_hdmi_pins {
121 pinctrl-single,pins = <
122 OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */
123 OMAP4_IOPAD(0x09c, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_scl.hdmi_scl */
124 OMAP4_IOPAD(0x09e, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_sda.hdmi_sda */
128 i2c4_pins: pinmux_i2c4_pins {
129 pinctrl-single,pins = <
130 OMAP4_IOPAD(0x12e, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */
131 OMAP4_IOPAD(0x130, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */
135 mmc5_pins: pinmux_mmc5_pins {
136 pinctrl-single,pins = <
137 OMAP4_IOPAD(0x0f6, PIN_INPUT | MUX_MODE3) /* abe_mcbsp2_clkx.gpio_110 */
138 OMAP4_IOPAD(0x148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_clk.sdmmc5_clk */
139 OMAP4_IOPAD(0x14a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_cmd.sdmmc5_cmd */
140 OMAP4_IOPAD(0x14c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_dat0.sdmmc5_dat0 */
141 OMAP4_IOPAD(0x14e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_dat1.sdmmc5_dat1 */
142 OMAP4_IOPAD(0x150, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_dat2.sdmmc5_dat2 */
143 OMAP4_IOPAD(0x152, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_dat3.sdmmc5_dat3 */
147 gpio_led_pins: pinmux_gpio_led_pins {
148 pinctrl-single,pins = <
149 OMAP4_IOPAD(0x17e, PIN_OUTPUT | MUX_MODE3) /* kpd_col4.gpio_172 */
150 OMAP4_IOPAD(0x180, PIN_OUTPUT | MUX_MODE3) /* kpd_col5.gpio_173 */
154 gpio_key_pins: pinmux_gpio_key_pins {
155 pinctrl-single,pins = <
156 OMAP4_IOPAD(0x1a2, PIN_INPUT | MUX_MODE3) /* sys_boot0.gpio_184 */
160 ks8851_irq_pins: pinmux_ks8851_irq_pins {
161 pinctrl-single,pins = <
162 OMAP4_IOPAD(0x17c, PIN_INPUT_PULLUP | MUX_MODE3) /* kpd_col3.gpio_171 */
166 hdmi_hpd_pins: pinmux_hdmi_hpd_pins {
167 pinctrl-single,pins = <
168 OMAP4_IOPAD(0x098, PIN_INPUT_PULLDOWN | MUX_MODE3) /* hdmi_hpd.gpio_63 */
172 backlight_pins: pinmux_backlight_pins {
173 pinctrl-single,pins = <
174 OMAP4_IOPAD(0x116, PIN_OUTPUT | MUX_MODE3) /* abe_dmic_din3.gpio_122 */
180 pinctrl-names = "default";
181 pinctrl-0 = <&i2c4_pins>;
182 clock-frequency = <400000>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&uart1_pins>;
193 pinctrl-names = "default";
194 pinctrl-0 = <&mcspi1_pins>;
198 compatible = "ks8851";
199 pinctrl-names = "default";
200 pinctrl-0 = <&ks8851_irq_pins>;
201 spi-max-frequency = <24000000>;
203 interrupt-parent = <&gpio6>;
204 interrupts = <11 IRQ_TYPE_LEVEL_LOW>; /* gpio 171 */
209 pinctrl-names = "default";
210 pinctrl-0 = <&mmc5_pins>;
211 vmmc-supply = <&vbat>;
213 cd-gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>; /* gpio 110 */
223 pinctrl-names = "default";
224 pinctrl-0 = <&dss_hdmi_pins>;
225 vdda-supply = <&vdac>;
229 remote-endpoint = <&hdmi_connector_in>;