b27d35534055223e1b439c581e9c09cf414fb69c
[openwrt/staging/zorun.git] /
1 From 46369abfb7dd4c33637da4340fa47a5f76f7f1c2 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Fri, 21 Feb 2020 17:10:45 +0100
4 Subject: [PATCH] ARM: dts: rpi4: Disable KMS driver by
5 default
6
7 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
8 ---
9 arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 48 +++++++++++++++++++++++++++
10 arch/arm/boot/dts/bcm2711-rpi.dtsi | 5 ---
11 2 files changed, 48 insertions(+), 5 deletions(-)
12
13 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
14 +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
15 @@ -182,6 +182,14 @@
16 // Downstream rpi- changes
17
18 #include "bcm270x.dtsi"
19 +
20 +/ {
21 + soc {
22 + /delete-node/ pixelvalve@7e807000;
23 + /delete-node/ hdmi@7e902000;
24 + };
25 +};
26 +
27 #include "bcm2711-rpi.dtsi"
28 #include "bcm283x-rpi-csi1-2lane.dtsi"
29
30 @@ -476,6 +484,46 @@
31 pinctrl-0 = <&audio_pins>;
32 };
33
34 +&vc4 {
35 + status = "disabled";
36 +};
37 +
38 +&pixelvalve0 {
39 + status = "disabled";
40 +};
41 +
42 +&pixelvalve1 {
43 + status = "disabled";
44 +};
45 +
46 +&pixelvalve2 {
47 + status = "disabled";
48 +};
49 +
50 +&pixelvalve3 {
51 + status = "disabled";
52 +};
53 +
54 +&pixelvalve4 {
55 + status = "disabled";
56 +};
57 +
58 +&hdmi0 {
59 + status = "disabled";
60 +};
61 +
62 +&ddc0 {
63 + status = "disabled";
64 +};
65 +
66 +&hdmi1 {
67 + status = "disabled";
68 +};
69 +
70 +&ddc1 {
71 + status = "disabled";
72 +};
73 +
74 / {
75 __overrides__ {
76 act_led_gpio = <&act_led>,"gpios:4";
77 --- a/arch/arm/boot/dts/bcm2711-rpi.dtsi
78 +++ b/arch/arm/boot/dts/bcm2711-rpi.dtsi
79 @@ -55,11 +55,6 @@
80 status = "okay";
81 };
82
83 - vc4: gpu {
84 - compatible = "brcm,bcm2835-vc4";
85 - status = "disabled";
86 - };
87 -
88 /delete-node/ audio;
89 };
90