f5b4b7129fdbb35f3d19e93d70580a4d768762fc
[openwrt/staging/noltari.git] /
1 From 998fa413419cc659e7e8646e63000d77d326e08b Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Thu, 5 Jul 2018 16:44:16 +0100
4 Subject: [PATCH 342/454] BCM270X_DT: Add CSI defines for all the downstream Pi
5 platforms
6
7 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
8 ---
9 arch/arm/boot/dts/bcm2708-rpi-0-w.dts | 1 +
10 arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 1 +
11 arch/arm/boot/dts/bcm2708-rpi-b.dts | 1 +
12 arch/arm/boot/dts/bcm2708-rpi-cm.dts | 2 ++
13 arch/arm/boot/dts/bcm2709-rpi-2-b.dts | 1 +
14 arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts | 1 +
15 arch/arm/boot/dts/bcm2710-rpi-3-b.dts | 1 +
16 arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 2 ++
17 arch/arm/boot/dts/bcm283x-rpi-csi0-2lane.dtsi | 7 +++++++
18 arch/arm/boot/dts/bcm283x-rpi-csi1-4lane.dtsi | 7 +++++++
19 10 files changed, 24 insertions(+)
20 create mode 100644 arch/arm/boot/dts/bcm283x-rpi-csi0-2lane.dtsi
21 create mode 100644 arch/arm/boot/dts/bcm283x-rpi-csi1-4lane.dtsi
22
23 --- a/arch/arm/boot/dts/bcm2708-rpi-0-w.dts
24 +++ b/arch/arm/boot/dts/bcm2708-rpi-0-w.dts
25 @@ -1,6 +1,7 @@
26 /dts-v1/;
27
28 #include "bcm2708.dtsi"
29 +#include "bcm283x-rpi-csi1-2lane.dtsi"
30
31 / {
32 compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
33 --- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
34 +++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
35 @@ -2,6 +2,7 @@
36
37 #include "bcm2708.dtsi"
38 #include "bcm283x-rpi-smsc9514.dtsi"
39 +#include "bcm283x-rpi-csi1-2lane.dtsi"
40
41 / {
42 model = "Raspberry Pi Model B+";
43 --- a/arch/arm/boot/dts/bcm2708-rpi-b.dts
44 +++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts
45 @@ -2,6 +2,7 @@
46
47 #include "bcm2708.dtsi"
48 #include "bcm283x-rpi-smsc9512.dtsi"
49 +#include "bcm283x-rpi-csi1-2lane.dtsi"
50
51 / {
52 model = "Raspberry Pi Model B";
53 --- a/arch/arm/boot/dts/bcm2708-rpi-cm.dts
54 +++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dts
55 @@ -1,6 +1,8 @@
56 /dts-v1/;
57
58 #include "bcm2708-rpi-cm.dtsi"
59 +#include "bcm283x-rpi-csi0-2lane.dtsi"
60 +#include "bcm283x-rpi-csi1-4lane.dtsi"
61
62 / {
63 model = "Raspberry Pi Compute Module";
64 --- a/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
65 +++ b/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
66 @@ -2,6 +2,7 @@
67
68 #include "bcm2709.dtsi"
69 #include "bcm283x-rpi-smsc9514.dtsi"
70 +#include "bcm283x-rpi-csi1-2lane.dtsi"
71
72 / {
73 compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
74 --- a/arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts
75 +++ b/arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts
76 @@ -2,6 +2,7 @@
77
78 #include "bcm2710.dtsi"
79 #include "bcm283x-rpi-lan7515.dtsi"
80 +#include "bcm283x-rpi-csi1-2lane.dtsi"
81
82 / {
83 compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837";
84 --- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
85 +++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
86 @@ -2,6 +2,7 @@
87
88 #include "bcm2710.dtsi"
89 #include "bcm283x-rpi-smsc9514.dtsi"
90 +#include "bcm283x-rpi-csi1-2lane.dtsi"
91
92 / {
93 compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
94 --- a/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
95 +++ b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
96 @@ -1,6 +1,8 @@
97 /dts-v1/;
98
99 #include "bcm2710.dtsi"
100 +#include "bcm283x-rpi-csi0-2lane.dtsi"
101 +#include "bcm283x-rpi-csi1-4lane.dtsi"
102
103 / {
104 model = "Raspberry Pi Compute Module 3";
105 --- /dev/null
106 +++ b/arch/arm/boot/dts/bcm283x-rpi-csi0-2lane.dtsi
107 @@ -0,0 +1,7 @@
108 +&csi0 {
109 + port {
110 + endpoint {
111 + data-lanes = <1 2>;
112 + };
113 + };
114 +};
115 --- /dev/null
116 +++ b/arch/arm/boot/dts/bcm283x-rpi-csi1-4lane.dtsi
117 @@ -0,0 +1,7 @@
118 +&csi1 {
119 + port {
120 + endpoint {
121 + data-lanes = <1 2 3 4>;
122 + };
123 + };
124 +};