summaryrefslogtreecommitdiff
path: root/target/linux/brcm2708/patches-4.9/960-add-rasbperrypi-compatible.patch
blob: db2f6c9b80d1f526f993cc601f9965510358afda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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";
 };