2012-06-22 17:40:50 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
/include/ "am33xx.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "TI AM335x BeagleBone";
|
|
|
|
compatible = "ti,am335x-bone", "ti,am33xx";
|
|
|
|
|
2012-08-31 17:37:20 +08:00
|
|
|
cpus {
|
|
|
|
cpu@0 {
|
|
|
|
cpu0-supply = <&dcdc2_reg>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-06-22 17:40:50 +08:00
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x80000000 0x10000000>; /* 256 MB */
|
|
|
|
};
|
2012-08-15 19:23:25 +08:00
|
|
|
|
2012-11-06 21:48:33 +08:00
|
|
|
am33xx_pinmux: pinmux@44e10800 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&user_leds_s0>;
|
|
|
|
|
|
|
|
user_leds_s0: user_leds_s0 {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
0x54 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */
|
|
|
|
0x58 0x17 /* gpmc_a6.gpio1_22, OUTPUT_PULLUP | MODE7 */
|
|
|
|
0x5c 0x7 /* gpmc_a7.gpio1_23, OUTPUT | MODE7 */
|
|
|
|
0x60 0x17 /* gpmc_a8.gpio1_24, OUTPUT_PULLUP | MODE7 */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-08-15 19:23:25 +08:00
|
|
|
ocp {
|
2012-08-27 19:29:08 +08:00
|
|
|
uart1: serial@44e09000 {
|
2012-08-15 19:23:25 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2012-08-21 19:17:30 +08:00
|
|
|
|
2012-08-27 19:29:08 +08:00
|
|
|
i2c1: i2c@44e0b000 {
|
2012-08-21 19:17:30 +08:00
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
tps: tps@24 {
|
|
|
|
reg = <0x24>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
2012-11-06 21:48:34 +08:00
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
led@2 {
|
|
|
|
label = "beaglebone:green:heartbeat";
|
|
|
|
gpios = <&gpio2 21 0>;
|
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@3 {
|
|
|
|
label = "beaglebone:green:mmc0";
|
|
|
|
gpios = <&gpio2 22 0>;
|
|
|
|
linux,default-trigger = "mmc0";
|
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@4 {
|
|
|
|
label = "beaglebone:green:usr2";
|
|
|
|
gpios = <&gpio2 23 0>;
|
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
|
|
|
|
led@5 {
|
|
|
|
label = "beaglebone:green:usr3";
|
|
|
|
gpios = <&gpio2 24 0>;
|
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
};
|
2012-08-21 19:17:30 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/include/ "tps65217.dtsi"
|
|
|
|
|
|
|
|
&tps {
|
|
|
|
regulators {
|
|
|
|
dcdc1_reg: regulator@0 {
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
dcdc2_reg: regulator@1 {
|
|
|
|
/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
|
|
|
|
regulator-name = "vdd_mpu";
|
|
|
|
regulator-min-microvolt = <925000>;
|
|
|
|
regulator-max-microvolt = <1325000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
dcdc3_reg: regulator@2 {
|
|
|
|
/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
|
|
|
|
regulator-name = "vdd_core";
|
|
|
|
regulator-min-microvolt = <925000>;
|
|
|
|
regulator-max-microvolt = <1150000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo1_reg: regulator@3 {
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo2_reg: regulator@4 {
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo3_reg: regulator@5 {
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo4_reg: regulator@6 {
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
2012-08-15 19:23:25 +08:00
|
|
|
};
|
2012-06-22 17:40:50 +08:00
|
|
|
};
|
2012-11-14 17:08:00 +08:00
|
|
|
|
|
|
|
&cpsw_emac0 {
|
|
|
|
phy_id = <&davinci_mdio>, <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&cpsw_emac1 {
|
|
|
|
phy_id = <&davinci_mdio>, <1>;
|
|
|
|
};
|