mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
brcm2708: add compatible strings
This patch adds the compatible string for the various RPIs from 4.14 upstream. Note: The 4.14 upstream does not include the compute modules. If the CM* would just house the SoC, it could in theory use the "raw" chip compatible string. However, these CM boards also come with RAM and eMMC. So they have to have a proper comaptible. For now, "raspberrypi,compute-module-{1|3}" will be good enough. Note2: The original CM was renamed to CM1 when CM3 was released. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
parent
e79b096ee1
commit
778543dab4
@ -0,0 +1,70 @@
|
||||
--- 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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user