Skip to content

Commit

Permalink
dt: Add CSI defines for all the downstream Pi platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
  • Loading branch information
6by9 committed Sep 13, 2017
1 parent 17a1fb8 commit 8bcfa27
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/bcm2708-rpi-0-w.dts
@@ -1,6 +1,7 @@
/dts-v1/;

#include "bcm2708.dtsi"
#include "bcm283x-rpi-csi1-2lane.dtsi"

/ {
model = "Raspberry Pi Zero W";
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
Expand Up @@ -2,6 +2,7 @@

#include "bcm2708.dtsi"
#include "bcm283x-rpi-smsc9514.dtsi"
#include "bcm283x-rpi-csi1-2lane.dtsi"

/ {
model = "Raspberry Pi Model B+";
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/bcm2708-rpi-b.dts
Expand Up @@ -2,6 +2,7 @@

#include "bcm2708.dtsi"
#include "bcm283x-rpi-smsc9512.dtsi"
#include "bcm283x-rpi-csi1-2lane.dtsi"

/ {
model = "Raspberry Pi Model B";
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/bcm2708-rpi-cm.dts
@@ -1,6 +1,7 @@
/dts-v1/;

#include "bcm2708-rpi-cm.dtsi"
#include "bcm283x-rpi-csi1-4lane.dtsi"

/ {
model = "Raspberry Pi Compute Module";
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/bcm2709-rpi-2-b.dts
Expand Up @@ -2,6 +2,7 @@

#include "bcm2709.dtsi"
#include "bcm283x-rpi-smsc9514.dtsi"
#include "bcm283x-rpi-csi1-2lane.dtsi"

/ {
model = "Raspberry Pi 2 Model B";
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/bcm2710-rpi-3-b.dts
Expand Up @@ -6,6 +6,7 @@

#include "bcm2710.dtsi"
#include "bcm283x-rpi-smsc9514.dtsi"
#include "bcm283x-rpi-csi1-2lane.dtsi"

/ {
model = "Raspberry Pi 3 Model B";
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/bcm2710-rpi-cm3.dts
@@ -1,6 +1,7 @@
/dts-v1/;

#include "bcm2710.dtsi"
#include "bcm283x-rpi-csi1-4lane.dtsi"

/ {
model = "Raspberry Pi Compute Module 3";
Expand Down
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/bcm283x-rpi-csi0-2lane.dtsi
@@ -0,0 +1,7 @@
&csi0 {
port {
endpoint {
data-lanes = <1 2>;
};
};
};
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/bcm283x-rpi-csi1-4lane.dtsi
@@ -0,0 +1,7 @@
&csi1 {
port {
endpoint {
data-lanes = <1 2 3 4>;
};
};
};

0 comments on commit 8bcfa27

Please sign in to comment.