1 /*
2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3 *
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.
7 */
8 /dts-v1/;
10 /include/ "am33xx.dtsi"
12 / {
13 model = "TI AM335x BeagleBone";
14 compatible = "ti,am335x-bone", "ti,am33xx";
16 cpus {
17 cpu@0 {
18 cpu0-supply = <&dcdc2_reg>;
19 };
20 };
22 memory {
23 device_type = "memory";
24 reg = <0x80000000 0x10000000>; /* 256 MB */
25 };
27 am33xx_pinmux: pinmux@44e10800 {
28 pinctrl-names = "default";
29 pinctrl-0 = <>;
31 user_leds_s0: user_leds_s0 {
32 pinctrl-single,pins = <
33 0x54 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */
34 0x58 0x17 /* gpmc_a6.gpio1_22, OUTPUT_PULLUP | MODE7 */
35 0x5c 0x7 /* gpmc_a7.gpio1_23, OUTPUT | MODE7 */
36 0x60 0x17 /* gpmc_a8.gpio1_24, OUTPUT_PULLUP | MODE7 */
37 >;
38 };
40 i2c0_pins: pinmux_i2c0_pins {
41 pinctrl-single,pins = <
42 0x188 0x30 /* i2c0_sda.i2c0_sda PULLUP | INPUTENABLE | MODE0 */
43 0x18c 0x30 /* i2c0_scl.i2c0_scl PULLUP | INPUTENABLE | MODE0 */
44 >;
45 };
47 uart0_pins: pinmux_uart0_pins {
48 pinctrl-single,pins = <
49 0x170 0x30 /* uart0_rxd.uart0_rxd PULLUP | INPUTENABLE | MODE0 */
50 0x174 0x00 /* uart0_txd.uart0_txd PULLDOWN | MODE0 */
51 >;
52 };
53 };
55 ocp {
56 uart0: serial@44e09000 {
57 pinctrl-names = "default";
58 pinctrl-0 = <&uart0_pins>;
60 status = "okay";
61 };
63 i2c0: i2c@44e0b000 {
64 pinctrl-names = "default";
65 pinctrl-0 = <&i2c0_pins>;
67 status = "okay";
68 clock-frequency = <400000>;
70 tps: tps@24 {
71 reg = <0x24>;
72 };
74 };
75 };
77 leds {
78 pinctrl-names = "default";
79 pinctrl-0 = <&user_leds_s0>;
81 compatible = "gpio-leds";
83 led@2 {
84 label = "beaglebone:green:heartbeat";
85 gpios = <&gpio1 21 0>;
86 linux,default-trigger = "heartbeat";
87 default-state = "off";
88 };
90 led@3 {
91 label = "beaglebone:green:mmc0";
92 gpios = <&gpio1 22 0>;
93 linux,default-trigger = "mmc0";
94 default-state = "off";
95 };
97 led@4 {
98 label = "beaglebone:green:usr2";
99 gpios = <&gpio1 23 0>;
100 default-state = "off";
101 };
103 led@5 {
104 label = "beaglebone:green:usr3";
105 gpios = <&gpio1 24 0>;
106 default-state = "off";
107 };
108 };
109 };
111 /include/ "tps65217.dtsi"
113 &tps {
114 regulators {
115 dcdc1_reg: regulator@0 {
116 regulator-always-on;
117 };
119 dcdc2_reg: regulator@1 {
120 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
121 regulator-name = "vdd_mpu";
122 regulator-min-microvolt = <925000>;
123 regulator-max-microvolt = <1325000>;
124 regulator-boot-on;
125 regulator-always-on;
126 };
128 dcdc3_reg: regulator@2 {
129 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
130 regulator-name = "vdd_core";
131 regulator-min-microvolt = <925000>;
132 regulator-max-microvolt = <1150000>;
133 regulator-boot-on;
134 regulator-always-on;
135 };
137 ldo1_reg: regulator@3 {
138 regulator-always-on;
139 };
141 ldo2_reg: regulator@4 {
142 regulator-always-on;
143 };
145 ldo3_reg: regulator@5 {
146 regulator-min-microvolt = <1800000>;
147 regulator-max-microvolt = <3300000>;
148 regulator-always-on;
149 };
151 ldo4_reg: regulator@6 {
152 regulator-always-on;
153 };
154 };
155 };
157 &cpsw_emac0 {
158 phy_id = <&davinci_mdio>, <0>;
159 };
161 &cpsw_emac1 {
162 phy_id = <&davinci_mdio>, <1>;
163 };
165 &mmc1 {
166 status = "okay";
167 vmmc-supply = <&ldo3_reg>;
168 };
170 &mmc2 {
171 status = "okay";
172 vmmc-supply = <&ldo3_reg>;
173 };
175 &edma {
176 ti,edma-xbar-event-map = <32 12>;
177 };
179 &sham {
180 status = "okay";
181 };
183 &aes {
184 status = "okay";
185 };