openwrt/target/linux/brcm2708/patches-4.19/960-add-rasbperrypi-compatible.patch

52 lines
1.3 KiB
Diff
Raw Normal View History

--- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
@@ -6,6 +6,7 @@
#include "bcm283x-rpi-csi1-2lane.dtsi"
/ {
+ compatible = "raspberrypi,model-b-plus", "brcm,bcm2835";
model = "Raspberry Pi Model B+";
};
--- a/arch/arm/boot/dts/bcm2708-rpi-b.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts
@@ -6,6 +6,7 @@
#include "bcm283x-rpi-csi1-2lane.dtsi"
/ {
+ compatible = "raspberrypi,model-b", "brcm,bcm2835";
model = "Raspberry Pi Model B";
};
--- a/arch/arm/boot/dts/bcm2708-rpi-cm.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dts
@@ -5,6 +5,7 @@
#include "bcm283x-rpi-csi1-4lane.dtsi"
/ {
+ compatible = "raspberrypi,compute-module", "brcm,bcm2835";
model = "Raspberry Pi Compute Module";
};
--- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
+++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
@@ -6,7 +6,7 @@
#include "bcm283x-rpi-csi1-2lane.dtsi"
/ {
- compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
+ compatible = "raspberrypi,3-model-b", "brcm,bcm2837", "brcm,bcm2836";
model = "Raspberry Pi 3 Model B";
chosen {
--- a/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
+++ b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
@@ -6,6 +6,7 @@
#include "bcm283x-rpi-csi1-4lane.dtsi"
/ {
+ compatible = "raspberrypi,3-compute-module", "brcm,bcm2837";
model = "Raspberry Pi Compute Module 3";
};