diff options
author | Adam Ford <aford173@gmail.com> | 2017-11-20 10:10:58 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-12-11 12:40:34 -0500 |
commit | 5cb8b0fa55a9cb60587ad0c7801bc83418248883 (patch) | |
tree | a023ddf205d7a33a07daf78d167b9c06b53fc2aa | |
parent | 51991d7e16ee2e28adc606bbec0584ade3890400 (diff) |
ARM: dts: Move most of logicpd-som-lv-37xx-devkit.dts to logicpd-som-lv-baseboard.dtsi
The Development kits consist of a SOM connected to a baseboard. Moving most
of the devkit files to baseboard allow us to re-use much of the contents in
preparation for using it on the OMAP35xx varation of the same kit.
Signed-off-by: Adam Ford <aford173@gmail.com>
[tony@atomide.com: updated to apply on recent gpmc range fixes]
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts | 249 | ||||
-rw-r--r-- | arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi | 256 |
2 files changed, 257 insertions, 248 deletions
diff --git a/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts index 2fa5eb4bd402..24283739526c 100644 --- a/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts +++ b/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts | |||
@@ -8,257 +8,10 @@ | |||
8 | 8 | ||
9 | #include "omap36xx.dtsi" | 9 | #include "omap36xx.dtsi" |
10 | #include "logicpd-som-lv.dtsi" | 10 | #include "logicpd-som-lv.dtsi" |
11 | #include "logicpd-som-lv-baseboard.dtsi" | ||
11 | #include "omap-gpmc-smsc9221.dtsi" | 12 | #include "omap-gpmc-smsc9221.dtsi" |
12 | 13 | ||
13 | / { | 14 | / { |
14 | model = "LogicPD Zoom DM3730 SOM-LV Development Kit"; | 15 | model = "LogicPD Zoom DM3730 SOM-LV Development Kit"; |
15 | compatible = "logicpd,dm3730-som-lv-devkit", "ti,omap3630", "ti,omap3"; | 16 | compatible = "logicpd,dm3730-som-lv-devkit", "ti,omap3630", "ti,omap3"; |
16 | |||
17 | gpio_keys { | ||
18 | compatible = "gpio-keys"; | ||
19 | pinctrl-names = "default"; | ||
20 | pinctrl-0 = <&gpio_key_pins>; | ||
21 | |||
22 | sysboot2 { | ||
23 | label = "gpio3"; | ||
24 | gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* gpio_111 / uP_GPIO_3 */ | ||
25 | linux,code = <BTN_0>; | ||
26 | wakeup-source; | ||
27 | }; | ||
28 | }; | ||
29 | |||
30 | sound { | ||
31 | compatible = "ti,omap-twl4030"; | ||
32 | ti,model = "omap3logic"; | ||
33 | ti,mcbsp = <&mcbsp2>; | ||
34 | }; | ||
35 | |||
36 | leds { | ||
37 | compatible = "gpio-leds"; | ||
38 | pinctrl-names = "default"; | ||
39 | pinctrl-0 = <&led_pins &led_pins_wkup>; | ||
40 | |||
41 | led1 { | ||
42 | label = "led1"; | ||
43 | gpios = <&gpio5 5 GPIO_ACTIVE_LOW>; /* gpio133 */ | ||
44 | linux,default-trigger = "cpu0"; | ||
45 | }; | ||
46 | |||
47 | led2 { | ||
48 | label = "led2"; | ||
49 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* gpio11 */ | ||
50 | linux,default-trigger = "none"; | ||
51 | }; | ||
52 | }; | ||
53 | }; | ||
54 | |||
55 | &vaux1 { | ||
56 | regulator-min-microvolt = <3000000>; | ||
57 | regulator-max-microvolt = <3000000>; | ||
58 | }; | ||
59 | |||
60 | &vaux4 { | ||
61 | regulator-min-microvolt = <1800000>; | ||
62 | regulator-max-microvolt = <1800000>; | ||
63 | }; | ||
64 | |||
65 | &mcbsp2 { | ||
66 | status = "okay"; | ||
67 | }; | ||
68 | |||
69 | &charger { | ||
70 | ti,bb-uvolt = <3200000>; | ||
71 | ti,bb-uamp = <150>; | ||
72 | }; | ||
73 | |||
74 | &gpmc { | ||
75 | ranges = <0 0 0x30000000 0x1000000 /* CS0: 16MB for NAND */ | ||
76 | 1 0 0x2c000000 0x1000000>; /* CS1: 16MB for LAN9221 */ | ||
77 | |||
78 | ethernet@gpmc { | ||
79 | pinctrl-names = "default"; | ||
80 | pinctrl-0 = <&lan9221_pins>; | ||
81 | interrupt-parent = <&gpio5>; | ||
82 | interrupts = <24 IRQ_TYPE_LEVEL_LOW>; /* gpio_152 */ | ||
83 | reg = <1 0 0xff>; | ||
84 | }; | ||
85 | }; | ||
86 | |||
87 | &vpll2 { | ||
88 | regulator-always-on; | ||
89 | }; | ||
90 | |||
91 | &dss { | ||
92 | status = "ok"; | ||
93 | vdds_dsi-supply = <&vpll2>; | ||
94 | vdda_video-supply = <&video_reg>; | ||
95 | pinctrl-names = "default"; | ||
96 | pinctrl-0 = <&dss_dpi_pins1>; | ||
97 | port { | ||
98 | dpi_out: endpoint { | ||
99 | remote-endpoint = <&lcd_in>; | ||
100 | data-lines = <16>; | ||
101 | }; | ||
102 | }; | ||
103 | }; | ||
104 | |||
105 | / { | ||
106 | aliases { | ||
107 | display0 = &lcd0; | ||
108 | }; | ||
109 | |||
110 | video_reg: video_reg { | ||
111 | compatible = "regulator-fixed"; | ||
112 | regulator-name = "fixed-supply"; | ||
113 | regulator-min-microvolt = <3300000>; | ||
114 | regulator-max-microvolt = <3300000>; | ||
115 | }; | ||
116 | |||
117 | lcd0: display@0 { | ||
118 | compatible = "panel-dpi"; | ||
119 | label = "28"; | ||
120 | status = "okay"; | ||
121 | /* default-on; */ | ||
122 | pinctrl-names = "default"; | ||
123 | pinctrl-0 = <&lcd_enable_pin>; | ||
124 | enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */ | ||
125 | port { | ||
126 | lcd_in: endpoint { | ||
127 | remote-endpoint = <&dpi_out>; | ||
128 | }; | ||
129 | }; | ||
130 | |||
131 | panel-timing { | ||
132 | clock-frequency = <9000000>; | ||
133 | hactive = <480>; | ||
134 | vactive = <272>; | ||
135 | hfront-porch = <3>; | ||
136 | hback-porch = <2>; | ||
137 | hsync-len = <42>; | ||
138 | vback-porch = <3>; | ||
139 | vfront-porch = <2>; | ||
140 | vsync-len = <11>; | ||
141 | hsync-active = <1>; | ||
142 | vsync-active = <1>; | ||
143 | de-active = <1>; | ||
144 | pixelclk-active = <0>; | ||
145 | }; | ||
146 | }; | ||
147 | |||
148 | bl: backlight { | ||
149 | compatible = "pwm-backlight"; | ||
150 | pinctrl-names = "default"; | ||
151 | pinctrl-0 = <&backlight_pins>; | ||
152 | pwms = <&twl_pwm 0 5000000>; | ||
153 | brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; | ||
154 | default-brightness-level = <7>; | ||
155 | enable-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; /* gpio_8 */ | ||
156 | }; | ||
157 | }; | ||
158 | |||
159 | &mmc1 { | ||
160 | interrupts-extended = <&intc 83 &omap3_pmx_core 0x11a>; | ||
161 | pinctrl-names = "default"; | ||
162 | pinctrl-0 = <&mmc1_pins>; | ||
163 | wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */ | ||
164 | cd-gpios = <&gpio4 14 IRQ_TYPE_LEVEL_LOW>; /* gpio_110 */ | ||
165 | vmmc-supply = <&vmmc1>; | ||
166 | bus-width = <4>; | ||
167 | cap-power-off-card; | ||
168 | }; | ||
169 | |||
170 | &omap3_pmx_core { | ||
171 | gpio_key_pins: pinmux_gpio_key_pins { | ||
172 | pinctrl-single,pins = < | ||
173 | OMAP3_CORE1_IOPAD(0x212e, PIN_INPUT_PULLUP | MUX_MODE4) /* cam_xclkb.gpio_111 / uP_GPIO_3*/ | ||
174 | >; | ||
175 | }; | ||
176 | |||
177 | led_pins: pinmux_led_pins { | ||
178 | pinctrl-single,pins = < | ||
179 | OMAP3_CORE1_IOPAD(0x215e, PIN_OUTPUT_PULLUP | MUX_MODE4) /* sdmmc2_dat1.gpio_133 / uP_GPIO_0 */ | ||
180 | >; | ||
181 | }; | ||
182 | |||
183 | lan9221_pins: pinmux_lan9221_pins { | ||
184 | pinctrl-single,pins = < | ||
185 | OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152 */ | ||
186 | >; | ||
187 | }; | ||
188 | |||
189 | mmc1_pins: pinmux_mmc1_pins { | ||
190 | pinctrl-single,pins = < | ||
191 | OMAP3_CORE1_IOPAD(0x2144, PIN_OUTPUT | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */ | ||
192 | OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */ | ||
193 | OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */ | ||
194 | OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */ | ||
195 | OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */ | ||
196 | OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ | ||
197 | OMAP3_CORE1_IOPAD(0x2132, PIN_INPUT_PULLUP | MUX_MODE4) /* cam_strobe.gpio_126 */ | ||
198 | OMAP3_CORE1_IOPAD(0x212c, PIN_INPUT_PULLUP | MUX_MODE4) /* cam_d11.gpio_110 */ | ||
199 | >; | ||
200 | }; | ||
201 | |||
202 | lcd_enable_pin: pinmux_lcd_enable_pin { | ||
203 | pinctrl-single,pins = < | ||
204 | OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE4) /* mcbsp4_fs.gpio_155 */ | ||
205 | >; | ||
206 | }; | ||
207 | |||
208 | dss_dpi_pins1: pinmux_dss_dpi_pins1 { | ||
209 | pinctrl-single,pins = < | ||
210 | OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_pclk.dss_pclk */ | ||
211 | OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_hsync.dss_hsync */ | ||
212 | OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_vsync.dss_vsync */ | ||
213 | OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_acbias.dss_acbias */ | ||
214 | |||
215 | OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data0.dss_data0 */ | ||
216 | OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data1.dss_data1 */ | ||
217 | OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data2.dss_data2 */ | ||
218 | OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data3.dss_data3 */ | ||
219 | OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data4.dss_data4 */ | ||
220 | OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data5.dss_data5 */ | ||
221 | OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data6.dss_data6 */ | ||
222 | OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data7.dss_data7 */ | ||
223 | OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data8.dss_data8 */ | ||
224 | OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data9.dss_data9 */ | ||
225 | OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data10.dss_data10 */ | ||
226 | OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data11.dss_data11 */ | ||
227 | OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data12.dss_data12 */ | ||
228 | OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data13.dss_data13 */ | ||
229 | OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data14.dss_data14 */ | ||
230 | OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data15.dss_data15 */ | ||
231 | >; | ||
232 | }; | ||
233 | }; | ||
234 | |||
235 | &omap3_pmx_wkup { | ||
236 | led_pins_wkup: pinmux_led_pins_wkup { | ||
237 | pinctrl-single,pins = < | ||
238 | OMAP3_WKUP_IOPAD(0x2a24, PIN_OUTPUT_PULLUP | MUX_MODE4) /* jtag_emu0.gpio_11 / uP_GPIO_1 */ | ||
239 | >; | ||
240 | }; | ||
241 | |||
242 | backlight_pins: pinmux_backlight_pins { | ||
243 | pinctrl-single,pins = < | ||
244 | OMAP3_WKUP_IOPAD(0x2a16, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE4) /* sys_boot6.gpio_8 */ | ||
245 | >; | ||
246 | }; | ||
247 | }; | ||
248 | |||
249 | |||
250 | &uart1 { | ||
251 | interrupts-extended = <&intc 72 &omap3_pmx_core OMAP3_UART1_RX>; | ||
252 | }; | ||
253 | |||
254 | /* Wired to the tps65950 on the SOM, only the USB connector is on the devkit */ | ||
255 | &usb_otg_hs { | ||
256 | pinctrl-names = "default"; | ||
257 | pinctrl-0 = <&hsusb_otg_pins>; | ||
258 | interface-type = <0>; | ||
259 | usb-phy = <&usb2_phy>; | ||
260 | phys = <&usb2_phy>; | ||
261 | phy-names = "usb2-phy"; | ||
262 | mode = <3>; | ||
263 | power = <50>; | ||
264 | }; | 17 | }; |
diff --git a/arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi b/arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi new file mode 100644 index 000000000000..4990ed90dcea --- /dev/null +++ b/arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi | |||
@@ -0,0 +1,256 @@ | |||
1 | /* | ||
2 | * This program is free software; you can redistribute it and/or modify | ||
3 | * it under the terms of the GNU General Public License version 2 as | ||
4 | * published by the Free Software Foundation. | ||
5 | */ | ||
6 | |||
7 | / { | ||
8 | gpio_keys { | ||
9 | compatible = "gpio-keys"; | ||
10 | pinctrl-names = "default"; | ||
11 | pinctrl-0 = <&gpio_key_pins>; | ||
12 | |||
13 | sysboot2 { | ||
14 | label = "gpio3"; | ||
15 | gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* gpio_111 / uP_GPIO_3 */ | ||
16 | linux,code = <BTN_0>; | ||
17 | wakeup-source; | ||
18 | }; | ||
19 | }; | ||
20 | |||
21 | sound { | ||
22 | compatible = "ti,omap-twl4030"; | ||
23 | ti,model = "omap3logic"; | ||
24 | ti,mcbsp = <&mcbsp2>; | ||
25 | }; | ||
26 | |||
27 | leds { | ||
28 | compatible = "gpio-leds"; | ||
29 | pinctrl-names = "default"; | ||
30 | pinctrl-0 = <&led_pins &led_pins_wkup>; | ||
31 | |||
32 | led1 { | ||
33 | label = "led1"; | ||
34 | gpios = <&gpio5 5 GPIO_ACTIVE_LOW>; /* gpio133 */ | ||
35 | linux,default-trigger = "cpu0"; | ||
36 | }; | ||
37 | |||
38 | led2 { | ||
39 | label = "led2"; | ||
40 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* gpio11 */ | ||
41 | linux,default-trigger = "none"; | ||
42 | }; | ||
43 | }; | ||
44 | }; | ||
45 | |||
46 | &vaux1 { | ||
47 | regulator-min-microvolt = <3000000>; | ||
48 | regulator-max-microvolt = <3000000>; | ||
49 | }; | ||
50 | |||
51 | &vaux4 { | ||
52 | regulator-min-microvolt = <1800000>; | ||
53 | regulator-max-microvolt = <1800000>; | ||
54 | }; | ||
55 | |||
56 | &mcbsp2 { | ||
57 | status = "okay"; | ||
58 | }; | ||
59 | |||
60 | &charger { | ||
61 | ti,bb-uvolt = <3200000>; | ||
62 | ti,bb-uamp = <150>; | ||
63 | }; | ||
64 | |||
65 | &gpmc { | ||
66 | ranges = <0 0 0x30000000 0x1000000 /* CS0: 16MB for NAND */ | ||
67 | 1 0 0x2c000000 0x1000000 /* CS1: 16MB for LAN9221 */ | ||
68 | 2 0 0x10000000 0x2000000>; /* CS2: 32MB for NOR */ | ||
69 | |||
70 | ethernet@gpmc { | ||
71 | pinctrl-names = "default"; | ||
72 | pinctrl-0 = <&lan9221_pins>; | ||
73 | interrupt-parent = <&gpio5>; | ||
74 | interrupts = <24 IRQ_TYPE_LEVEL_LOW>; /* gpio_152 */ | ||
75 | reg = <1 0 0xff>; | ||
76 | }; | ||
77 | }; | ||
78 | |||
79 | &vpll2 { | ||
80 | regulator-always-on; | ||
81 | }; | ||
82 | |||
83 | &dss { | ||
84 | status = "ok"; | ||
85 | vdds_dsi-supply = <&vpll2>; | ||
86 | vdda_video-supply = <&video_reg>; | ||
87 | pinctrl-names = "default"; | ||
88 | pinctrl-0 = <&dss_dpi_pins1>; | ||
89 | port { | ||
90 | dpi_out: endpoint { | ||
91 | remote-endpoint = <&lcd_in>; | ||
92 | data-lines = <16>; | ||
93 | }; | ||
94 | }; | ||
95 | }; | ||
96 | |||
97 | / { | ||
98 | aliases { | ||
99 | display0 = &lcd0; | ||
100 | }; | ||
101 | |||
102 | video_reg: video_reg { | ||
103 | compatible = "regulator-fixed"; | ||
104 | regulator-name = "fixed-supply"; | ||
105 | regulator-min-microvolt = <3300000>; | ||
106 | regulator-max-microvolt = <3300000>; | ||
107 | }; | ||
108 | |||
109 | lcd0: display@0 { | ||
110 | compatible = "panel-dpi"; | ||
111 | label = "28"; | ||
112 | status = "okay"; | ||
113 | /* default-on; */ | ||
114 | pinctrl-names = "default"; | ||
115 | pinctrl-0 = <&lcd_enable_pin>; | ||
116 | enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */ | ||
117 | port { | ||
118 | lcd_in: endpoint { | ||
119 | remote-endpoint = <&dpi_out>; | ||
120 | }; | ||
121 | }; | ||
122 | |||
123 | panel-timing { | ||
124 | clock-frequency = <9000000>; | ||
125 | hactive = <480>; | ||
126 | vactive = <272>; | ||
127 | hfront-porch = <3>; | ||
128 | hback-porch = <2>; | ||
129 | hsync-len = <42>; | ||
130 | vback-porch = <3>; | ||
131 | vfront-porch = <2>; | ||
132 | vsync-len = <11>; | ||
133 | hsync-active = <1>; | ||
134 | vsync-active = <1>; | ||
135 | de-active = <1>; | ||
136 | pixelclk-active = <0>; | ||
137 | }; | ||
138 | }; | ||
139 | |||
140 | bl: backlight { | ||
141 | compatible = "pwm-backlight"; | ||
142 | pinctrl-names = "default"; | ||
143 | pinctrl-0 = <&backlight_pins>; | ||
144 | pwms = <&twl_pwm 0 5000000>; | ||
145 | brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; | ||
146 | default-brightness-level = <7>; | ||
147 | enable-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; /* gpio_8 */ | ||
148 | }; | ||
149 | }; | ||
150 | |||
151 | &mmc1 { | ||
152 | interrupts-extended = <&intc 83 &omap3_pmx_core 0x11a>; | ||
153 | pinctrl-names = "default"; | ||
154 | pinctrl-0 = <&mmc1_pins>; | ||
155 | wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */ | ||
156 | cd-gpios = <&gpio4 14 IRQ_TYPE_LEVEL_LOW>; /* gpio_110 */ | ||
157 | vmmc-supply = <&vmmc1>; | ||
158 | bus-width = <4>; | ||
159 | cap-power-off-card; | ||
160 | }; | ||
161 | |||
162 | &omap3_pmx_core { | ||
163 | gpio_key_pins: pinmux_gpio_key_pins { | ||
164 | pinctrl-single,pins = < | ||
165 | OMAP3_CORE1_IOPAD(0x212e, PIN_INPUT_PULLUP | MUX_MODE4) /* cam_xclkb.gpio_111 / uP_GPIO_3*/ | ||
166 | >; | ||
167 | }; | ||
168 | |||
169 | led_pins: pinmux_led_pins { | ||
170 | pinctrl-single,pins = < | ||
171 | OMAP3_CORE1_IOPAD(0x215e, PIN_OUTPUT_PULLUP | MUX_MODE4) /* sdmmc2_dat1.gpio_133 / uP_GPIO_0 */ | ||
172 | >; | ||
173 | }; | ||
174 | |||
175 | lan9221_pins: pinmux_lan9221_pins { | ||
176 | pinctrl-single,pins = < | ||
177 | OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152 */ | ||
178 | >; | ||
179 | }; | ||
180 | |||
181 | mmc1_pins: pinmux_mmc1_pins { | ||
182 | pinctrl-single,pins = < | ||
183 | OMAP3_CORE1_IOPAD(0x2144, PIN_OUTPUT | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */ | ||
184 | OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */ | ||
185 | OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */ | ||
186 | OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */ | ||
187 | OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */ | ||
188 | OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ | ||
189 | OMAP3_CORE1_IOPAD(0x2132, PIN_INPUT_PULLUP | MUX_MODE4) /* cam_strobe.gpio_126 */ | ||
190 | OMAP3_CORE1_IOPAD(0x212c, PIN_INPUT_PULLUP | MUX_MODE4) /* cam_d11.gpio_110 */ | ||
191 | >; | ||
192 | }; | ||
193 | |||
194 | lcd_enable_pin: pinmux_lcd_enable_pin { | ||
195 | pinctrl-single,pins = < | ||
196 | OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE4) /* mcbsp4_fs.gpio_155 */ | ||
197 | >; | ||
198 | }; | ||
199 | |||
200 | dss_dpi_pins1: pinmux_dss_dpi_pins1 { | ||
201 | pinctrl-single,pins = < | ||
202 | OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_pclk.dss_pclk */ | ||
203 | OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_hsync.dss_hsync */ | ||
204 | OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_vsync.dss_vsync */ | ||
205 | OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_acbias.dss_acbias */ | ||
206 | |||
207 | OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data0.dss_data0 */ | ||
208 | OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data1.dss_data1 */ | ||
209 | OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data2.dss_data2 */ | ||
210 | OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data3.dss_data3 */ | ||
211 | OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data4.dss_data4 */ | ||
212 | OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data5.dss_data5 */ | ||
213 | OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data6.dss_data6 */ | ||
214 | OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data7.dss_data7 */ | ||
215 | OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data8.dss_data8 */ | ||
216 | OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data9.dss_data9 */ | ||
217 | OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data10.dss_data10 */ | ||
218 | OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data11.dss_data11 */ | ||
219 | OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data12.dss_data12 */ | ||
220 | OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data13.dss_data13 */ | ||
221 | OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data14.dss_data14 */ | ||
222 | OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0) /* dss_data15.dss_data15 */ | ||
223 | >; | ||
224 | }; | ||
225 | }; | ||
226 | |||
227 | &omap3_pmx_wkup { | ||
228 | led_pins_wkup: pinmux_led_pins_wkup { | ||
229 | pinctrl-single,pins = < | ||
230 | OMAP3_WKUP_IOPAD(0x2a24, PIN_OUTPUT_PULLUP | MUX_MODE4) /* jtag_emu0.gpio_11 / uP_GPIO_1 */ | ||
231 | >; | ||
232 | }; | ||
233 | |||
234 | backlight_pins: pinmux_backlight_pins { | ||
235 | pinctrl-single,pins = < | ||
236 | OMAP3_WKUP_IOPAD(0x2a16, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE4) /* sys_boot6.gpio_8 */ | ||
237 | >; | ||
238 | }; | ||
239 | }; | ||
240 | |||
241 | |||
242 | &uart1 { | ||
243 | interrupts-extended = <&intc 72 &omap3_pmx_core OMAP3_UART1_RX>; | ||
244 | }; | ||
245 | |||
246 | /* Wired to the tps65950 on the SOM, only the USB connector is on the devkit */ | ||
247 | &usb_otg_hs { | ||
248 | pinctrl-names = "default"; | ||
249 | pinctrl-0 = <&hsusb_otg_pins>; | ||
250 | interface-type = <0>; | ||
251 | usb-phy = <&usb2_phy>; | ||
252 | phys = <&usb2_phy>; | ||
253 | phy-names = "usb2-phy"; | ||
254 | mode = <3>; | ||
255 | power = <50>; | ||
256 | }; | ||