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.
12 cpu0-supply = <&dcdc2_reg>;
22 device_type = "memory";
23 reg = <0x80000000 0x10000000>; /* 256 MB */
27 pinctrl-names = "default";
28 pinctrl-0 = <&user_leds_s0>;
30 compatible = "gpio-leds";
33 label = "beaglebone:green:heartbeat";
34 gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
35 linux,default-trigger = "heartbeat";
36 default-state = "off";
40 label = "beaglebone:green:mmc0";
41 gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
42 linux,default-trigger = "mmc0";
43 default-state = "off";
47 label = "beaglebone:green:usr2";
48 gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
49 linux,default-trigger = "cpu0";
50 default-state = "off";
54 label = "beaglebone:green:usr3";
55 gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
56 linux,default-trigger = "mmc1";
57 default-state = "off";
61 vmmcsd_fixed: fixedregulator@0 {
62 compatible = "regulator-fixed";
63 regulator-name = "vmmcsd_fixed";
64 regulator-min-microvolt = <3300000>;
65 regulator-max-microvolt = <3300000>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&clkout2_pin>;
73 user_leds_s0: user_leds_s0 {
74 pinctrl-single,pins = <
75 0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
76 0x58 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_a6.gpio1_22 */
77 0x5c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */
78 0x60 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_a8.gpio1_24 */
82 i2c0_pins: pinmux_i2c0_pins {
83 pinctrl-single,pins = <
84 0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
85 0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
89 i2c2_pins: pinmux_i2c2_pins {
90 pinctrl-single,pins = <
91 0x178 (PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_ctsn.i2c2_sda */
92 0x17c (PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_rtsn.i2c2_scl */
96 uart0_pins: pinmux_uart0_pins {
97 pinctrl-single,pins = <
98 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
99 0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
103 clkout2_pin: pinmux_clkout2_pin {
104 pinctrl-single,pins = <
105 0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */
109 cpsw_default: cpsw_default {
110 pinctrl-single,pins = <
112 0x110 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxerr.mii1_rxerr */
113 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txen.mii1_txen */
114 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxdv.mii1_rxdv */
115 0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd3.mii1_txd3 */
116 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd2.mii1_txd2 */
117 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd1.mii1_txd1 */
118 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd0.mii1_txd0 */
119 0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_txclk.mii1_txclk */
120 0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxclk.mii1_rxclk */
121 0x134 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd3.mii1_rxd3 */
122 0x138 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd2.mii1_rxd2 */
123 0x13c (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd1.mii1_rxd1 */
124 0x140 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd0.mii1_rxd0 */
128 cpsw_sleep: cpsw_sleep {
129 pinctrl-single,pins = <
130 /* Slave 1 reset value */
131 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
132 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
133 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
134 0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
135 0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
136 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
137 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
138 0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
139 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
140 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
141 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
142 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
143 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
147 davinci_mdio_default: davinci_mdio_default {
148 pinctrl-single,pins = <
150 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
151 0x14c (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 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
159 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
163 mmc1_pins: pinmux_mmc1_pins {
164 pinctrl-single,pins = <
165 0x160 (PIN_INPUT | MUX_MODE7) /* GPIO0_6 */
169 emmc_pins: pinmux_emmc_pins {
170 pinctrl-single,pins = <
171 0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
172 0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
173 0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
174 0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
175 0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
176 0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
177 0x10 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */
178 0x14 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */
179 0x18 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */
180 0x1c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */
186 pinctrl-names = "default";
187 pinctrl-0 = <&uart0_pins>;
210 dr_mode = "peripheral";
223 pinctrl-names = "default";
224 pinctrl-0 = <&i2c0_pins>;
227 clock-frequency = <400000>;
233 baseboard_eeprom: baseboard_eeprom@50 {
234 compatible = "at,24c256";
237 #address-cells = <1>;
239 baseboard_data: baseboard_data@0 {
246 pinctrl-names = "default";
247 pinctrl-0 = <&i2c2_pins>;
250 clock-frequency = <100000>;
252 cape_eeprom0: cape_eeprom0@54 {
253 compatible = "at,24c256";
255 #address-cells = <1>;
257 cape0_data: cape_data@0 {
262 cape_eeprom1: cape_eeprom1@55 {
263 compatible = "at,24c256";
265 #address-cells = <1>;
267 cape1_data: cape_data@0 {
272 cape_eeprom2: cape_eeprom2@56 {
273 compatible = "at,24c256";
275 #address-cells = <1>;
277 cape2_data: cape_data@0 {
282 cape_eeprom3: cape_eeprom3@57 {
283 compatible = "at,24c256";
285 #address-cells = <1>;
287 cape3_data: cape_data@0 {
294 /include/ "tps65217.dtsi"
298 * Configure pmic to enter OFF-state instead of SLEEP-state ("RTC-only
299 * mode") at poweroff. Most BeagleBone versions do not support RTC-only
300 * mode and risk hardware damage if this mode is entered.
302 * For details, see linux-omap mailing list May 2015 thread
303 * [PATCH] ARM: dts: am335x-bone* enable pmic-shutdown-controller
304 * In particular, messages:
305 * http://www.spinics.net/lists/linux-omap/msg118585.html
306 * http://www.spinics.net/lists/linux-omap/msg118615.html
308 * You can override this later with
309 * &tps { /delete-property/ ti,pmic-shutdown-controller; }
310 * if you want to use RTC-only mode and made sure you are not affected
311 * by the hardware problems. (Tip: double-check by performing a current
312 * measurement after shutdown: it should be less than 1 mA.)
314 ti,pmic-shutdown-controller;
317 dcdc1_reg: regulator@0 {
318 regulator-name = "vdds_dpr";
322 dcdc2_reg: regulator@1 {
323 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
324 regulator-name = "vdd_mpu";
325 regulator-min-microvolt = <925000>;
326 regulator-max-microvolt = <1325000>;
331 dcdc3_reg: regulator@2 {
332 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
333 regulator-name = "vdd_core";
334 regulator-min-microvolt = <925000>;
335 regulator-max-microvolt = <1150000>;
340 ldo1_reg: regulator@3 {
341 regulator-name = "vio,vrtc,vdds";
345 ldo2_reg: regulator@4 {
346 regulator-name = "vdd_3v3aux";
350 ldo3_reg: regulator@5 {
351 regulator-name = "vdd_1v8";
355 ldo4_reg: regulator@6 {
356 regulator-name = "vdd_3v3a";
363 phy_id = <&davinci_mdio>, <0>;
368 phy_id = <&davinci_mdio>, <1>;
373 pinctrl-names = "default", "sleep";
374 pinctrl-0 = <&cpsw_default>;
375 pinctrl-1 = <&cpsw_sleep>;
380 pinctrl-names = "default", "sleep";
381 pinctrl-0 = <&davinci_mdio_default>;
382 pinctrl-1 = <&davinci_mdio_sleep>;
389 pinctrl-names = "default";
390 pinctrl-0 = <&mmc1_pins>;
391 cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;