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.
10 #include "am33xx.dtsi"
11 #include <dt-bindings/interrupt-controller/irq.h>
14 model = "TI AM335x BeagleBone Blue";
15 compatible = "ti,am335x-bone-blue", "ti,am33xx";
19 cpu0-supply = <&dcdc2_reg>;
24 device_type = "memory";
25 reg = <0x80000000 0x20000000>; /* 512 MB */
33 pinctrl-names = "default";
34 pinctrl-0 = <&user_leds_s0>;
36 compatible = "gpio-leds";
39 label = "beaglebone:green:usr0";
40 gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
41 linux,default-trigger = "heartbeat";
42 default-state = "off";
46 label = "beaglebone:green:usr1";
47 gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
48 linux,default-trigger = "mmc0";
49 default-state = "off";
53 label = "beaglebone:green:usr2";
54 gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
55 linux,default-trigger = "cpu0";
56 default-state = "off";
60 label = "beaglebone:green:usr3";
61 gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
62 linux,default-trigger = "mmc1";
63 default-state = "off";
68 gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
69 default-state = "off";
70 linux,default-trigger = "phy0assoc";
75 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
76 default-state = "off";
81 gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
82 default-state = "off";
87 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
88 default-state = "off";
93 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
94 default-state = "off";
99 gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
100 default-state = "off";
105 gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
106 default-state = "off";
110 vmmcsd_fixed: fixedregulator0 {
111 compatible = "regulator-fixed";
112 regulator-name = "vmmcsd_fixed";
113 regulator-min-microvolt = <3300000>;
114 regulator-max-microvolt = <3300000>;
117 wlan_en_reg: fixedregulator@2 {
118 compatible = "regulator-fixed";
119 regulator-name = "wlan-en-regulator";
120 regulator-min-microvolt = <1800000>;
121 regulator-max-microvolt = <1800000>;
122 startup-delay-us= <70000>;
131 user_leds_s0: user_leds_s0 {
132 pinctrl-single,pins = <
133 AM33XX_IOPAD(0x854, PIN_OUTPUT | MUX_MODE7) /* (V15) gpmc_a5.gpio1[21] - USR_LED_0 */
134 AM33XX_IOPAD(0x858, PIN_OUTPUT | MUX_MODE7) /* (U15) gpmc_a6.gpio1[22] - USR_LED_1 */
135 AM33XX_IOPAD(0x85c, PIN_OUTPUT | MUX_MODE7) /* (T15) gpmc_a7.gpio1[23] - USR_LED_2 */
136 AM33XX_IOPAD(0x860, PIN_OUTPUT | MUX_MODE7) /* (V16) gpmc_a8.gpio1[24] - USR_LED_3 */
137 AM33XX_IOPAD(0x9b0, PIN_OUTPUT | MUX_MODE7) /* (A15) xdma_event_intr0.gpio0[19] - WIFI_LED */
138 AM33XX_IOPAD(0x890, PIN_OUTPUT | MUX_MODE7) /* (R7) gpmc_advn_ale.gpio2[2] - P8.7, LED_RED, GP1_PIN_5 */
139 AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE7) /* (T7) gpmc_oen_ren.gpio2[3] - P8.8, LED_GREEN, GP1_PIN_6 */
140 AM33XX_IOPAD(0x82c, PIN_OUTPUT | MUX_MODE7) /* (U12) gpmc_ad11.gpio0[27] - P8.17, BATT_LED_1 */
141 AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE7) /* (T5) lcd_data15.gpio0[11] - P8.32, BATT_LED_2 */
142 AM33XX_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE7) /* (V6) gpmc_csn0.gpio1[29] - P8.26, BATT_LED_3 */
143 AM33XX_IOPAD(0x828, PIN_OUTPUT | MUX_MODE7) /* (T11) gpmc_ad10.gpio0[26] - P8.14, BATT_LED_4 */
148 i2c0_pins: pinmux_i2c0_pins {
149 pinctrl-single,pins = <
150 AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0) /* (C17) I2C0_SDA.I2C0_SDA */
151 AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0) /* (C16) I2C0_SCL.I2C0_SCL */
155 i2c2_pins: pinmux_i2c2_pins {
156 pinctrl-single,pins = <
157 AM33XX_IOPAD(0x978, PIN_INPUT_PULLUP | MUX_MODE3) /* (D18) uart1_ctsn.I2C2_SDA */
158 AM33XX_IOPAD(0x97c, PIN_INPUT_PULLUP | MUX_MODE3) /* (D17) uart1_rtsn.I2C2_SCL */
162 uart0_pins: pinmux_uart0_pins {
163 pinctrl-single,pins = <
164 AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) /* (E15) uart0_rxd.uart0_rxd */
165 AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* (E16) uart0_txd.uart0_txd */
169 mmc1_pins: pinmux_mmc1_pins {
170 pinctrl-single,pins = <
171 AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* (C15) spi0_cs1.gpio0[6] */
175 mmc2_pins: pinmux_mmc2_pins {
176 pinctrl-single,pins = <
177 AM33XX_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) /* (U9) gpmc_csn1.mmc1_clk */
178 AM33XX_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) /* (V9) gpmc_csn2.mmc1_cmd */
179 AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE1) /* (U7) gpmc_ad0.mmc1_dat0 */
180 AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE1) /* (V7) gpmc_ad1.mmc1_dat1 */
181 AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE1) /* (R8) gpmc_ad2.mmc1_dat2 */
182 AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE1) /* (T8) gpmc_ad3.mmc1_dat3 */
183 AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE1) /* (U8) gpmc_ad4.mmc1_dat4 */
184 AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE1) /* (V8) gpmc_ad5.mmc1_dat5 */
185 AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE1) /* (R9) gpmc_ad6.mmc1_dat6 */
186 AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE1) /* (T9) gpmc_ad7.mmc1_dat7 */
190 mmc3_pins: pinmux_mmc3_pins {
191 pinctrl-single,pins = <
192 AM33XX_IOPAD(0x93c, PIN_INPUT_PULLUP | MUX_MODE6) /* (L15) gmii1_rxd1.mmc2_clk */
193 AM33XX_IOPAD(0x914, PIN_INPUT_PULLUP | MUX_MODE6) /* (J16) gmii1_txen.mmc2_cmd */
194 AM33XX_IOPAD(0x918, PIN_INPUT_PULLUP | MUX_MODE5) /* (J17) gmii1_rxdv.mmc2_dat0 */
195 AM33XX_IOPAD(0x91c, PIN_INPUT_PULLUP | MUX_MODE5) /* (J18) gmii1_txd3.mmc2_dat1 */
196 AM33XX_IOPAD(0x920, PIN_INPUT_PULLUP | MUX_MODE5) /* (K15) gmii1_txd2.mmc2_dat2 */
197 AM33XX_IOPAD(0x908, PIN_INPUT_PULLUP | MUX_MODE5) /* (H16) gmii1_col.mmc2_dat3 */
201 bt_pins: pinmux_bt_pins {
202 pinctrl-single,pins = <
203 AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLUP | MUX_MODE7) /* (K17) gmii1_txd0.gpio0[28] - BT_EN */
207 uart3_pins: pinmux_uart3_pins {
208 pinctrl-single,pins = <
209 AM33XX_IOPAD(0x934, PIN_INPUT_PULLUP | MUX_MODE1) /* (L17) gmii1_rxd3.uart3_rxd */
210 AM33XX_IOPAD(0x938, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* (L16) gmii1_rxd2.uart3_txd */
211 AM33XX_IOPAD(0x948, PIN_INPUT | MUX_MODE3) /* (M17) mdio_data.uart3_ctsn */
212 AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* (M18) mdio_clk.uart3_rtsn */
216 wl18xx_pins: pinmux_wl18xx_pins {
217 pinctrl-single,pins = <
218 AM33XX_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* (K18) gmii1_txclk.gpio3[9] - WL_EN */
219 AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (H18) rmii1_refclk.gpio0[29] - WL_IRQ */
220 AM33XX_IOPAD(0x930, PIN_OUTPUT_PULLUP | MUX_MODE7) /* (L18) gmii1_rxclk.gpio3[10] - LS_BUF_EN */
226 pinctrl-names = "default";
227 pinctrl-0 = <&uart0_pins>;
250 dr_mode = "peripheral";
251 interrupts-extended = <&intc 18 &tps 0>;
252 interrupt-names = "mc", "vbus";
265 pinctrl-names = "default";
266 pinctrl-0 = <&i2c0_pins>;
269 clock-frequency = <400000>;
275 baseboard_eeprom: baseboard_eeprom@50 {
276 compatible = "at,24c256";
279 #address-cells = <1>;
281 baseboard_data: baseboard_data@0 {
288 pinctrl-names = "default";
289 pinctrl-0 = <&i2c2_pins>;
292 clock-frequency = <400000>;
295 compatible = "invensense,mpu9250";
297 interrupt-parent = <&gpio3>;
298 interrupts = <21 GPIO_ACTIVE_LOW>;
300 #address-cells = <1>;
303 compatible = "ak,ak8975";
310 compatible = "bosch,bmp280";
315 /include/ "tps65217.dtsi"
318 interrupts = <7>; /* NMI */
319 interrupt-parent = <&intc>;
322 interrupts = <0>, <1>;
323 interrupt-names = "USB", "AC";
333 dcdc1_reg: regulator@0 {
334 regulator-name = "vdds_dpr";
338 dcdc2_reg: regulator@1 {
339 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
340 regulator-name = "vdd_mpu";
341 regulator-min-microvolt = <925000>;
342 regulator-max-microvolt = <1351500>;
347 dcdc3_reg: regulator@2 {
348 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
349 regulator-name = "vdd_core";
350 regulator-min-microvolt = <925000>;
351 regulator-max-microvolt = <1150000>;
356 ldo1_reg: regulator@3 {
357 regulator-name = "vio,vrtc,vdds";
361 ldo2_reg: regulator@4 {
362 regulator-name = "vdd_3v3aux";
366 ldo3_reg: regulator@5 {
367 regulator-name = "vdd_1v8";
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <1800000>;
373 ldo4_reg: regulator@6 {
374 regulator-name = "vdd_3v3a";
382 vmmc-supply = <&vmmcsd_fixed>;
384 pinctrl-names = "default";
385 pinctrl-0 = <&mmc1_pins>;
386 cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
391 vmmc-supply = <&vmmcsd_fixed>;
393 pinctrl-names = "default";
394 pinctrl-0 = <&mmc2_pins>;
398 dmas = <&edma_xbar 12 0 1
400 dma-names = "tx", "rx";
402 vmmc-supply = <&wlan_en_reg>;
406 ti,needs-special-hs-handling;
407 keep-power-in-suspend;
408 pinctrl-names = "default";
409 pinctrl-0 = <&mmc3_pins &wl18xx_pins>;
411 #address-cells = <1>;
414 compatible = "ti,wl1835";
416 interrupt-parent = <&gpio0>;
417 interrupts = <29 IRQ_TYPE_EDGE_RISING>;
424 ti,adc-channels = <0 1 2 3 4 5 6 7>;
429 pinctrl-names = "default";
430 pinctrl-0 = <&uart3_pins &bt_pins>;
434 compatible = "ti,wl1835-st";
435 enable-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
448 system-power-controller;
449 clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
450 clock-names = "ext-clk", "int-clk";
456 gpios = <10 GPIO_ACTIVE_HIGH>;
458 line-name = "LS_BUF_EN";