diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-22 15:19:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-27 10:43:16 +0100 |
commit | a070051be7147a133325b817e05910ffba52446b (patch) | |
tree | 202dcd1dc8784336f00429222c13d515c47cfd70 | |
parent | 6f5e4390ae2eafdcf8a72258106763bc1eda7c0e (diff) | |
download | barebox-a070051be7147a133325b817e05910ffba52446b.tar.gz |
ARM: beaglebone: Add memory to devicetrees
barebox needs it to initialize the memory. While at it, give the
beabglebone black another name than the original beaglebone has.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/dts/am335x-bone-common.dtsi | 3 | ||||
-rw-r--r-- | arch/arm/dts/am335x-bone.dts | 10 | ||||
-rw-r--r-- | arch/arm/dts/am335x-boneblack.dts | 10 |
3 files changed, 20 insertions, 3 deletions
diff --git a/arch/arm/dts/am335x-bone-common.dtsi b/arch/arm/dts/am335x-bone-common.dtsi index e3f27ec317..1ecf0b3792 100644 --- a/arch/arm/dts/am335x-bone-common.dtsi +++ b/arch/arm/dts/am335x-bone-common.dtsi @@ -7,9 +7,6 @@ */ / { - model = "TI AM335x BeagleBone"; - compatible = "ti,am335x-bone", "ti,am33xx"; - cpus { cpu@0 { cpu0-supply = <&dcdc2_reg>; diff --git a/arch/arm/dts/am335x-bone.dts b/arch/arm/dts/am335x-bone.dts index 94ee427a6d..a2e62a3b1c 100644 --- a/arch/arm/dts/am335x-bone.dts +++ b/arch/arm/dts/am335x-bone.dts @@ -10,6 +10,16 @@ #include "am33xx.dtsi" #include "am335x-bone-common.dtsi" +/ { + model = "TI AM335x BeagleBone"; + compatible = "ti,am335x-bone", "ti,am33xx"; + + memory { + device_type = "memory"; + reg = <0x80000000 0x10000000>; /* 256 MB */ + }; +}; + &ldo3_reg { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; diff --git a/arch/arm/dts/am335x-boneblack.dts b/arch/arm/dts/am335x-boneblack.dts index 6b71ad95a5..f79a6bc8a4 100644 --- a/arch/arm/dts/am335x-boneblack.dts +++ b/arch/arm/dts/am335x-boneblack.dts @@ -10,6 +10,16 @@ #include "am33xx.dtsi" #include "am335x-bone-common.dtsi" +/ { + model = "TI AM335x BeagleBone black"; + compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + + memory { + device_type = "memory"; + reg = <0x80000000 0x20000000>; /* 512 MB */ + }; +}; + &ldo3_reg { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; |