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 };
76 rtc@44e3e000 {
77 ti,system-power-controller;
78 };
79 };
81 leds {
82 pinctrl-names = "default";
83 pinctrl-0 = <&user_leds_s0>;
85 compatible = "gpio-leds";
87 led@2 {
88 label = "beaglebone:green:heartbeat";
89 gpios = <&gpio1 21 0>;
90 linux,default-trigger = "heartbeat";
91 default-state = "off";
92 };
94 led@3 {
95 label = "beaglebone:green:mmc0";
96 gpios = <&gpio1 22 0>;
97 linux,default-trigger = "mmc0";
98 default-state = "off";
99 };
101 led@4 {
102 label = "beaglebone:green:usr2";
103 gpios = <&gpio1 23 0>;
104 default-state = "off";
105 };
107 led@5 {
108 label = "beaglebone:green:usr3";
109 gpios = <&gpio1 24 0>;
110 default-state = "off";
111 };
112 };
113 };
115 /include/ "tps65217.dtsi"
117 &tps {
118 ti,pmic-shutdown-controller;
120 regulators {
121 dcdc1_reg: regulator@0 {
122 regulator-always-on;
123 };
125 dcdc2_reg: regulator@1 {
126 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
127 regulator-name = "vdd_mpu";
128 regulator-min-microvolt = <925000>;
129 regulator-max-microvolt = <1325000>;
130 regulator-boot-on;
131 regulator-always-on;
132 };
134 dcdc3_reg: regulator@2 {
135 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
136 regulator-name = "vdd_core";
137 regulator-min-microvolt = <925000>;
138 regulator-max-microvolt = <1150000>;
139 regulator-boot-on;
140 regulator-always-on;
141 };
143 ldo1_reg: regulator@3 {
144 regulator-always-on;
145 };
147 ldo2_reg: regulator@4 {
148 regulator-always-on;
149 };
151 ldo3_reg: regulator@5 {
152 regulator-min-microvolt = <1800000>;
153 regulator-max-microvolt = <3300000>;
154 regulator-always-on;
155 };
157 ldo4_reg: regulator@6 {
158 regulator-always-on;
159 };
160 };
161 };
163 &cpsw_emac0 {
164 phy_id = <&davinci_mdio>, <0>;
165 };
167 &cpsw_emac1 {
168 phy_id = <&davinci_mdio>, <1>;
169 };
171 &mmc1 {
172 status = "okay";
173 vmmc-supply = <&ldo3_reg>;
174 };
176 &mmc2 {
177 status = "okay";
178 vmmc-supply = <&ldo3_reg>;
179 };
181 &edma {
182 ti,edma-xbar-event-map = <32 12>;
183 };
185 &sham {
186 status = "okay";
187 };
189 &aes {
190 status = "okay";
191 };