ARM: dts: am335x-bone*: Fix model name and update compatibility information
authorNishanth Menon <nm@ti.com>
Wed, 3 Sep 2014 16:03:10 +0000 (11:03 -0500)
committerTony Lindgren <tony@atomide.com>
Wed, 3 Sep 2014 21:44:12 +0000 (14:44 -0700)
Beaglebone white and beaglebone black differ in tiny little aspects.
This is the reason why we maintain seperate dts for these platforms.
However, there is no real way to decode from dtb which platform it is
since compatible and model name are the same for both platforms.

Fix this so that beaglebone black and beaglebone are identifiable,
while maintaining compatibility for older zImages which might use old
beaglebone compatible flag for black as well.

Reported-by: Tom Rini <trini@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-bone-common.dtsi
arch/arm/boot/dts/am335x-bone.dts
arch/arm/boot/dts/am335x-boneblack.dts

index bde1777b62bef8e76899473e8d935d45115e08e3..d9d98697cca9b00613f93bb77590290697e93b26 100644 (file)
@@ -7,9 +7,6 @@
  */
 
 / {
-       model = "TI AM335x BeagleBone";
-       compatible = "ti,am335x-bone", "ti,am33xx";
-
        cpus {
                cpu@0 {
                        cpu0-supply = <&dcdc2_reg>;
index 94ee427a6db17663bfbd28912df2a62d17ce6085..83d40f7655e52503d76537a4ceca1c76e3023e97 100644 (file)
 #include "am33xx.dtsi"
 #include "am335x-bone-common.dtsi"
 
+/ {
+       model = "TI AM335x BeagleBone";
+       compatible = "ti,am335x-bone", "ti,am33xx";
+};
+
 &ldo3_reg {
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <3300000>;
index 305975d3f531189f7845ec32178e443c57e92bfc..901739fcb85a37abba32822463caea432637d274 100644 (file)
 #include "am33xx.dtsi"
 #include "am335x-bone-common.dtsi"
 
+/ {
+       model = "TI AM335x BeagleBone Black";
+       compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
+};
+
 &ldo3_reg {
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;