diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-22 15:19:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-12-10 14:35:34 +0100 |
commit | 63ec8ab38370f892385d9e55a0a71f7ed385d61c (patch) | |
tree | ab7e5406070f2c2d7e5c6b0486016910ebef77c0 /arch | |
parent | f1914c4e532f7817dad20855584e258c112e3806 (diff) | |
download | barebox-63ec8ab38370f892385d9e55a0a71f7ed385d61c.tar.gz barebox-63ec8ab38370f892385d9e55a0a71f7ed385d61c.tar.xz |
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>
Diffstat (limited to 'arch')
-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>; |