blob: 4416ddb559e4c5207ae9099b5c6d4a601c7c360c [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
Lokesh Vutla11e21912013-12-19 18:03:38 +05302/*
Alexander A. Klimov75f66812020-07-08 11:34:51 +02003 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
Lokesh Vutla11e21912013-12-19 18:03:38 +05304 */
5
6/* AM437x GP EVM */
7
8/dts-v1/;
9
10#include "am4372.dtsi"
11#include <dt-bindings/pinctrl/am43xx.h>
Sourav Poddarc540b472013-12-19 18:03:39 +053012#include <dt-bindings/pwm/pwm.h>
Sourav Poddar51724db2013-12-19 18:03:41 +053013#include <dt-bindings/gpio/gpio.h>
Lokesh Vutla11e21912013-12-19 18:03:38 +053014
15/ {
16 model = "TI AM437x GP EVM";
17 compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43";
Sourav Poddarc540b472013-12-19 18:03:39 +053018
Sathya Prakash M R0bacb522014-03-24 16:31:56 +053019 aliases {
20 display0 = &lcd0;
21 };
22
Lokesh Vutla24a1eb42017-01-18 09:33:24 +053023 chosen {
24 stdout-path = &uart0;
25 };
26
Peter Ujfalusi390810a2015-07-02 17:06:25 +030027 evm_v3_3d: fixedregulator-v3_3d {
Balaji T K506be3f2014-03-03 20:20:18 +053028 compatible = "regulator-fixed";
Peter Ujfalusi390810a2015-07-02 17:06:25 +030029 regulator-name = "evm_v3_3d";
Balaji T K506be3f2014-03-03 20:20:18 +053030 regulator-min-microvolt = <3300000>;
31 regulator-max-microvolt = <3300000>;
32 enable-active-high;
33 };
34
Dave Gerlachb2873bf2014-05-05 14:58:28 -050035 vtt_fixed: fixedregulator-vtt {
36 compatible = "regulator-fixed";
37 regulator-name = "vtt_fixed";
38 regulator-min-microvolt = <1500000>;
39 regulator-max-microvolt = <1500000>;
40 regulator-always-on;
41 regulator-boot-on;
42 enable-active-high;
43 gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
44 };
45
Eyal Reizerb6bbf592015-05-04 15:24:24 +030046 vmmcwl_fixed: fixedregulator-mmcwl {
47 compatible = "regulator-fixed";
48 regulator-name = "vmmcwl_fixed";
49 regulator-min-microvolt = <1800000>;
50 regulator-max-microvolt = <1800000>;
51 gpio = <&gpio1 20 GPIO_ACTIVE_HIGH>;
52 enable-active-high;
53 };
54
Peter Ujfalusifdc223c2017-12-15 14:09:32 +020055 lcd_bl: backlight {
Sourav Poddarc540b472013-12-19 18:03:39 +053056 compatible = "pwm-backlight";
57 pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
58 brightness-levels = <0 51 53 56 62 75 101 152 255>;
59 default-brightness-level = <8>;
60 };
Sourav Poddar51724db2013-12-19 18:03:41 +053061
Javier Martinez Canillas18ad99d2016-08-01 12:46:57 -040062 matrix_keypad: matrix_keypad0 {
Sourav Poddar51724db2013-12-19 18:03:41 +053063 compatible = "gpio-matrix-keypad";
64 debounce-delay-ms = <5>;
65 col-scan-delay-us = <2>;
66
Dave Gerlach6a156a02018-11-07 10:34:19 +053067 pinctrl-names = "default", "sleep";
68 pinctrl-0 = <&matrix_keypad_default>;
69 pinctrl-1 = <&matrix_keypad_sleep>;
70
Sudeep Hollaa4aaf122018-12-21 18:12:20 +000071 wakeup-source;
Dave Gerlach6a156a02018-11-07 10:34:19 +053072
73 row-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH /* Bank0, pin3 */
Sourav Poddar51724db2013-12-19 18:03:41 +053074 &gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */
75 &gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */
76
77 col-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */
78 &gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */
79
80 linux,keymap = <0x00000201 /* P1 */
81 0x00010202 /* P2 */
82 0x01000067 /* UP */
83 0x0101006a /* RIGHT */
84 0x02000069 /* LEFT */
85 0x0201006c>; /* DOWN */
86 };
Sathya Prakash M R0bacb522014-03-24 16:31:56 +053087
88 lcd0: display {
Tomi Valkeinenc6b16762019-11-14 11:39:48 +020089 compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
Sathya Prakash M R0bacb522014-03-24 16:31:56 +053090 label = "lcd";
91
Peter Ujfalusifdc223c2017-12-15 14:09:32 +020092 backlight = <&lcd_bl>;
93
Sathya Prakash M R0bacb522014-03-24 16:31:56 +053094 port {
95 lcd_in: endpoint {
96 remote-endpoint = <&dpi_out>;
97 };
98 };
99 };
Lad, Prabhakar3aa59202015-03-12 23:38:21 +0000100
101 /* fixed 12MHz oscillator */
102 refclk: oscillator {
103 #clock-cells = <0>;
104 compatible = "fixed-clock";
105 clock-frequency = <12000000>;
106 };
107
Keerthyfff51e72015-08-18 15:11:14 +0530108 /* fixed 32k external oscillator clock */
109 clk_32k_rtc: clk_32k_rtc {
110 #clock-cells = <0>;
111 compatible = "fixed-clock";
112 clock-frequency = <32768>;
113 };
114
Javier Martinez Canillas4e8603e2016-04-01 16:20:21 -0400115 sound0: sound0 {
Peter Ujfalusicf9a4852015-07-02 17:06:28 +0300116 compatible = "simple-audio-card";
117 simple-audio-card,name = "AM437x-GP-EVM";
118 simple-audio-card,widgets =
119 "Headphone", "Headphone Jack",
120 "Line", "Line In";
121 simple-audio-card,routing =
122 "Headphone Jack", "HPLOUT",
123 "Headphone Jack", "HPROUT",
124 "LINE1L", "Line In",
125 "LINE1R", "Line In";
126 simple-audio-card,format = "dsp_b";
127 simple-audio-card,bitclock-master = <&sound0_master>;
128 simple-audio-card,frame-master = <&sound0_master>;
129 simple-audio-card,bitclock-inversion;
130
131 simple-audio-card,cpu {
132 sound-dai = <&mcasp1>;
133 system-clock-frequency = <12000000>;
134 };
135
136 sound0_master: simple-audio-card,codec {
137 sound-dai = <&tlv320aic3106>;
138 system-clock-frequency = <12000000>;
139 };
140 };
Faiz Abbas092976e2017-06-20 10:39:21 +0530141
142 beeper: beeper {
143 compatible = "gpio-beeper";
144 pinctrl-names = "default";
Keerthy0ec47be2018-11-07 10:34:20 +0530145 pinctrl-0 = <&beeper_pins_default>;
146 pinctrl-1 = <&beeper_pins_sleep>;
Faiz Abbas092976e2017-06-20 10:39:21 +0530147 gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
148 };
Lokesh Vutla11e21912013-12-19 18:03:38 +0530149};
150
151&am43xx_pinmux {
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300152 pinctrl-names = "default", "sleep";
Dave Gerlach7235ed12018-11-07 10:34:17 +0530153 pinctrl-0 = <&wlan_pins_default &ddr3_vtt_toggle_default &unused_pins &debugss_pins>;
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300154 pinctrl-1 = <&wlan_pins_sleep>;
155
Dave Gerlach865852a2018-11-07 10:34:15 +0530156 ddr3_vtt_toggle_default: ddr_vtt_toggle_default {
157 pinctrl-single,pins = <
158 0x25C (DS0_PULL_UP_DOWN_EN | PIN_OUTPUT_PULLUP | DS0_FORCE_OFF_MODE | MUX_MODE7) /* spi0_cs0.gpio5_7 */
159 >;
160 };
161
Lokesh Vutla11e21912013-12-19 18:03:38 +0530162 i2c0_pins: i2c0_pins {
163 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300164 AM4372_IOPAD(0x988, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */
165 AM4372_IOPAD(0x98c, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */
Lokesh Vutla11e21912013-12-19 18:03:38 +0530166 >;
167 };
168
169 i2c1_pins: i2c1_pins {
170 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300171 AM4372_IOPAD(0x95c, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_cs0.i2c1_scl */
172 AM4372_IOPAD(0x958, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_d1.i2c1_sda */
Lokesh Vutla11e21912013-12-19 18:03:38 +0530173 >;
174 };
Sourav Poddarc540b472013-12-19 18:03:39 +0530175
Balaji T K506be3f2014-03-03 20:20:18 +0530176 mmc1_pins: pinmux_mmc1_pins {
177 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300178 AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
Balaji T K506be3f2014-03-03 20:20:18 +0530179 >;
180 };
181
Sourav Poddarc540b472013-12-19 18:03:39 +0530182 ecap0_pins: backlight_pins {
183 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300184 AM4372_IOPAD(0x964, MUX_MODE0) /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
Sourav Poddarc540b472013-12-19 18:03:39 +0530185 >;
186 };
Sekhar Nori0ebc1e22014-04-30 15:43:25 +0300187
188 pixcir_ts_pins: pixcir_ts_pins {
189 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300190 AM4372_IOPAD(0xa64, PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_d0.gpio3_22 */
Sekhar Nori0ebc1e22014-04-30 15:43:25 +0300191 >;
192 };
Mugunthan V N7b25bab2014-05-13 14:14:31 +0530193
194 cpsw_default: cpsw_default {
195 pinctrl-single,pins = <
196 /* Slave 1 */
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300197 AM4372_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_txen */
198 AM4372_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rxctl */
199 AM4372_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_txd3 */
200 AM4372_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_txd2 */
201 AM4372_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_txd1 */
202 AM4372_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_txd0 */
203 AM4372_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rmii1_tclk */
204 AM4372_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rmii1_rclk */
205 AM4372_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rxd3 */
206 AM4372_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rxd2 */
207 AM4372_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rxd1 */
208 AM4372_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rxd0 */
Mugunthan V N7b25bab2014-05-13 14:14:31 +0530209 >;
210 };
211
212 cpsw_sleep: cpsw_sleep {
213 pinctrl-single,pins = <
214 /* Slave 1 reset value */
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300215 AM4372_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
216 AM4372_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
217 AM4372_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7)
218 AM4372_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7)
219 AM4372_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
220 AM4372_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
221 AM4372_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7)
222 AM4372_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7)
223 AM4372_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7)
224 AM4372_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7)
225 AM4372_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
226 AM4372_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
Mugunthan V N7b25bab2014-05-13 14:14:31 +0530227 >;
228 };
229
230 davinci_mdio_default: davinci_mdio_default {
231 pinctrl-single,pins = <
232 /* MDIO */
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300233 AM4372_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
234 AM4372_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
Mugunthan V N7b25bab2014-05-13 14:14:31 +0530235 >;
236 };
237
238 davinci_mdio_sleep: davinci_mdio_sleep {
239 pinctrl-single,pins = <
240 /* MDIO reset value */
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300241 AM4372_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
242 AM4372_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
Mugunthan V N7b25bab2014-05-13 14:14:31 +0530243 >;
244 };
Pekon Gupta99ffa642014-05-19 14:45:46 +0530245
246 nand_flash_x8: nand_flash_x8 {
247 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300248 AM4372_IOPAD(0x800, PIN_INPUT | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */
249 AM4372_IOPAD(0x804, PIN_INPUT | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */
250 AM4372_IOPAD(0x808, PIN_INPUT | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */
251 AM4372_IOPAD(0x80c, PIN_INPUT | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */
252 AM4372_IOPAD(0x810, PIN_INPUT | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */
253 AM4372_IOPAD(0x814, PIN_INPUT | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */
254 AM4372_IOPAD(0x818, PIN_INPUT | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */
255 AM4372_IOPAD(0x81c, PIN_INPUT | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */
256 AM4372_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */
257 AM4372_IOPAD(0x874, PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpmc_wpn */
258 AM4372_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */
259 AM4372_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */
260 AM4372_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */
261 AM4372_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */
262 AM4372_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */
Pekon Gupta99ffa642014-05-19 14:45:46 +0530263 >;
264 };
Sathya Prakash M R0bacb522014-03-24 16:31:56 +0530265
266 dss_pins: dss_pins {
267 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300268 AM4372_IOPAD(0x820, PIN_OUTPUT_PULLUP | MUX_MODE1) /*gpmc ad 8 -> DSS DATA 23 */
269 AM4372_IOPAD(0x824, PIN_OUTPUT_PULLUP | MUX_MODE1)
270 AM4372_IOPAD(0x828, PIN_OUTPUT_PULLUP | MUX_MODE1)
271 AM4372_IOPAD(0x82c, PIN_OUTPUT_PULLUP | MUX_MODE1)
272 AM4372_IOPAD(0x830, PIN_OUTPUT_PULLUP | MUX_MODE1)
273 AM4372_IOPAD(0x834, PIN_OUTPUT_PULLUP | MUX_MODE1)
274 AM4372_IOPAD(0x838, PIN_OUTPUT_PULLUP | MUX_MODE1)
275 AM4372_IOPAD(0x83c, PIN_OUTPUT_PULLUP | MUX_MODE1) /*gpmc ad 15 -> DSS DATA 16 */
276 AM4372_IOPAD(0x8a0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 0 */
277 AM4372_IOPAD(0x8a4, PIN_OUTPUT_PULLUP | MUX_MODE0)
278 AM4372_IOPAD(0x8a8, PIN_OUTPUT_PULLUP | MUX_MODE0)
279 AM4372_IOPAD(0x8ac, PIN_OUTPUT_PULLUP | MUX_MODE0)
280 AM4372_IOPAD(0x8b0, PIN_OUTPUT_PULLUP | MUX_MODE0)
281 AM4372_IOPAD(0x8b4, PIN_OUTPUT_PULLUP | MUX_MODE0)
282 AM4372_IOPAD(0x8b8, PIN_OUTPUT_PULLUP | MUX_MODE0)
283 AM4372_IOPAD(0x8bc, PIN_OUTPUT_PULLUP | MUX_MODE0)
284 AM4372_IOPAD(0x8c0, PIN_OUTPUT_PULLUP | MUX_MODE0)
285 AM4372_IOPAD(0x8c4, PIN_OUTPUT_PULLUP | MUX_MODE0)
286 AM4372_IOPAD(0x8c8, PIN_OUTPUT_PULLUP | MUX_MODE0)
287 AM4372_IOPAD(0x8cc, PIN_OUTPUT_PULLUP | MUX_MODE0)
288 AM4372_IOPAD(0x8d0, PIN_OUTPUT_PULLUP | MUX_MODE0)
289 AM4372_IOPAD(0x8d4, PIN_OUTPUT_PULLUP | MUX_MODE0)
290 AM4372_IOPAD(0x8d8, PIN_OUTPUT_PULLUP | MUX_MODE0)
291 AM4372_IOPAD(0x8dc, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 15 */
292 AM4372_IOPAD(0x8e0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS VSYNC */
293 AM4372_IOPAD(0x8e4, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS HSYNC */
294 AM4372_IOPAD(0x8e8, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS PCLK */
295 AM4372_IOPAD(0x8ec, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS AC BIAS EN */
Sathya Prakash M R0bacb522014-03-24 16:31:56 +0530296
297 >;
298 };
299
Peter Ujfalusi593113e2015-07-02 17:06:24 +0300300 display_mux_pins: display_mux_pins {
Sathya Prakash M R0bacb522014-03-24 16:31:56 +0530301 pinctrl-single,pins = <
302 /* GPIO 5_8 to select LCD / HDMI */
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300303 AM4372_IOPAD(0xa38, PIN_OUTPUT_PULLUP | MUX_MODE7)
Sathya Prakash M R0bacb522014-03-24 16:31:56 +0530304 >;
305 };
Mugunthan V N4b1ce232014-07-18 11:29:11 +0530306
307 dcan0_default: dcan0_default_pins {
308 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300309 AM4372_IOPAD(0x978, PIN_OUTPUT | MUX_MODE2) /* uart1_ctsn.d_can0_tx */
310 AM4372_IOPAD(0x97c, PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_rtsn.d_can0_rx */
Mugunthan V N4b1ce232014-07-18 11:29:11 +0530311 >;
312 };
313
Roger Quadrosf95b1062015-08-18 17:01:57 +0300314 dcan0_sleep: dcan0_sleep_pins {
315 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300316 AM4372_IOPAD(0x978, PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_ctsn.gpio0_12 */
317 AM4372_IOPAD(0x97c, PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_rtsn.gpio0_13 */
Roger Quadrosf95b1062015-08-18 17:01:57 +0300318 >;
319 };
320
Mugunthan V N4b1ce232014-07-18 11:29:11 +0530321 dcan1_default: dcan1_default_pins {
322 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300323 AM4372_IOPAD(0x980, PIN_OUTPUT | MUX_MODE2) /* uart1_rxd.d_can1_tx */
324 AM4372_IOPAD(0x984, PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_txd.d_can1_rx */
Mugunthan V N4b1ce232014-07-18 11:29:11 +0530325 >;
326 };
Benoit Parrotc788a7f2014-12-18 21:54:14 +0530327
Roger Quadrosf95b1062015-08-18 17:01:57 +0300328 dcan1_sleep: dcan1_sleep_pins {
329 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300330 AM4372_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_rxd.gpio0_14 */
331 AM4372_IOPAD(0x984, PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_txd.gpio0_15 */
Roger Quadrosf95b1062015-08-18 17:01:57 +0300332 >;
333 };
334
Benoit Parrotc788a7f2014-12-18 21:54:14 +0530335 vpfe0_pins_default: vpfe0_pins_default {
336 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300337 AM4372_IOPAD(0x9b0, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_hd mode 0*/
338 AM4372_IOPAD(0x9b4, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_vd mode 0*/
339 AM4372_IOPAD(0x9c0, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_pclk mode 0*/
340 AM4372_IOPAD(0x9c4, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data8 mode 0*/
341 AM4372_IOPAD(0x9c8, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data9 mode 0*/
342 AM4372_IOPAD(0xa08, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data0 mode 0*/
343 AM4372_IOPAD(0xa0c, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data1 mode 0*/
344 AM4372_IOPAD(0xa10, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data2 mode 0*/
345 AM4372_IOPAD(0xa14, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data3 mode 0*/
346 AM4372_IOPAD(0xa18, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data4 mode 0*/
347 AM4372_IOPAD(0xa1c, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data5 mode 0*/
348 AM4372_IOPAD(0xa20, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data6 mode 0*/
349 AM4372_IOPAD(0xa24, PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data7 mode 0*/
Benoit Parrotc788a7f2014-12-18 21:54:14 +0530350 >;
351 };
352
353 vpfe0_pins_sleep: vpfe0_pins_sleep {
354 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300355 AM4372_IOPAD(0x9b0, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_hd mode 0*/
356 AM4372_IOPAD(0x9b4, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_vd mode 0*/
357 AM4372_IOPAD(0x9c0, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_pclk mode 0*/
358 AM4372_IOPAD(0x9c4, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data8 mode 0*/
359 AM4372_IOPAD(0x9c8, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data9 mode 0*/
360 AM4372_IOPAD(0xa08, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data0 mode 0*/
361 AM4372_IOPAD(0xa0c, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data1 mode 0*/
362 AM4372_IOPAD(0xa10, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data2 mode 0*/
363 AM4372_IOPAD(0xa14, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data3 mode 0*/
364 AM4372_IOPAD(0xa18, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data4 mode 0*/
365 AM4372_IOPAD(0xa1c, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data5 mode 0*/
366 AM4372_IOPAD(0xa20, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data6 mode 0*/
367 AM4372_IOPAD(0xa24, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data7 mode 0*/
Benoit Parrotc788a7f2014-12-18 21:54:14 +0530368 >;
369 };
370
371 vpfe1_pins_default: vpfe1_pins_default {
372 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300373 AM4372_IOPAD(0x9cc, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data9 mode 0*/
374 AM4372_IOPAD(0x9d0, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data8 mode 0*/
375 AM4372_IOPAD(0x9d4, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_hd mode 0*/
376 AM4372_IOPAD(0x9d8, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_vd mode 0*/
377 AM4372_IOPAD(0x9dC, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_pclk mode 0*/
378 AM4372_IOPAD(0x9e8, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data0 mode 0*/
379 AM4372_IOPAD(0x9ec, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data1 mode 0*/
380 AM4372_IOPAD(0x9f0, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data2 mode 0*/
381 AM4372_IOPAD(0x9f4, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data3 mode 0*/
382 AM4372_IOPAD(0x9f8, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data4 mode 0*/
383 AM4372_IOPAD(0x9fc, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data5 mode 0*/
384 AM4372_IOPAD(0xa00, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data6 mode 0*/
385 AM4372_IOPAD(0xa04, PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data7 mode 0*/
Benoit Parrotc788a7f2014-12-18 21:54:14 +0530386 >;
387 };
388
389 vpfe1_pins_sleep: vpfe1_pins_sleep {
390 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300391 AM4372_IOPAD(0x9cc, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data9 mode 0*/
392 AM4372_IOPAD(0x9d0, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data8 mode 0*/
393 AM4372_IOPAD(0x9d4, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_hd mode 0*/
394 AM4372_IOPAD(0x9d8, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_vd mode 0*/
395 AM4372_IOPAD(0x9dc, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_pclk mode 0*/
396 AM4372_IOPAD(0x9e8, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data0 mode 0*/
397 AM4372_IOPAD(0x9ec, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data1 mode 0*/
398 AM4372_IOPAD(0x9f0, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data2 mode 0*/
399 AM4372_IOPAD(0x9f4, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data3 mode 0*/
400 AM4372_IOPAD(0x9f8, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data4 mode 0*/
401 AM4372_IOPAD(0x9fc, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data5 mode 0*/
402 AM4372_IOPAD(0xa00, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data6 mode 0*/
403 AM4372_IOPAD(0xa04, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data7 mode 0*/
Benoit Parrotc788a7f2014-12-18 21:54:14 +0530404 >;
405 };
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300406
407 mmc3_pins_default: pinmux_mmc3_pins_default {
408 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300409 AM4372_IOPAD(0x88c, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_clk.mmc2_clk */
410 AM4372_IOPAD(0x888, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_csn3.mmc2_cmd */
411 AM4372_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a1.mmc2_dat0 */
412 AM4372_IOPAD(0x848, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a2.mmc2_dat1 */
413 AM4372_IOPAD(0x84c, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a3.mmc2_dat2 */
414 AM4372_IOPAD(0x878, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_be1n.mmc2_dat3 */
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300415 >;
416 };
417
418 mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
419 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300420 AM4372_IOPAD(0x88c, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_clk.mmc2_clk */
421 AM4372_IOPAD(0x888, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn3.mmc2_cmd */
422 AM4372_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a1.mmc2_dat0 */
423 AM4372_IOPAD(0x848, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a2.mmc2_dat1 */
424 AM4372_IOPAD(0x84c, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a3.mmc2_dat2 */
425 AM4372_IOPAD(0x878, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_be1n.mmc2_dat3 */
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300426 >;
427 };
428
429 wlan_pins_default: pinmux_wlan_pins_default {
430 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300431 AM4372_IOPAD(0x850, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a4.gpio1_20 WL_EN */
432 AM4372_IOPAD(0x85c, PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7) /* gpmc_a7.gpio1_23 WL_IRQ*/
433 AM4372_IOPAD(0x840, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a0.gpio1_16 BT_EN*/
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300434 >;
435 };
436
437 wlan_pins_sleep: pinmux_wlan_pins_sleep {
438 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300439 AM4372_IOPAD(0x850, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a4.gpio1_20 WL_EN */
440 AM4372_IOPAD(0x85c, PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7) /* gpmc_a7.gpio1_23 WL_IRQ*/
441 AM4372_IOPAD(0x840, PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_a0.gpio1_16 BT_EN*/
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300442 >;
443 };
444
445 uart3_pins: uart3_pins {
446 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300447 AM4372_IOPAD(0xa28, PIN_INPUT | MUX_MODE0) /* uart3_rxd.uart3_rxd */
448 AM4372_IOPAD(0xa2c, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart3_txd.uart3_txd */
449 AM4372_IOPAD(0xa30, PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_ctsn.uart3_ctsn */
450 AM4372_IOPAD(0xa34, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart3_rtsn.uart3_rtsn */
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300451 >;
452 };
Peter Ujfalusid3d92af2015-07-02 17:06:27 +0300453
454 mcasp1_pins: mcasp1_pins {
455 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300456 AM4372_IOPAD(0x908, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */
457 AM4372_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
458 AM4372_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */
459 AM4372_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
Peter Ujfalusid3d92af2015-07-02 17:06:27 +0300460 >;
461 };
462
463 mcasp1_sleep_pins: mcasp1_sleep_pins {
464 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300465 AM4372_IOPAD(0x908, PIN_INPUT_PULLDOWN | MUX_MODE7)
466 AM4372_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE7)
467 AM4372_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE7)
468 AM4372_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7)
Peter Ujfalusid3d92af2015-07-02 17:06:27 +0300469 >;
470 };
Roger Quadros50336f52015-08-04 18:34:59 +0300471
472 gpio0_pins: gpio0_pins {
473 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300474 AM4372_IOPAD(0xa6c, PIN_OUTPUT | MUX_MODE9) /* spi2_cs0.gpio0_23 SEL_eMMCorNANDn */
Roger Quadros50336f52015-08-04 18:34:59 +0300475 >;
476 };
Roger Quadroseb157c82015-08-04 18:35:00 +0300477
478 emmc_pins_default: emmc_pins_default {
479 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300480 AM4372_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
481 AM4372_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
482 AM4372_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
483 AM4372_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
484 AM4372_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */
485 AM4372_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */
486 AM4372_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */
487 AM4372_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */
488 AM4372_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
489 AM4372_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
Roger Quadroseb157c82015-08-04 18:35:00 +0300490 >;
491 };
492
493 emmc_pins_sleep: emmc_pins_sleep {
494 pinctrl-single,pins = <
Javier Martinez Canillas596bad72015-11-13 01:53:54 -0300495 AM4372_IOPAD(0x800, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad0.gpio1_0 */
496 AM4372_IOPAD(0x804, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad1.gpio1_1 */
497 AM4372_IOPAD(0x808, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad2.gpio1_2 */
498 AM4372_IOPAD(0x80c, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad3.gpio1_3 */
499 AM4372_IOPAD(0x810, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */
500 AM4372_IOPAD(0x814, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */
501 AM4372_IOPAD(0x818, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */
502 AM4372_IOPAD(0x81c, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */
503 AM4372_IOPAD(0x880, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.gpio1_30 */
504 AM4372_IOPAD(0x884, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn2.gpio1_31 */
Roger Quadroseb157c82015-08-04 18:35:00 +0300505 >;
506 };
Vignesh Rbb7d9782017-03-22 21:06:34 +0530507
Keerthy0ec47be2018-11-07 10:34:20 +0530508 beeper_pins_default: beeper_pins_default {
Faiz Abbas092976e2017-06-20 10:39:21 +0530509 pinctrl-single,pins = <
510 AM4372_IOPAD(0x9e0, PIN_OUTPUT_PULLUP | MUX_MODE7) /* cam1_field.gpio4_12 */
511 >;
512 };
513
Keerthy0ec47be2018-11-07 10:34:20 +0530514 beeper_pins_sleep: beeper_pins_sleep {
515 pinctrl-single,pins = <
516 AM4372_IOPAD(0x9e0, PIN_INPUT_PULLDOWN | MUX_MODE7) /* cam1_field.gpio4_12 */
517 >;
518 };
519
Dave Gerlach88f527d2018-11-07 10:34:16 +0530520 unused_pins: unused_pins {
521 pinctrl-single,pins = <
522 AM4372_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7)
523 AM4372_IOPAD(0x858, PIN_INPUT_PULLDOWN | MUX_MODE7)
524 AM4372_IOPAD(0x860, PIN_INPUT_PULLDOWN | MUX_MODE7)
525 AM4372_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE7)
526 AM4372_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7)
527 AM4372_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE7)
528 AM4372_IOPAD(0x950, PIN_INPUT_PULLDOWN | MUX_MODE7)
529 AM4372_IOPAD(0x990, PIN_INPUT_PULLDOWN | MUX_MODE7)
530 AM4372_IOPAD(0x994, PIN_INPUT_PULLDOWN | MUX_MODE7)
531 AM4372_IOPAD(0x998, PIN_INPUT_PULLDOWN | MUX_MODE7)
532 AM4372_IOPAD(0x99c, PIN_INPUT_PULLDOWN | MUX_MODE7)
533 AM4372_IOPAD(0x9a0, PIN_INPUT_PULLDOWN | MUX_MODE7)
534 AM4372_IOPAD(0xa3c, PIN_INPUT | PULL_DISABLE | MUX_MODE7)
535 AM4372_IOPAD(0xa40, PIN_INPUT_PULLDOWN | MUX_MODE7)
536 AM4372_IOPAD(0xa44, PIN_INPUT_PULLDOWN | MUX_MODE7)
537 AM4372_IOPAD(0xa48, PIN_INPUT_PULLDOWN | MUX_MODE7)
538 AM4372_IOPAD(0xa4c, PIN_INPUT_PULLDOWN | MUX_MODE7)
539 AM4372_IOPAD(0xa50, PIN_INPUT_PULLDOWN | MUX_MODE7)
540 AM4372_IOPAD(0xa54, PIN_INPUT | PULL_DISABLE | MUX_MODE7)
541 AM4372_IOPAD(0xa58, PIN_INPUT_PULLDOWN | MUX_MODE7)
542 AM4372_IOPAD(0xa60, PIN_INPUT | PULL_DISABLE | MUX_MODE7)
543 AM4372_IOPAD(0xa68, PIN_INPUT_PULLDOWN | MUX_MODE7)
544 AM4372_IOPAD(0xa70, PIN_INPUT_PULLDOWN | MUX_MODE7)
545 AM4372_IOPAD(0xa78, PIN_INPUT_PULLDOWN | MUX_MODE7)
546 AM4372_IOPAD(0xa7c, PIN_INPUT | PULL_DISABLE)
547 AM4372_IOPAD(0xac8, PIN_INPUT_PULLDOWN)
548 AM4372_IOPAD(0xad4, PIN_INPUT_PULLDOWN)
549 AM4372_IOPAD(0xad8, PIN_INPUT_PULLDOWN | MUX_MODE7)
550 AM4372_IOPAD(0xadc, PIN_INPUT_PULLDOWN | MUX_MODE7)
551 AM4372_IOPAD(0xae0, PIN_INPUT_PULLDOWN | MUX_MODE7)
552 AM4372_IOPAD(0xae4, PIN_INPUT_PULLDOWN | MUX_MODE7)
553 AM4372_IOPAD(0xae8, PIN_INPUT_PULLDOWN | MUX_MODE7)
554 AM4372_IOPAD(0xaec, PIN_INPUT_PULLDOWN | MUX_MODE7)
555 AM4372_IOPAD(0xaf0, PIN_INPUT_PULLDOWN | MUX_MODE7)
556 AM4372_IOPAD(0xaf4, PIN_INPUT_PULLDOWN | MUX_MODE7)
557 AM4372_IOPAD(0xaf8, PIN_INPUT_PULLDOWN | MUX_MODE7)
558 AM4372_IOPAD(0xafc, PIN_INPUT_PULLDOWN | MUX_MODE7)
559 AM4372_IOPAD(0xb00, PIN_INPUT_PULLDOWN | MUX_MODE7)
560 AM4372_IOPAD(0xb04, PIN_INPUT_PULLDOWN | MUX_MODE7)
561 AM4372_IOPAD(0xb08, PIN_INPUT_PULLDOWN | MUX_MODE7)
562 AM4372_IOPAD(0xb0c, PIN_INPUT_PULLDOWN | MUX_MODE7)
563 AM4372_IOPAD(0xb10, PIN_INPUT_PULLDOWN | MUX_MODE7)
564 AM4372_IOPAD(0xb14, PIN_INPUT_PULLDOWN | MUX_MODE7)
565 AM4372_IOPAD(0xb18, PIN_INPUT_PULLDOWN | MUX_MODE7)
566 >;
567 };
Dave Gerlach7235ed12018-11-07 10:34:17 +0530568
569 debugss_pins: pinmux_debugss_pins {
570 pinctrl-single,pins = <
571 AM4372_IOPAD(0xa90, PIN_INPUT_PULLDOWN)
572 AM4372_IOPAD(0xa94, PIN_INPUT_PULLDOWN)
573 AM4372_IOPAD(0xa98, PIN_INPUT_PULLDOWN)
574 AM4372_IOPAD(0xa9c, PIN_INPUT_PULLDOWN)
575 AM4372_IOPAD(0xaa0, PIN_INPUT_PULLDOWN)
576 AM4372_IOPAD(0xaa4, PIN_INPUT_PULLDOWN)
577 AM4372_IOPAD(0xaa8, PIN_INPUT_PULLDOWN)
578 >;
579 };
Dave Gerlach74fe9bf2018-11-07 10:34:18 +0530580
581 uart0_pins_default: uart0_pins_default {
582 pinctrl-single,pins = <
583 AM4372_IOPAD(0x968, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE0) /* uart0_ctsn.uart0_ctsn */
584 AM4372_IOPAD(0x96C, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE0) /* uart0_rtsn.uart0_rtsn */
585 AM4372_IOPAD(0x970, PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_rxd.uart0_rxd */
586 AM4372_IOPAD(0x974, PIN_INPUT | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_txd.uart0_txd */
587 >;
588 };
589
590 uart0_pins_sleep: uart0_pins_sleep {
591 pinctrl-single,pins = <
592 AM4372_IOPAD(0x968, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* uart0_ctsn.uart0_ctsn */
593 AM4372_IOPAD(0x96C, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* uart0_rtsn.uart0_rtsn */
594 AM4372_IOPAD(0x970, PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_rxd.uart0_rxd */
595 AM4372_IOPAD(0x974, PIN_INPUT_PULLDOWN | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_txd.uart0_txd */
596 >;
597 };
Dave Gerlach6a156a02018-11-07 10:34:19 +0530598
599 matrix_keypad_default: matrix_keypad_default {
600 pinctrl-single,pins = <
601 AM4372_IOPAD(0x9a4, PIN_OUTPUT | MUX_MODE7)
602 AM4372_IOPAD(0x9a8, PIN_OUTPUT | MUX_MODE7)
603 AM4372_IOPAD(0x9ac, PIN_INPUT | PULL_DISABLE | MUX_MODE9)
604 AM4372_IOPAD(0x954, PIN_INPUT_PULLDOWN | MUX_MODE0)
605 >;
606 };
607
608 matrix_keypad_sleep: matrix_keypad_sleep {
609 pinctrl-single,pins = <
610 AM4372_IOPAD(0x9a4, PULL_UP | MUX_MODE7)
611 AM4372_IOPAD(0x9a8, PULL_UP | MUX_MODE7)
612 AM4372_IOPAD(0x9ac, PIN_INPUT | PULL_DISABLE | MUX_MODE9)
613 AM4372_IOPAD(0x954, PIN_INPUT_PULLDOWN | MUX_MODE0)
614 >;
615 };
Vignesh Rbb7d9782017-03-22 21:06:34 +0530616};
617
618&uart0 {
619 status = "okay";
Dave Gerlach74fe9bf2018-11-07 10:34:18 +0530620 pinctrl-names = "default", "sleep";
Vignesh Rbb7d9782017-03-22 21:06:34 +0530621 pinctrl-0 = <&uart0_pins_default>;
Dave Gerlach74fe9bf2018-11-07 10:34:18 +0530622 pinctrl-1 = <&uart0_pins_sleep>;
Lokesh Vutla11e21912013-12-19 18:03:38 +0530623};
624
625&i2c0 {
Keerthy1fc98142014-07-09 11:06:31 +0530626 status = "okay";
627 pinctrl-names = "default";
628 pinctrl-0 = <&i2c0_pins>;
Nishanth Menon93166412014-09-03 13:46:21 -0500629 clock-frequency = <100000>;
Keerthy0e2da5e2014-07-09 11:06:32 +0530630
631 tps65218: tps65218@24 {
632 reg = <0x24>;
633 compatible = "ti,tps65218";
Peter Ujfalusief0ff0a2018-05-08 16:20:50 +0300634 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* NMIn */
Keerthy0e2da5e2014-07-09 11:06:32 +0530635 interrupt-controller;
636 #interrupt-cells = <2>;
637
638 dcdc1: regulator-dcdc1 {
Keerthy0e2da5e2014-07-09 11:06:32 +0530639 regulator-name = "vdd_core";
640 regulator-min-microvolt = <912000>;
641 regulator-max-microvolt = <1144000>;
642 regulator-boot-on;
643 regulator-always-on;
644 };
645
646 dcdc2: regulator-dcdc2 {
Keerthy0e2da5e2014-07-09 11:06:32 +0530647 regulator-name = "vdd_mpu";
648 regulator-min-microvolt = <912000>;
649 regulator-max-microvolt = <1378000>;
650 regulator-boot-on;
651 regulator-always-on;
652 };
653
654 dcdc3: regulator-dcdc3 {
Keerthy0e2da5e2014-07-09 11:06:32 +0530655 regulator-name = "vdcdc3";
Keerthy0e2da5e2014-07-09 11:06:32 +0530656 regulator-boot-on;
657 regulator-always-on;
Keerthy1bc5e132016-08-11 10:57:48 +0530658 regulator-state-mem {
659 regulator-on-in-suspend;
660 };
Tero Kristo7ec32992016-08-11 10:57:49 +0530661 regulator-state-disk {
662 regulator-off-in-suspend;
663 };
Keerthy0e2da5e2014-07-09 11:06:32 +0530664 };
Keerthy1bc5e132016-08-11 10:57:48 +0530665
Keerthy0e2da5e2014-07-09 11:06:32 +0530666 dcdc5: regulator-dcdc5 {
Keerthy0e2da5e2014-07-09 11:06:32 +0530667 regulator-name = "v1_0bat";
668 regulator-min-microvolt = <1000000>;
669 regulator-max-microvolt = <1000000>;
Dave Gerlach1e9f7472015-08-05 16:19:46 +0530670 regulator-boot-on;
671 regulator-always-on;
Keerthy1bc5e132016-08-11 10:57:48 +0530672 regulator-state-mem {
673 regulator-on-in-suspend;
674 };
Keerthy0e2da5e2014-07-09 11:06:32 +0530675 };
676
677 dcdc6: regulator-dcdc6 {
Keerthy0e2da5e2014-07-09 11:06:32 +0530678 regulator-name = "v1_8bat";
679 regulator-min-microvolt = <1800000>;
680 regulator-max-microvolt = <1800000>;
Dave Gerlach1e9f7472015-08-05 16:19:46 +0530681 regulator-boot-on;
682 regulator-always-on;
Keerthy1bc5e132016-08-11 10:57:48 +0530683 regulator-state-mem {
684 regulator-on-in-suspend;
685 };
Keerthy0e2da5e2014-07-09 11:06:32 +0530686 };
687
688 ldo1: regulator-ldo1 {
Keerthy0e2da5e2014-07-09 11:06:32 +0530689 regulator-min-microvolt = <1800000>;
690 regulator-max-microvolt = <1800000>;
691 regulator-boot-on;
692 regulator-always-on;
693 };
694 };
Lad, Prabhakar3aa59202015-03-12 23:38:21 +0000695
696 ov2659@30 {
697 compatible = "ovti,ov2659";
698 reg = <0x30>;
699
700 clocks = <&refclk 0>;
701 clock-names = "xvclk";
702
703 port {
704 ov2659_0: endpoint {
705 remote-endpoint = <&vpfe1_ep>;
706 link-frequencies = /bits/ 64 <70000000>;
707 };
708 };
709 };
Lokesh Vutla11e21912013-12-19 18:03:38 +0530710};
711
712&i2c1 {
Keerthy1fc98142014-07-09 11:06:31 +0530713 status = "okay";
714 pinctrl-names = "default";
715 pinctrl-0 = <&i2c1_pins>;
Sekhar Nori0ebc1e22014-04-30 15:43:25 +0300716 pixcir_ts@5c {
717 compatible = "pixcir,pixcir_tangoc";
718 pinctrl-names = "default";
719 pinctrl-0 = <&pixcir_ts_pins>;
720 reg = <0x5c>;
Sekhar Nori0ebc1e22014-04-30 15:43:25 +0300721
722 attb-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
723
Vignesh Rf513d222015-10-14 19:24:25 +0530724 /*
725 * 0x264 represents the offset of padconf register of
726 * gpio3_22 from am43xx_pinmux base.
727 */
Grygorii Strashko95e7d032015-12-28 15:52:39 +0200728 interrupts-extended = <&gpio3 22 IRQ_TYPE_EDGE_FALLING>,
Vignesh Rf513d222015-10-14 19:24:25 +0530729 <&am43xx_pinmux 0x264>;
730 interrupt-names = "tsc", "wakeup";
731
Roger Quadrosf0486152014-07-28 10:11:37 -0700732 touchscreen-size-x = <1024>;
733 touchscreen-size-y = <600>;
Vignesh Rf513d222015-10-14 19:24:25 +0530734 wakeup-source;
Sekhar Nori0ebc1e22014-04-30 15:43:25 +0300735 };
Lad, Prabhakar3aa59202015-03-12 23:38:21 +0000736
737 ov2659@30 {
738 compatible = "ovti,ov2659";
739 reg = <0x30>;
740
741 clocks = <&refclk 0>;
742 clock-names = "xvclk";
743
744 port {
745 ov2659_1: endpoint {
746 remote-endpoint = <&vpfe0_ep>;
747 link-frequencies = /bits/ 64 <70000000>;
748 };
749 };
750 };
Peter Ujfalusi6076b152015-07-02 17:06:26 +0300751
752 tlv320aic3106: tlv320aic3106@1b {
Peter Ujfalusicf9a4852015-07-02 17:06:28 +0300753 #sound-dai-cells = <0>;
Peter Ujfalusi6076b152015-07-02 17:06:26 +0300754 compatible = "ti,tlv320aic3106";
755 reg = <0x1b>;
756 status = "okay";
757
758 /* Regulators */
759 IOVDD-supply = <&evm_v3_3d>; /* V3_3D -> <tps63031> EN: V1_8D -> VBAT */
760 AVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */
761 DRVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */
762 DVDD-supply = <&ldo1>; /* V1_8D -> LDO1 */
763 };
Lokesh Vutla11e21912013-12-19 18:03:38 +0530764};
Sourav Poddarc540b472013-12-19 18:03:39 +0530765
766&epwmss0 {
767 status = "okay";
768};
769
Vignesh R0f39f7b2014-11-21 15:44:22 +0530770&tscadc {
771 status = "okay";
772
773 adc {
774 ti,adc-channels = <0 1 2 3 4 5 6 7>;
775 };
776};
777
Miquel Raynal6fde7192021-11-26 15:24:13 +0100778&magadc {
779 status = "okay";
780
781 adc {
782 ti,adc-channels = <0 1 2 3 4 5 6 7>;
783 };
784};
785
Sourav Poddarc540b472013-12-19 18:03:39 +0530786&ecap0 {
787 status = "okay";
788 pinctrl-names = "default";
789 pinctrl-0 = <&ecap0_pins>;
790};
Sourav Poddard3d46cc2013-12-19 18:03:40 +0530791
Balaji T K506be3f2014-03-03 20:20:18 +0530792&gpio0 {
Roger Quadros50336f52015-08-04 18:34:59 +0300793 pinctrl-names = "default";
794 pinctrl-0 = <&gpio0_pins>;
Balaji T K506be3f2014-03-03 20:20:18 +0530795 status = "okay";
Roger Quadros50336f52015-08-04 18:34:59 +0300796
Grygorii Strashkobd551ac2021-05-25 20:58:55 +0300797 sel-emmc-nand-hog {
Roger Quadros50336f52015-08-04 18:34:59 +0300798 gpio-hog;
799 gpios = <23 GPIO_ACTIVE_HIGH>;
800 /* SelEMMCorNAND selects between eMMC and NAND:
801 * Low: NAND
802 * High: eMMC
803 * When changing this line make sure the newly
804 * selected device node is enabled and the previously
805 * selected device node is disabled.
806 */
807 output-low;
808 line-name = "SelEMMCorNAND";
809 };
Balaji T K506be3f2014-03-03 20:20:18 +0530810};
811
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300812&gpio1 {
813 status = "okay";
814};
815
Sourav Poddard3d46cc2013-12-19 18:03:40 +0530816&gpio3 {
817 status = "okay";
818};
819
820&gpio4 {
821 status = "okay";
822};
Balaji T K506be3f2014-03-03 20:20:18 +0530823
Grygorii Strashko2566d5b2021-05-22 01:24:10 +0300824&gpio5_target {
825 ti,no-reset-on-init;
826};
827
Dave Gerlach1ff3859e2014-03-21 10:50:13 +0530828&gpio5 {
Peter Ujfalusi593113e2015-07-02 17:06:24 +0300829 pinctrl-names = "default";
830 pinctrl-0 = <&display_mux_pins>;
Dave Gerlach1ff3859e2014-03-21 10:50:13 +0530831 status = "okay";
Peter Ujfalusi593113e2015-07-02 17:06:24 +0300832
Grygorii Strashkobd551ac2021-05-25 20:58:55 +0300833 sel-lcd-hdmi-hog {
Peter Ujfalusi593113e2015-07-02 17:06:24 +0300834 /*
835 * SelLCDorHDMI selects between display and audio paths:
836 * Low: HDMI display with audio via HDMI
837 * High: LCD display with analog audio via aic3111 codec
838 */
839 gpio-hog;
840 gpios = <8 GPIO_ACTIVE_HIGH>;
841 output-high;
842 line-name = "SelLCDorHDMI";
843 };
Dave Gerlach1ff3859e2014-03-21 10:50:13 +0530844};
845
Balaji T K506be3f2014-03-03 20:20:18 +0530846&mmc1 {
847 status = "okay";
Peter Ujfalusi390810a2015-07-02 17:06:25 +0300848 vmmc-supply = <&evm_v3_3d>;
Balaji T K506be3f2014-03-03 20:20:18 +0530849 bus-width = <4>;
850 pinctrl-names = "default";
851 pinctrl-0 = <&mmc1_pins>;
Mugunthan V N0731cbd2015-10-12 14:37:11 +0530852 cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
Balaji T K506be3f2014-03-03 20:20:18 +0530853};
George Cherianb5820d32014-03-19 15:40:02 +0530854
Roger Quadroseb157c82015-08-04 18:35:00 +0300855/* eMMC sits on mmc2 */
856&mmc2 {
857 /*
858 * When enabling eMMC, disable GPMC/NAND and set
859 * SelEMMCorNAND to output-high
860 */
861 status = "disabled";
862 vmmc-supply = <&evm_v3_3d>;
863 bus-width = <8>;
864 pinctrl-names = "default", "sleep";
865 pinctrl-0 = <&emmc_pins_default>;
866 pinctrl-1 = <&emmc_pins_sleep>;
Faiz Abbas0b4edf12020-05-13 02:08:04 +0530867 non-removable;
Roger Quadroseb157c82015-08-04 18:35:00 +0300868};
869
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300870&mmc3 {
871 status = "okay";
872 /* these are on the crossbar and are outlined in the
873 xbar-event-map element */
Peter Ujfalusicce1ee02015-12-17 15:33:37 +0200874 dmas = <&edma_xbar 30 0 1>,
875 <&edma_xbar 31 0 2>;
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300876 dma-names = "tx", "rx";
877 vmmc-supply = <&vmmcwl_fixed>;
878 bus-width = <4>;
879 pinctrl-names = "default", "sleep";
880 pinctrl-0 = <&mmc3_pins_default>;
881 pinctrl-1 = <&mmc3_pins_sleep>;
882 cap-power-off-card;
883 keep-power-in-suspend;
Faiz Abbas0b4edf12020-05-13 02:08:04 +0530884 non-removable;
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300885
886 #address-cells = <1>;
887 #size-cells = <0>;
888 wlcore: wlcore@0 {
889 compatible = "ti,wl1835";
890 reg = <2>;
891 interrupt-parent = <&gpio1>;
Tony Lindgren572cf7d2018-07-02 23:57:20 -0700892 interrupts = <23 IRQ_TYPE_EDGE_RISING>;
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300893 };
894};
895
Eyal Reizerb6bbf592015-05-04 15:24:24 +0300896&uart3 {
897 status = "okay";
898 pinctrl-names = "default";
899 pinctrl-0 = <&uart3_pins>;
900};
901
George Cherianb5820d32014-03-19 15:40:02 +0530902&usb2_phy1 {
903 status = "okay";
904};
905
906&usb1 {
Roger Quadros54cab612018-03-16 13:11:43 +0200907 dr_mode = "otg";
George Cherianb5820d32014-03-19 15:40:02 +0530908 status = "okay";
909};
910
911&usb2_phy2 {
912 status = "okay";
913};
914
915&usb2 {
916 dr_mode = "host";
917 status = "okay";
918};
Mugunthan V N7b25bab2014-05-13 14:14:31 +0530919
Grygorii Strashkoaff7e502020-09-11 01:25:17 +0300920&mac_sw {
Mugunthan V N7b25bab2014-05-13 14:14:31 +0530921 pinctrl-names = "default", "sleep";
922 pinctrl-0 = <&cpsw_default>;
923 pinctrl-1 = <&cpsw_sleep>;
924 status = "okay";
925};
926
Grygorii Strashkoaff7e502020-09-11 01:25:17 +0300927&davinci_mdio_sw {
Mugunthan V N7b25bab2014-05-13 14:14:31 +0530928 pinctrl-names = "default", "sleep";
929 pinctrl-0 = <&davinci_mdio_default>;
930 pinctrl-1 = <&davinci_mdio_sleep>;
Grygorii Strashkocfd91db2018-09-10 17:57:44 -0500931
932 ethphy0: ethernet-phy@0 {
933 reg = <0>;
934 };
Mugunthan V N7b25bab2014-05-13 14:14:31 +0530935};
936
Grygorii Strashkoaff7e502020-09-11 01:25:17 +0300937&cpsw_port1 {
Grygorii Strashkocfd91db2018-09-10 17:57:44 -0500938 phy-handle = <&ethphy0>;
Grygorii Strashko2de00452020-05-07 18:12:44 +0300939 phy-mode = "rgmii-rxid";
Grygorii Strashkoaff7e502020-09-11 01:25:17 +0300940 ti,dual-emac-pvid = <1>;
941};
942
943&cpsw_port2 {
944 status = "disabled";
Mugunthan V N7b25bab2014-05-13 14:14:31 +0530945};
Pekon Gupta99ffa642014-05-19 14:45:46 +0530946
947&elm {
948 status = "okay";
949};
950
951&gpmc {
Roger Quadroseb157c82015-08-04 18:35:00 +0300952 /*
953 * When enabling GPMC, disable eMMC and set
954 * SelEMMCorNAND to output-low
955 */
Pekon Gupta99ffa642014-05-19 14:45:46 +0530956 status = "okay";
957 pinctrl-names = "default";
958 pinctrl-0 = <&nand_flash_x8>;
Roger Quadrosbe3f39c2016-02-23 18:37:19 +0200959 ranges = <0 0 0x08000000 0x01000000>; /* CS0 space. Min partition = 16MB */
Pekon Gupta99ffa642014-05-19 14:45:46 +0530960 nand@0,0 {
Roger Quadrosbe3f39c2016-02-23 18:37:19 +0200961 compatible = "ti,omap2-nand";
Pekon Gupta99ffa642014-05-19 14:45:46 +0530962 reg = <0 0 4>; /* device IO registers */
Roger Quadrosbe3f39c2016-02-23 18:37:19 +0200963 interrupt-parent = <&gpmc>;
964 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
965 <1 IRQ_TYPE_NONE>; /* termcount */
Roger Quadros99a41012016-04-07 13:25:38 +0300966 rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
Franklin S Cooper Jr78b02c32017-07-25 21:15:51 -0500967 ti,nand-xfer-type = "prefetch-dma";
Roger Quadros6b869112014-09-02 16:57:03 +0300968 ti,nand-ecc-opt = "bch16";
Pekon Gupta99ffa642014-05-19 14:45:46 +0530969 ti,elm-id = <&elm>;
970 nand-bus-width = <8>;
971 gpmc,device-width = <1>;
972 gpmc,sync-clk-ps = <0>;
973 gpmc,cs-on-ns = <0>;
974 gpmc,cs-rd-off-ns = <40>;
975 gpmc,cs-wr-off-ns = <40>;
976 gpmc,adv-on-ns = <0>;
977 gpmc,adv-rd-off-ns = <25>;
978 gpmc,adv-wr-off-ns = <25>;
979 gpmc,we-on-ns = <0>;
980 gpmc,we-off-ns = <20>;
981 gpmc,oe-on-ns = <3>;
982 gpmc,oe-off-ns = <30>;
983 gpmc,access-ns = <30>;
984 gpmc,rd-cycle-ns = <40>;
985 gpmc,wr-cycle-ns = <40>;
Pekon Gupta99ffa642014-05-19 14:45:46 +0530986 gpmc,bus-turnaround-ns = <0>;
987 gpmc,cycle2cycle-delay-ns = <0>;
988 gpmc,clk-activation-ns = <0>;
Pekon Gupta99ffa642014-05-19 14:45:46 +0530989 gpmc,wr-access-ns = <40>;
990 gpmc,wr-data-mux-bus-ns = <0>;
991 /* MTD partition table */
992 /* All SPL-* partitions are sized to minimal length
993 * which can be independently programmable. For
994 * NAND flash this is equal to size of erase-block */
995 #address-cells = <1>;
996 #size-cells = <1>;
997 partition@0 {
998 label = "NAND.SPL";
999 reg = <0x00000000 0x00040000>;
1000 };
1001 partition@1 {
1002 label = "NAND.SPL.backup1";
1003 reg = <0x00040000 0x00040000>;
1004 };
1005 partition@2 {
1006 label = "NAND.SPL.backup2";
1007 reg = <0x00080000 0x00040000>;
1008 };
1009 partition@3 {
1010 label = "NAND.SPL.backup3";
1011 reg = <0x000c0000 0x00040000>;
1012 };
1013 partition@4 {
1014 label = "NAND.u-boot-spl-os";
1015 reg = <0x00100000 0x00080000>;
1016 };
1017 partition@5 {
1018 label = "NAND.u-boot";
1019 reg = <0x00180000 0x00100000>;
1020 };
1021 partition@6 {
1022 label = "NAND.u-boot-env";
1023 reg = <0x00280000 0x00040000>;
1024 };
1025 partition@7 {
1026 label = "NAND.u-boot-env.backup1";
1027 reg = <0x002c0000 0x00040000>;
1028 };
1029 partition@8 {
1030 label = "NAND.kernel";
1031 reg = <0x00300000 0x00700000>;
1032 };
1033 partition@9 {
1034 label = "NAND.file-system";
1035 reg = <0x00a00000 0x1f600000>;
1036 };
1037 };
1038};
Sathya Prakash M R0bacb522014-03-24 16:31:56 +05301039
1040&dss {
Adrian Schmutzlerca6bfe92020-08-30 21:50:09 +02001041 status = "okay";
Sathya Prakash M R0bacb522014-03-24 16:31:56 +05301042
1043 pinctrl-names = "default";
1044 pinctrl-0 = <&dss_pins>;
1045
1046 port {
Javier Martinez Canillas7d304f72016-06-27 15:21:04 -04001047 dpi_out: endpoint {
Sathya Prakash M R0bacb522014-03-24 16:31:56 +05301048 remote-endpoint = <&lcd_in>;
1049 data-lines = <24>;
1050 };
1051 };
1052};
Mugunthan V N4b1ce232014-07-18 11:29:11 +05301053
1054&dcan0 {
Roger Quadrosf95b1062015-08-18 17:01:57 +03001055 pinctrl-names = "default", "sleep";
Mugunthan V N4b1ce232014-07-18 11:29:11 +05301056 pinctrl-0 = <&dcan0_default>;
Roger Quadrosf95b1062015-08-18 17:01:57 +03001057 pinctrl-1 = <&dcan0_sleep>;
Mugunthan V N4b1ce232014-07-18 11:29:11 +05301058 status = "okay";
1059};
1060
1061&dcan1 {
Roger Quadrosf95b1062015-08-18 17:01:57 +03001062 pinctrl-names = "default", "sleep";
Mugunthan V N4b1ce232014-07-18 11:29:11 +05301063 pinctrl-0 = <&dcan1_default>;
Roger Quadrosf95b1062015-08-18 17:01:57 +03001064 pinctrl-1 = <&dcan1_sleep>;
Mugunthan V N4b1ce232014-07-18 11:29:11 +05301065 status = "okay";
1066};
Benoit Parrotc788a7f2014-12-18 21:54:14 +05301067
1068&vpfe0 {
1069 status = "okay";
1070 pinctrl-names = "default", "sleep";
1071 pinctrl-0 = <&vpfe0_pins_default>;
1072 pinctrl-1 = <&vpfe0_pins_sleep>;
1073
1074 port {
1075 vpfe0_ep: endpoint {
Lad, Prabhakar3aa59202015-03-12 23:38:21 +00001076 remote-endpoint = <&ov2659_1>;
Benoit Parrotc788a7f2014-12-18 21:54:14 +05301077 ti,am437x-vpfe-interface = <0>;
1078 bus-width = <8>;
1079 hsync-active = <0>;
1080 vsync-active = <0>;
1081 };
1082 };
1083};
1084
1085&vpfe1 {
1086 status = "okay";
1087 pinctrl-names = "default", "sleep";
1088 pinctrl-0 = <&vpfe1_pins_default>;
1089 pinctrl-1 = <&vpfe1_pins_sleep>;
1090
1091 port {
1092 vpfe1_ep: endpoint {
Lad, Prabhakar3aa59202015-03-12 23:38:21 +00001093 remote-endpoint = <&ov2659_0>;
Benoit Parrotc788a7f2014-12-18 21:54:14 +05301094 ti,am437x-vpfe-interface = <0>;
1095 bus-width = <8>;
1096 hsync-active = <0>;
1097 vsync-active = <0>;
1098 };
1099 };
1100};
Peter Ujfalusid3d92af2015-07-02 17:06:27 +03001101
1102&mcasp1 {
Peter Ujfalusicf9a4852015-07-02 17:06:28 +03001103 #sound-dai-cells = <0>;
Peter Ujfalusid3d92af2015-07-02 17:06:27 +03001104 pinctrl-names = "default", "sleep";
1105 pinctrl-0 = <&mcasp1_pins>;
1106 pinctrl-1 = <&mcasp1_sleep_pins>;
1107
1108 status = "okay";
1109
1110 op-mode = <0>; /* MCASP_IIS_MODE */
1111 tdm-slots = <2>;
1112 /* 4 serializers */
1113 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1114 0 0 1 2
1115 >;
1116 tx-num-evt = <32>;
1117 rx-num-evt = <32>;
1118};
Keerthyfff51e72015-08-18 15:11:14 +05301119
1120&rtc {
1121 clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
1122 clock-names = "ext-clk", "int-clk";
1123 status = "okay";
1124};
Dave Gerlach2af84bd2016-05-18 18:36:30 -05001125
1126&cpu {
1127 cpu0-supply = <&dcdc2>;
1128};
Andrew F. Davis670be462021-07-29 17:46:19 -05001129
1130&pruss1_mdio {
1131 status = "disabled";
1132};