2 * Copyright (C) 2012 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.
14 #include "am33xx.dtsi"
15 #include <dt-bindings/pwm/pwm.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
19 compatible = "vscom,onrisc", "ti,am33xx";
23 cpu0-supply = <&vdd1_reg>;
28 device_type = "memory";
29 reg = <0x80000000 0x10000000>; /* 256 MB */
32 vbat: fixedregulator0 {
33 compatible = "regulator-fixed";
34 regulator-name = "vbat";
35 regulator-min-microvolt = <5000000>;
36 regulator-max-microvolt = <5000000>;
40 wl12xx_vmmc: fixedregulator2 {
41 pinctrl-names = "default";
42 pinctrl-0 = <&wl12xx_gpio>;
43 compatible = "regulator-fixed";
44 regulator-name = "vwl1271";
45 regulator-min-microvolt = <3300000>;
46 regulator-max-microvolt = <3300000>;
48 startup-delay-us = <70000>;
54 mmc2_pins: pinmux_mmc2_pins {
55 pinctrl-single,pins = <
56 AM33XX_IOPAD(0x820, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad8.mmc1_dat0_mux0 */
57 AM33XX_IOPAD(0x824, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad9.mmc1_dat1_mux0 */
58 AM33XX_IOPAD(0x828, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad10.mmc1_dat2_mux0 */
59 AM33XX_IOPAD(0x82c, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad11.mmc1_dat3_mux0 */
60 AM33XX_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk_mux0 */
61 AM33XX_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd_mux0 */
62 AM33XX_IOPAD(0x9e4, PIN_INPUT_PULLUP | MUX_MODE7) /* emu0.gpio3[7] */
66 wl12xx_gpio: pinmux_wl12xx_gpio {
67 pinctrl-single,pins = <
68 AM33XX_IOPAD(0x9e8, PIN_OUTPUT_PULLUP | MUX_MODE7) /* emu1.gpio3[8] */
72 tps65910_pins: pinmux_tps65910_pins {
73 pinctrl-single,pins = <
74 AM33XX_IOPAD(0x878, PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ben1.gpio1[28] */
78 i2c1_pins: pinmux_i2c1_pins {
79 pinctrl-single,pins = <
80 AM33XX_IOPAD(0x958, PIN_INPUT | MUX_MODE2) /* spi0_d1.i2c1_sda_mux3 */
81 AM33XX_IOPAD(0x95c, PIN_INPUT | MUX_MODE2) /* spi0_cs0.i2c1_scl_mux3 */
85 uart0_pins: pinmux_uart0_pins {
86 pinctrl-single,pins = <
87 AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
88 AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
92 cpsw_default: cpsw_default {
93 pinctrl-single,pins = <
95 AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_crs.rmii1_crs_dv */
96 AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_tx_en.rmii1_txen */
97 AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd1.rmii1_txd1 */
98 AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd0.rmii1_txd0 */
99 AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxd1.rmii1_rxd1 */
100 AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxd0.rmii1_rxd0 */
101 AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii1_ref_clk.rmii1_refclk */
105 AM33XX_IOPAD(0x840, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a0.rgmii2_tctl */
106 AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a1.rgmii2_rctl */
107 AM33XX_IOPAD(0x848, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a2.rgmii2_td3 */
108 AM33XX_IOPAD(0x84c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a3.rgmii2_td2 */
109 AM33XX_IOPAD(0x850, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a4.rgmii2_td1 */
110 AM33XX_IOPAD(0x854, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a5.rgmii2_td0 */
111 AM33XX_IOPAD(0x858, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a6.rgmii2_tclk */
112 AM33XX_IOPAD(0x85c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a7.rgmii2_rclk */
113 AM33XX_IOPAD(0x860, PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a8.rgmii2_rd3 */
114 AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a9.rgmii2_rd2 */
115 AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a10.rgmii2_rd1 */
116 AM33XX_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a11.rgmii2_rd0 */
120 cpsw_sleep: cpsw_sleep {
121 pinctrl-single,pins = <
122 /* Slave 1 reset value */
123 AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE7)
124 AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
125 AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
126 AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
127 AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
128 AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
129 AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7)
131 /* Slave 2 reset value*/
132 AM33XX_IOPAD(0x840, PIN_INPUT_PULLDOWN | MUX_MODE7)
133 AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE7)
134 AM33XX_IOPAD(0x848, PIN_INPUT_PULLDOWN | MUX_MODE7)
135 AM33XX_IOPAD(0x84c, PIN_INPUT_PULLDOWN | MUX_MODE7)
136 AM33XX_IOPAD(0x850, PIN_INPUT_PULLDOWN | MUX_MODE7)
137 AM33XX_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7)
138 AM33XX_IOPAD(0x858, PIN_INPUT_PULLDOWN | MUX_MODE7)
139 AM33XX_IOPAD(0x85c, PIN_INPUT_PULLDOWN | MUX_MODE7)
140 AM33XX_IOPAD(0x860, PIN_INPUT_PULLDOWN | MUX_MODE7)
141 AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE7)
142 AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7)
143 AM33XX_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE7)
147 davinci_mdio_default: davinci_mdio_default {
148 pinctrl-single,pins = <
150 AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
151 AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
155 davinci_mdio_sleep: davinci_mdio_sleep {
156 pinctrl-single,pins = <
157 /* MDIO reset value */
158 AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
159 AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
163 nandflash_pins_s0: nandflash_pins_s0 {
164 pinctrl-single,pins = <
165 AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */
166 AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */
167 AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */
168 AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */
169 AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */
170 AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */
171 AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */
172 AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */
173 AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */
174 AM33XX_IOPAD(0x874, PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_30 */
175 AM33XX_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */
176 AM33XX_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */
177 AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */
178 AM33XX_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */
179 AM33XX_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */
189 pinctrl-names = "default";
190 pinctrl-0 = <&nandflash_pins_s0>;
191 ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */
195 compatible = "ti,omap2-nand";
196 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
197 interrupt-parent = <&gpmc>;
198 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
199 <1 IRQ_TYPE_NONE>; /* termcount */
200 rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
201 nand-bus-width = <8>;
202 ti,nand-ecc-opt = "bch8";
203 ti,nand-xfer-type = "polled";
205 gpmc,device-nand = "true";
206 gpmc,device-width = <1>;
207 gpmc,sync-clk-ps = <0>;
209 gpmc,cs-rd-off-ns = <44>;
210 gpmc,cs-wr-off-ns = <44>;
211 gpmc,adv-on-ns = <6>;
212 gpmc,adv-rd-off-ns = <34>;
213 gpmc,adv-wr-off-ns = <44>;
215 gpmc,we-off-ns = <40>;
217 gpmc,oe-off-ns = <54>;
218 gpmc,access-ns = <64>;
219 gpmc,rd-cycle-ns = <82>;
220 gpmc,wr-cycle-ns = <82>;
221 gpmc,bus-turnaround-ns = <0>;
222 gpmc,cycle2cycle-delay-ns = <0>;
223 gpmc,clk-activation-ns = <0>;
224 gpmc,wr-access-ns = <40>;
225 gpmc,wr-data-mux-bus-ns = <0>;
227 #address-cells = <1>;
234 pinctrl-names = "default";
235 pinctrl-0 = <&uart0_pins>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&i2c1_pins>;
245 clock-frequency = <400000>;
251 interrupt-parent = <&gpio1>;
252 interrupts = <28 IRQ_TYPE_EDGE_RISING>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&tps65910_pins>;
258 compatible = "atmel,24c02";
276 #include "tps65910.dtsi"
279 vcc1-supply = <&vbat>;
280 vcc2-supply = <&vbat>;
281 vcc3-supply = <&vbat>;
282 vcc4-supply = <&vbat>;
283 vcc5-supply = <&vbat>;
284 vcc6-supply = <&vbat>;
285 vcc7-supply = <&vbat>;
286 vccio-supply = <&vbat>;
288 ti,en-ck32k-xtal = <1>;
291 vrtc_reg: regulator@0 {
295 vio_reg: regulator@1 {
299 vdd1_reg: regulator@2 {
300 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
301 regulator-name = "vdd_mpu";
302 regulator-min-microvolt = <912500>;
303 regulator-max-microvolt = <1312500>;
308 vdd2_reg: regulator@3 {
309 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
310 regulator-name = "vdd_core";
311 regulator-min-microvolt = <912500>;
312 regulator-max-microvolt = <1150000>;
317 vdd3_reg: regulator@4 {
321 vdig1_reg: regulator@5 {
325 vdig2_reg: regulator@6 {
329 vpll_reg: regulator@7 {
333 vdac_reg: regulator@8 {
337 vaux1_reg: regulator@9 {
341 vaux2_reg: regulator@10 {
345 vaux33_reg: regulator@11 {
349 vmmc_reg: regulator@12 {
350 regulator-min-microvolt = <1800000>;
351 regulator-max-microvolt = <3300000>;
358 pinctrl-names = "default", "sleep";
359 pinctrl-0 = <&cpsw_default>;
360 pinctrl-1 = <&cpsw_sleep>;
368 pinctrl-names = "default", "sleep";
369 pinctrl-0 = <&davinci_mdio_default>;
370 pinctrl-1 = <&davinci_mdio_sleep>;
372 phy1: ethernet-phy@1 {
380 vmmc-supply = <&vmmc_reg>;
386 vmmc-supply = <&wl12xx_vmmc>;
390 pinctrl-names = "default";
391 pinctrl-0 = <&mmc2_pins>;
393 #address-cells = <1>;
396 compatible = "ti,wl1835";
398 interrupt-parent = <&gpio3>;
399 interrupts = <7 IRQ_TYPE_EDGE_RISING>;