openwrtv3/target/linux/brcm2708/patches-4.9/960-add-rasbperrypi-compatible.patch
Kevin Darbyshire-Bryant 7b6e01d389 kernel: bump 4.9 to 4.9.72
Refresh patches.

Runtime tested: ar71xx - Archer C7 v2

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2017-12-26 23:31:00 +01:00

70 lines
1.7 KiB
Diff

--- a/arch/arm/boot/dts/bcm2708-rpi-0-w.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-0-w.dts
@@ -3,6 +3,7 @@
#include "bcm2708.dtsi"
/ {
+ compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
model = "Raspberry Pi Zero W";
};
--- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
+++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
@@ -8,6 +8,7 @@
#include "bcm283x-rpi-smsc9514.dtsi"
/ {
+ compatible = "raspberrypi,3-model-b", "brcm,bcm2837", "brcm,bcm2836";
model = "Raspberry Pi 3 Model B";
};
--- a/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
+++ b/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
@@ -4,6 +4,7 @@
#include "bcm283x-rpi-smsc9514.dtsi"
/ {
+ compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
model = "Raspberry Pi 2 Model B";
};
--- a/arch/arm/boot/dts/bcm2708-rpi-b.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts
@@ -4,6 +4,7 @@
#include "bcm283x-rpi-smsc9512.dtsi"
/ {
+ compatible = "raspberrypi,model-b", "brcm,bcm2835";
model = "Raspberry Pi Model B";
};
--- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
@@ -4,6 +4,7 @@
#include "bcm283x-rpi-smsc9514.dtsi"
/ {
+ compatible = "raspberrypi,model-b-plus", "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
@@ -3,6 +3,7 @@
#include "bcm2708-rpi-cm.dtsi"
/ {
+ compatible = "raspberrypi,compute-module-1", "brcm,bcm2835";
model = "Raspberry Pi Compute Module";
};
--- a/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
+++ b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
@@ -3,6 +3,7 @@
#include "bcm2710.dtsi"
/ {
+ compatible = "raspberrypi,compute-module-3", "brcm,bcm2837", "brcm,bcm2836";
model = "Raspberry Pi Compute Module 3";
};