2 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
11 * http://www.ti.com/tool/tmdsice3359
16 #include "am33xx.dtsi"
19 model = "TI AM3359 ICE-V2";
20 compatible = "ti,am3359-icev2", "ti,am33xx";
23 device_type = "memory";
24 reg = <0x80000000 0x10000000>; /* 256 MB */
31 vbat: fixedregulator0 {
32 compatible = "regulator-fixed";
33 regulator-name = "vbat";
34 regulator-min-microvolt = <5000000>;
35 regulator-max-microvolt = <5000000>;
39 vtt_fixed: fixedregulator1 {
40 compatible = "regulator-fixed";
41 regulator-name = "vtt";
42 regulator-min-microvolt = <1500000>;
43 regulator-max-microvolt = <1500000>;
44 gpio = <&gpio0 18 GPIO_ACTIVE_HIGH>;
52 compatible = "gpio-leds";
55 gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
56 default-state = "off";
61 gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
62 default-state = "off";
67 gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
68 default-state = "off";
73 gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
74 default-state = "off";
79 gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
80 default-state = "off";
85 gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
86 default-state = "off";
91 gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
92 default-state = "off";
97 gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
98 default-state = "off";
102 /* Tricolor status LEDs */
104 compatible = "gpio-leds";
105 pinctrl-names = "default";
106 pinctrl-0 = <&user_leds>;
109 label = "status0:red:cpu0";
110 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
111 default-state = "off";
112 linux,default-trigger = "cpu0";
116 label = "status0:green:usr";
117 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
118 default-state = "off";
122 label = "status0:yellow:usr";
123 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
124 default-state = "off";
128 label = "status1:red:mmc0";
129 gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
130 default-state = "off";
131 linux,default-trigger = "mmc0";
135 label = "status1:green:usr";
136 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
137 default-state = "off";
141 label = "status1:yellow:usr";
142 gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
143 default-state = "off";
147 compatible = "gpio-decoder";
148 gpios = <&pca9536 3 GPIO_ACTIVE_HIGH>,
149 <&pca9536 2 GPIO_ACTIVE_HIGH>,
150 <&pca9536 1 GPIO_ACTIVE_HIGH>,
151 <&pca9536 0 GPIO_ACTIVE_HIGH>;
152 linux,axis = <0>; /* ABS_X */
153 decoder-max-value = <9>;
158 user_leds: user_leds {
159 pinctrl-single,pins = <
160 AM33XX_IOPAD(0x91c, PIN_OUTPUT | MUX_MODE7) /* (J18) gmii1_txd3.gpio0[16] */
161 AM33XX_IOPAD(0x920, PIN_OUTPUT | MUX_MODE7) /* (K15) gmii1_txd2.gpio0[17] */
162 AM33XX_IOPAD(0x9b0, PIN_OUTPUT | MUX_MODE7) /* (A15) xdma_event_intr0.gpio0[19] */
163 AM33XX_IOPAD(0x9b4, PIN_OUTPUT | MUX_MODE7) /* (D14) xdma_event_intr1.gpio0[20] */
164 AM33XX_IOPAD(0x880, PIN_OUTPUT | MUX_MODE7) /* (U9) gpmc_csn1.gpio1[30] */
165 AM33XX_IOPAD(0x92c, PIN_OUTPUT | MUX_MODE7) /* (K18) gmii1_txclk.gpio3[9] */
169 mmc0_pins_default: mmc0_pins_default {
170 pinctrl-single,pins = <
171 AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0) /* (F17) mmc0_dat3.mmc0_dat3 */
172 AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0) /* (F18) mmc0_dat2.mmc0_dat2 */
173 AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0) /* (G15) mmc0_dat1.mmc0_dat1 */
174 AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0) /* (G16) mmc0_dat0.mmc0_dat0 */
175 AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0) /* (G17) mmc0_clk.mmc0_clk */
176 AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* (G18) mmc0_cmd.mmc0_cmd */
180 i2c0_pins_default: i2c0_pins_default {
181 pinctrl-single,pins = <
182 AM33XX_IOPAD(0x988, PIN_INPUT | MUX_MODE0) /* (C17) I2C0_SDA.I2C0_SDA */
183 AM33XX_IOPAD(0x98c, PIN_INPUT | MUX_MODE0) /* (C16) I2C0_SCL.I2C0_SCL */
187 spi0_pins_default: spi0_pins_default {
188 pinctrl-single,pins = <
189 AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE0) /* (A17) spi0_sclk.spi0_sclk */
190 AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE0) /* (B17) spi0_d0.spi0_d0 */
191 AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE0) /* (B16) spi0_d1.spi0_d1 */
192 AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE0) /* (A16) spi0_cs0.spi0_cs0 */
193 AM33XX_IOPAD(0x960, PIN_INPUT_PULLUP | MUX_MODE0) /* (C15) spi0_cs1.spi0_cs1 */
194 AM33XX_IOPAD(0x9a0, PIN_INPUT_PULLUP | MUX_MODE7) /* (B12) mcasp0_aclkr.gpio3[18] */
198 uart3_pins_default: uart3_pins_default {
199 pinctrl-single,pins = <
200 AM33XX_IOPAD(0x934, PIN_INPUT_PULLUP | MUX_MODE1) /* (L17) gmii1_rxd3.uart3_rxd */
201 AM33XX_IOPAD(0x938, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (L16) gmii1_rxd2.uart3_txd */
205 cpsw_default: cpsw_default {
206 pinctrl-single,pins = <
207 /* Slave 1, RMII mode */
208 AM33XX_IOPAD(0x90c, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_crs.rmii1_crs_dv */
209 AM33XX_IOPAD(0x944, (PIN_INPUT_PULLUP | MUX_MODE0)) /* rmii1_refclk.rmii1_refclk */
210 AM33XX_IOPAD(0x940, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_rxd0.rmii1_rxd0 */
211 AM33XX_IOPAD(0x93c, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_rxd1.rmii1_rxd1 */
212 AM33XX_IOPAD(0x910, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_rxerr.rmii1_rxerr */
213 AM33XX_IOPAD(0x928, (PIN_OUTPUT_PULLDOWN | MUX_MODE1)) /* mii1_txd0.rmii1_txd0 */
214 AM33XX_IOPAD(0x924, (PIN_OUTPUT_PULLDOWN | MUX_MODE1)) /* mii1_txd1.rmii1_txd1 */
215 AM33XX_IOPAD(0x914, (PIN_OUTPUT_PULLDOWN | MUX_MODE1)) /* mii1_txen.rmii1_txen */
216 /* Slave 2, RMII mode */
217 AM33XX_IOPAD(0x870, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_wait0.rmii2_crs_dv */
218 AM33XX_IOPAD(0x908, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_col.rmii2_refclk */
219 AM33XX_IOPAD(0x86c, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_a11.rmii2_rxd0 */
220 AM33XX_IOPAD(0x868, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_a10.rmii2_rxd1 */
221 AM33XX_IOPAD(0x874, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_wpn.rmii2_rxerr */
222 AM33XX_IOPAD(0x854, (PIN_OUTPUT_PULLDOWN | MUX_MODE3)) /* gpmc_a5.rmii2_txd0 */
223 AM33XX_IOPAD(0x850, (PIN_OUTPUT_PULLDOWN | MUX_MODE3)) /* gpmc_a4.rmii2_txd1 */
224 AM33XX_IOPAD(0x840, (PIN_OUTPUT_PULLDOWN | MUX_MODE3)) /* gpmc_a0.rmii2_txen */
228 cpsw_sleep: cpsw_sleep {
229 pinctrl-single,pins = <
230 /* Slave 1 reset value */
231 AM33XX_IOPAD(0x90c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
232 AM33XX_IOPAD(0x944, (PIN_INPUT_PULLDOWN | MUX_MODE7))
233 AM33XX_IOPAD(0x940, (PIN_INPUT_PULLDOWN | MUX_MODE7))
234 AM33XX_IOPAD(0x93c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
235 AM33XX_IOPAD(0x910, (PIN_INPUT_PULLDOWN | MUX_MODE7))
236 AM33XX_IOPAD(0x928, (PIN_INPUT_PULLDOWN | MUX_MODE7))
237 AM33XX_IOPAD(0x924, (PIN_INPUT_PULLDOWN | MUX_MODE7))
238 AM33XX_IOPAD(0x914, (PIN_INPUT_PULLDOWN | MUX_MODE7))
240 /* Slave 2 reset value */
241 AM33XX_IOPAD(0x870, (PIN_INPUT_PULLDOWN | MUX_MODE7))
242 AM33XX_IOPAD(0x908, (PIN_INPUT_PULLDOWN | MUX_MODE7))
243 AM33XX_IOPAD(0x86c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
244 AM33XX_IOPAD(0x868, (PIN_INPUT_PULLDOWN | MUX_MODE7))
245 AM33XX_IOPAD(0x874, (PIN_INPUT_PULLDOWN | MUX_MODE7))
246 AM33XX_IOPAD(0x854, (PIN_INPUT_PULLDOWN | MUX_MODE7))
247 AM33XX_IOPAD(0x850, (PIN_INPUT_PULLDOWN | MUX_MODE7))
248 AM33XX_IOPAD(0x840, (PIN_INPUT_PULLDOWN | MUX_MODE7))
252 davinci_mdio_default: davinci_mdio_default {
253 pinctrl-single,pins = <
255 AM33XX_IOPAD(0x948, (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)) /* mdio_data.mdio_data */
256 AM33XX_IOPAD(0x94c, (PIN_OUTPUT_PULLUP | MUX_MODE0)) /* mdio_clk.mdio_clk */
260 davinci_mdio_sleep: davinci_mdio_sleep {
261 pinctrl-single,pins = <
262 /* MDIO reset value */
263 AM33XX_IOPAD(0x948, (PIN_INPUT_PULLDOWN | MUX_MODE7))
264 AM33XX_IOPAD(0x94c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
270 pinctrl-names = "default";
271 pinctrl-0 = <&i2c0_pins_default>;
274 clock-frequency = <400000>;
276 tps: power-controller@2d {
281 compatible = "ti,tpic2810";
288 compatible = "ti,pca9536";
297 pinctrl-names = "default";
298 pinctrl-0 = <&spi0_pins_default>;
301 compatible = "pisosr-gpio";
305 load-gpios = <&gpio3 18 GPIO_ACTIVE_LOW>;
308 spi-max-frequency = <1000000>;
313 #address-cells = <1>;
315 compatible = "winbond,w25q64", "jedec,spi-nor";
316 spi-max-frequency = <80000000>;
321 label = "u-boot-spl";
328 reg = <0x80000 0x100000>;
333 label = "u-boot-env";
334 reg = <0x180000 0x20000>;
340 reg = <0x1A0000 0x660000>;
349 ti,adc-channels = <1 2 3 4 5 6 7>;
353 #include "tps65910.dtsi"
356 vcc1-supply = <&vbat>;
357 vcc2-supply = <&vbat>;
358 vcc3-supply = <&vbat>;
359 vcc4-supply = <&vbat>;
360 vcc5-supply = <&vbat>;
361 vcc6-supply = <&vbat>;
362 vcc7-supply = <&vbat>;
363 vccio-supply = <&vbat>;
366 vrtc_reg: regulator@0 {
370 vio_reg: regulator@1 {
374 vdd1_reg: regulator@2 {
375 regulator-name = "vdd_mpu";
376 regulator-min-microvolt = <912500>;
377 regulator-max-microvolt = <1326000>;
382 vdd2_reg: regulator@3 {
383 regulator-name = "vdd_core";
384 regulator-min-microvolt = <912500>;
385 regulator-max-microvolt = <1144000>;
390 vdd3_reg: regulator@4 {
394 vdig1_reg: regulator@5 {
398 vdig2_reg: regulator@6 {
402 vpll_reg: regulator@7 {
406 vdac_reg: regulator@8 {
410 vaux1_reg: regulator@9 {
414 vaux2_reg: regulator@10 {
418 vaux33_reg: regulator@11 {
422 vmmc_reg: regulator@12 {
423 regulator-min-microvolt = <1800000>;
424 regulator-max-microvolt = <3300000>;
432 vmmc-supply = <&vmmc_reg>;
434 pinctrl-names = "default";
435 pinctrl-0 = <&mmc0_pins_default>;
439 /* Do not idle the GPIO used for holding the VTT regulator */
445 pinctrl-names = "default";
446 pinctrl-0 = <&uart3_pins_default>;
453 gpios = <4 GPIO_ACTIVE_HIGH>;
455 line-name = "PR1_MII_CTRL";
460 gpios = <10 GPIO_ACTIVE_HIGH>;
461 /* ETH1 mux: Low for MII-PRU, high for RMII-CPSW */
463 line-name = "MUX_MII_CTL1";
468 phy-handle = <ðphy0>;
470 dual_emac_res_vlan = <1>;
474 phy-handle = <ðphy1>;
476 dual_emac_res_vlan = <2>;
480 pinctrl-names = "default", "sleep";
481 pinctrl-0 = <&cpsw_default>;
482 pinctrl-1 = <&cpsw_sleep>;
492 pinctrl-names = "default", "sleep";
493 pinctrl-0 = <&davinci_mdio_default>;
494 pinctrl-1 = <&davinci_mdio_sleep>;
496 reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
497 reset-delay-us = <2>; /* PHY datasheet states 1uS min */
499 ethphy0: ethernet-phy@1 {
503 ethphy1: ethernet-phy@3 {