[PATCH] ARM: bcm2835: dt: Add a fall-back Raspberry Pi tree

Lubomir Rintel lkundrak at v3.sk
Mon Jan 25 12:39:54 PST 2016


U-Boot falls back to "bcm2835-rpi-other.dtb" for boards of unknown
identification. Let's do a bare minimum for them so that they at leat
boot.

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
---
 arch/arm/boot/dts/Makefile              | 1 +
 arch/arm/boot/dts/bcm2835-rpi-other.dts | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 100644 arch/arm/boot/dts/bcm2835-rpi-other.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index d000814..d15a403 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -59,6 +59,7 @@ dtb-$(CONFIG_ARCH_ATLAS7) += \
 dtb-$(CONFIG_ARCH_AXXIA) += \
 	axm5516-amarillo.dtb
 dtb-$(CONFIG_ARCH_BCM2835) += \
+	bcm2835-rpi-other.dtb \
 	bcm2835-rpi-b.dtb \
 	bcm2835-rpi-a.dtb \
 	bcm2835-rpi-b-rev2.dtb \
diff --git a/arch/arm/boot/dts/bcm2835-rpi-other.dts b/arch/arm/boot/dts/bcm2835-rpi-other.dts
new file mode 100644
index 0000000..de0b7a2
--- /dev/null
+++ b/arch/arm/boot/dts/bcm2835-rpi-other.dts
@@ -0,0 +1,7 @@
+/dts-v1/;
+#include "bcm2835-rpi.dtsi"
+
+/ {
+	compatible = "brcm,bcm2835";
+	model = "Raspberry Pi Unknown Model";
+};
-- 
2.5.0




More information about the linux-rpi-kernel mailing list