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 */
207 pinctrl-names = "default";
208 pinctrl-0 = <&i2c0_pins_default>;
211 clock-frequency = <400000>;
213 tps: power-controller@2d {
218 compatible = "ti,tpic2810";
225 compatible = "ti,pca9536";
234 pinctrl-names = "default";
235 pinctrl-0 = <&spi0_pins_default>;
238 compatible = "pisosr-gpio";
242 load-gpios = <&gpio3 18 GPIO_ACTIVE_LOW>;
245 spi-max-frequency = <1000000>;
253 ti,adc-channels = <1 2 3 4 5 6 7>;
257 #include "tps65910.dtsi"
260 vcc1-supply = <&vbat>;
261 vcc2-supply = <&vbat>;
262 vcc3-supply = <&vbat>;
263 vcc4-supply = <&vbat>;
264 vcc5-supply = <&vbat>;
265 vcc6-supply = <&vbat>;
266 vcc7-supply = <&vbat>;
267 vccio-supply = <&vbat>;
270 vrtc_reg: regulator@0 {
274 vio_reg: regulator@1 {
278 vdd1_reg: regulator@2 {
279 regulator-name = "vdd_mpu";
280 regulator-min-microvolt = <912500>;
281 regulator-max-microvolt = <1326000>;
286 vdd2_reg: regulator@3 {
287 regulator-name = "vdd_core";
288 regulator-min-microvolt = <912500>;
289 regulator-max-microvolt = <1144000>;
294 vdd3_reg: regulator@4 {
298 vdig1_reg: regulator@5 {
302 vdig2_reg: regulator@6 {
306 vpll_reg: regulator@7 {
310 vdac_reg: regulator@8 {
314 vaux1_reg: regulator@9 {
318 vaux2_reg: regulator@10 {
322 vaux33_reg: regulator@11 {
326 vmmc_reg: regulator@12 {
327 regulator-min-microvolt = <1800000>;
328 regulator-max-microvolt = <3300000>;
336 vmmc-supply = <&vmmc_reg>;
338 pinctrl-names = "default";
339 pinctrl-0 = <&mmc0_pins_default>;
343 /* Do not idle the GPIO used for holding the VTT regulator */
349 pinctrl-names = "default";
350 pinctrl-0 = <&uart3_pins_default>;