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