1 From a5957ee5e1e3605c97c1282c21a0e799f81b49a1 Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Thu, 2 Jun 2016 15:09:35 -0700
4 Subject: [PATCH] BCM270X: Add the DSI and DSI panel nodes to the VC4 overlay.
6 Signed-off-by: Eric Anholt <eric@anholt.net>
8 arch/arm/boot/dts/bcm2708_common.dtsi | 24 ++++++++++++++++++++--
9 arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts | 16 +++++++++++++++
10 2 files changed, 38 insertions(+), 2 deletions(-)
12 --- a/arch/arm/boot/dts/bcm2708_common.dtsi
13 +++ b/arch/arm/boot/dts/bcm2708_common.dtsi
15 #include <dt-bindings/clock/bcm2835-aux.h>
16 #include "dt-bindings/power/raspberrypi-power.h"
17 #include "dt-bindings/gpio/gpio.h"
18 +#include "dt-bindings/pinctrl/bcm2835.h"
19 #include "skeleton.dtsi"
23 reg = <0x7e101000 0x2000>;
25 /* CPRMAN derives everything from the platform's
27 + * oscillator except for a few clocks that may
28 + * derive from something else derived from CPRMAN..
30 - clocks = <&clk_osc>;
31 + clocks = <&clk_osc>, <&dsi1 0>, <&dsi1 1>, <&dsi1 2>;
39 + dsi1: dsi@7e700000 {
40 + #address-cells = <1>;
44 + compatible = "brcm,bcm2835-dsi1";
45 + reg = <0x7e700000 0x8c>;
46 + interrupts = <2 12>;
48 + clocks = <&cprman BCM2835_PLLD_DSI1>,
49 + <&cprman BCM2835_CLOCK_DSI1E>,
50 + <&cprman BCM2835_CLOCK_DSI1P>;
51 + clock-names = "phy", "escape", "pixel";
52 + clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";
53 + status = "disabled";
54 + power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
58 compatible = "brcm,bcm2708-i2c";
59 reg = <0x7e804000 0x1000>;
60 --- a/arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
61 +++ b/arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
69 + #address-cells = <1>;
73 + brcm,panel = <&pitouchscreen>;
75 + pitouchscreen: panel {
76 + compatible = "raspberrypi,touchscreen";
83 cma-256 = <0>,"+0-1-2-3-4";
84 cma-192 = <0>,"-0+1-2-3-4";