openwrtv4/target/linux/brcm2708/patches-4.9/960-add-rasbperrypi-compatible.patch

71 lines
2.2 KiB
Diff
Raw Normal View History

--- a/arch/arm/boot/dts/bcm2708-rpi-0-w.dts 2017-12-01 00:09:35.165577128 +0100
+++ b/arch/arm/boot/dts/bcm2708-rpi-0-w.dts 2017-12-01 00:10:02.418981698 +0100
@@ -4,6 +4,7 @@
#include "bcm283x-rpi-smsc9512.dtsi"
/ {
+ compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
model = "Raspberry Pi Zero W";
};
--- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts 2017-12-01 00:23:43.869682792 +0100
+++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts 2017-12-01 00:25:07.686338314 +0100
@@ -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 2017-12-01 00:24:16.899675426 +0100
+++ b/arch/arm/boot/dts/bcm2709-rpi-2-b.dts 2017-12-01 00:24:53.973005148 +0100
@@ -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 2017-12-01 00:32:37.426847451 +0100
+++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts 2017-12-01 00:33:22.656955034 +0100
@@ -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 2017-12-01 00:34:04.227056139 +0100
+++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts 2017-12-01 00:33:48.953685419 +0100
@@ -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 2017-12-01 00:21:41.226415322 +0100
+++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dts 2017-12-01 00:21:08.206444802 +0100
@@ -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 2017-12-01 00:40:17.454702202 +0100
+++ b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts 2017-12-01 00:40:10.521349773 +0100
@@ -3,6 +3,7 @@
#include "bcm2710.dtsi"
/ {
+ compatible = "raspberrypi,compute-module-3", "brcm,bcm2837", "brcm,bcm2836";
model = "Raspberry Pi Compute Module 3";
};