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";
28 device_type = "memory";
29 reg = <0x80000000 0x10000000>; /* 256 MB */
32 vbat: fixedregulator@0 {
33 compatible = "regulator-fixed";
34 regulator-name = "vbat";
35 regulator-min-microvolt = <5000000>;
36 regulator-max-microvolt = <5000000>;
40 vtt_fixed: fixedregulator@1 {
41 compatible = "regulator-fixed";
42 regulator-name = "vtt";
43 regulator-min-microvolt = <1500000>;
44 regulator-max-microvolt = <1500000>;
45 gpio = <&gpio0 18 GPIO_ACTIVE_HIGH>;
52 compatible = "gpio-leds";
56 gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
57 default-state = "off";
62 gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
63 default-state = "off";
68 gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
69 default-state = "off";
74 gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
75 default-state = "off";
80 gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
81 default-state = "off";
86 gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
87 default-state = "off";
92 gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
93 default-state = "off";
98 gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
99 default-state = "off";
103 /* Tricolor status LEDs */
105 compatible = "gpio-leds";
106 pinctrl-names = "default";
107 pinctrl-0 = <&user_leds>;
110 label = "status0:red:cpu0";
111 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
112 default-state = "off";
113 linux,default-trigger = "cpu0";
117 label = "status0:green:usr";
118 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
119 default-state = "off";
123 label = "status0:yellow:usr";
124 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
125 default-state = "off";
129 label = "status1:red:mmc0";
130 gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
131 default-state = "off";
132 linux,default-trigger = "mmc0";
136 label = "status1:green:usr";
137 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
138 default-state = "off";
142 label = "status1:yellow:usr";
143 gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
144 default-state = "off";
150 user_leds: user_leds {
151 pinctrl-single,pins = <
152 AM33XX_IOPAD(0x91c, PIN_OUTPUT | MUX_MODE7) /* (J18) gmii1_txd3.gpio0[16] */
153 AM33XX_IOPAD(0x920, PIN_OUTPUT | MUX_MODE7) /* (K15) gmii1_txd2.gpio0[17] */
154 AM33XX_IOPAD(0x9b0, PIN_OUTPUT | MUX_MODE7) /* (A15) xdma_event_intr0.gpio0[19] */
155 AM33XX_IOPAD(0x9b4, PIN_OUTPUT | MUX_MODE7) /* (D14) xdma_event_intr1.gpio0[20] */
156 AM33XX_IOPAD(0x880, PIN_OUTPUT | MUX_MODE7) /* (U9) gpmc_csn1.gpio1[30] */
157 AM33XX_IOPAD(0x92c, PIN_OUTPUT | MUX_MODE7) /* (K18) gmii1_txclk.gpio3[9] */
161 mmc0_pins_default: mmc0_pins_default {
162 pinctrl-single,pins = <
163 AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0) /* (F17) mmc0_dat3.mmc0_dat3 */
164 AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0) /* (F18) mmc0_dat2.mmc0_dat2 */
165 AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0) /* (G15) mmc0_dat1.mmc0_dat1 */
166 AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0) /* (G16) mmc0_dat0.mmc0_dat0 */
167 AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0) /* (G17) mmc0_clk.mmc0_clk */
168 AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* (G18) mmc0_cmd.mmc0_cmd */
169 AM33XX_IOPAD(0x960, PIN_INPUT_PULLUP | MUX_MODE5) /* (C15) spi0_cs1.mmc0_sdcd */
173 i2c0_pins_default: i2c0_pins_default {
174 pinctrl-single,pins = <
175 AM33XX_IOPAD(0x988, PIN_INPUT | MUX_MODE0) /* (C17) I2C0_SDA.I2C0_SDA */
176 AM33XX_IOPAD(0x98c, PIN_INPUT | MUX_MODE0) /* (C16) I2C0_SCL.I2C0_SCL */
180 spi0_pins_default: spi0_pins_default {
181 pinctrl-single,pins = <
182 AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE0) /* (A17) spi0_sclk.spi0_sclk */
183 AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE0) /* (B17) spi0_d0.spi0_d0 */
184 AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE0) /* (B16) spi0_d1.spi0_d1 */
185 AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE0) /* (A16) spi0_cs0.spi0_cs0 */
189 uart3_pins_default: uart3_pins_default {
190 pinctrl-single,pins = <
191 AM33XX_IOPAD(0x934, PIN_INPUT_PULLUP | MUX_MODE1) /* (L17) gmii1_rxd3.uart3_rxd */
192 AM33XX_IOPAD(0x938, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (L16) gmii1_rxd2.uart3_txd */
196 cpsw_default: cpsw_default {
197 pinctrl-single,pins = <
198 /* Slave 1, RMII mode */
199 AM33XX_IOPAD(0x90c, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_crs.rmii1_crs_dv */
200 AM33XX_IOPAD(0x944, (PIN_INPUT_PULLUP | MUX_MODE0)) /* rmii1_refclk.rmii1_refclk */
201 AM33XX_IOPAD(0x940, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_rxd0.rmii1_rxd0 */
202 AM33XX_IOPAD(0x93c, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_rxd1.rmii1_rxd1 */
203 AM33XX_IOPAD(0x910, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_rxerr.rmii1_rxerr */
204 AM33XX_IOPAD(0x928, (PIN_OUTPUT_PULLDOWN | MUX_MODE1)) /* mii1_txd0.rmii1_txd0 */
205 AM33XX_IOPAD(0x924, (PIN_OUTPUT_PULLDOWN | MUX_MODE1)) /* mii1_txd1.rmii1_txd1 */
206 AM33XX_IOPAD(0x914, (PIN_OUTPUT_PULLDOWN | MUX_MODE1)) /* mii1_txen.rmii1_txen */
207 /* Slave 2, RMII mode */
208 AM33XX_IOPAD(0x870, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_wait0.rmii2_crs_dv */
209 AM33XX_IOPAD(0x908, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_col.rmii2_refclk */
210 AM33XX_IOPAD(0x86c, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_a11.rmii2_rxd0 */
211 AM33XX_IOPAD(0x868, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_a10.rmii2_rxd1 */
212 AM33XX_IOPAD(0x874, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_wpn.rmii2_rxerr */
213 AM33XX_IOPAD(0x854, (PIN_OUTPUT_PULLDOWN | MUX_MODE3)) /* gpmc_a5.rmii2_txd0 */
214 AM33XX_IOPAD(0x850, (PIN_OUTPUT_PULLDOWN | MUX_MODE3)) /* gpmc_a4.rmii2_txd1 */
215 AM33XX_IOPAD(0x840, (PIN_OUTPUT_PULLDOWN | MUX_MODE3)) /* gpmc_a0.rmii2_txen */
219 cpsw_sleep: cpsw_sleep {
220 pinctrl-single,pins = <
221 /* Slave 1 reset value */
222 AM33XX_IOPAD(0x90c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
223 AM33XX_IOPAD(0x944, (PIN_INPUT_PULLDOWN | MUX_MODE7))
224 AM33XX_IOPAD(0x940, (PIN_INPUT_PULLDOWN | MUX_MODE7))
225 AM33XX_IOPAD(0x93c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
226 AM33XX_IOPAD(0x910, (PIN_INPUT_PULLDOWN | MUX_MODE7))
227 AM33XX_IOPAD(0x928, (PIN_INPUT_PULLDOWN | MUX_MODE7))
228 AM33XX_IOPAD(0x924, (PIN_INPUT_PULLDOWN | MUX_MODE7))
229 AM33XX_IOPAD(0x914, (PIN_INPUT_PULLDOWN | MUX_MODE7))
231 /* Slave 2 reset value */
232 AM33XX_IOPAD(0x870, (PIN_INPUT_PULLDOWN | MUX_MODE7))
233 AM33XX_IOPAD(0x908, (PIN_INPUT_PULLDOWN | MUX_MODE7))
234 AM33XX_IOPAD(0x86c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
235 AM33XX_IOPAD(0x868, (PIN_INPUT_PULLDOWN | MUX_MODE7))
236 AM33XX_IOPAD(0x874, (PIN_INPUT_PULLDOWN | MUX_MODE7))
237 AM33XX_IOPAD(0x854, (PIN_INPUT_PULLDOWN | MUX_MODE7))
238 AM33XX_IOPAD(0x850, (PIN_INPUT_PULLDOWN | MUX_MODE7))
239 AM33XX_IOPAD(0x840, (PIN_INPUT_PULLDOWN | MUX_MODE7))
243 davinci_mdio_default: davinci_mdio_default {
244 pinctrl-single,pins = <
246 AM33XX_IOPAD(0x948, (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)) /* mdio_data.mdio_data */
247 AM33XX_IOPAD(0x94c, (PIN_OUTPUT_PULLUP | MUX_MODE0)) /* mdio_clk.mdio_clk */
251 davinci_mdio_sleep: davinci_mdio_sleep {
252 pinctrl-single,pins = <
253 /* MDIO reset value */
254 AM33XX_IOPAD(0x948, (PIN_INPUT_PULLDOWN | MUX_MODE7))
255 AM33XX_IOPAD(0x94c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
261 pinctrl-names = "default";
262 pinctrl-0 = <&i2c0_pins_default>;
265 clock-frequency = <400000>;
267 tps: power-controller@2d {
272 compatible = "ti,tpic2810";
279 #include "tps65910.dtsi"
282 vcc1-supply = <&vbat>;
283 vcc2-supply = <&vbat>;
284 vcc3-supply = <&vbat>;
285 vcc4-supply = <&vbat>;
286 vcc5-supply = <&vbat>;
287 vcc6-supply = <&vbat>;
288 vcc7-supply = <&vbat>;
289 vccio-supply = <&vbat>;
292 vrtc_reg: regulator@0 {
296 vio_reg: regulator@1 {
300 vdd1_reg: regulator@2 {
301 regulator-name = "vdd_mpu";
302 regulator-min-microvolt = <912500>;
303 regulator-max-microvolt = <1326000>;
308 vdd2_reg: regulator@3 {
309 regulator-name = "vdd_core";
310 regulator-min-microvolt = <912500>;
311 regulator-max-microvolt = <1144000>;
316 vdd3_reg: regulator@4 {
320 vdig1_reg: regulator@5 {
324 vdig2_reg: regulator@6 {
328 vpll_reg: regulator@7 {
332 vdac_reg: regulator@8 {
336 vaux1_reg: regulator@9 {
340 vaux2_reg: regulator@10 {
344 vaux33_reg: regulator@11 {
348 vmmc_reg: regulator@12 {
349 regulator-min-microvolt = <1800000>;
350 regulator-max-microvolt = <3300000>;
358 vmmc-supply = <&vmmc_reg>;
360 pinctrl-names = "default";
361 pinctrl-0 = <&mmc0_pins_default>;
365 /* Do not idle the GPIO used for holding the VTT regulator */
371 gpios = <7 GPIO_ACTIVE_HIGH>;
373 line-name = "FET_SWITCH_CTRL";
378 pinctrl-names = "default";
379 pinctrl-0 = <&uart3_pins_default>;
386 gpios = <4 GPIO_ACTIVE_HIGH>;
388 line-name = "PR1_MII_CTRL";
393 gpios = <10 GPIO_ACTIVE_HIGH>;
395 line-name = "MUX_MII_CTRL";
400 phy-handle = <ðphy0>;
402 dual_emac_res_vlan = <1>;
406 phy-handle = <ðphy1>;
408 dual_emac_res_vlan = <2>;
412 pinctrl-names = "default", "sleep";
413 pinctrl-0 = <&cpsw_default>;
414 pinctrl-1 = <&cpsw_sleep>;
424 pinctrl-names = "default", "sleep";
425 pinctrl-0 = <&davinci_mdio_default>;
426 pinctrl-1 = <&davinci_mdio_sleep>;
428 reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
429 reset-delay-us = <2>; /* PHY datasheet states 1uS min */
431 ethphy0: ethernet-phy@1 {
435 ethphy1: ethernet-phy@3 {
442 pinctrl-names = "default";
443 pinctrl-0 = <&spi0_pins_default>;
446 compatible = "pisosr-gpio";
450 load-gpios = <&gpio3 18 GPIO_ACTIVE_LOW>;
453 spi-max-frequency = <1000000>;
458 #address-cells = <1>;
460 compatible = "winbond,w25q64", "jedec,spi-nor";
461 spi-max-frequency = <80000000>;
466 label = "u-boot-spl";
473 reg = <0x80000 0x100000>;
478 label = "u-boot-env";
479 reg = <0x180000 0x20000>;
485 reg = <0x1A0000 0x660000>;