bcm27xx: update 6.1 patches to latest version
[openwrt/staging/dangole.git] / target / linux / bcm27xx / patches-6.1 / 950-1050-dt-Add-drm_fbN_vc4-overrides-for-Pi0-4.patch
1 From eccaa8588fca9c9ec950664f1d5894bd826b57b0 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Mon, 23 Oct 2023 14:10:15 +0100
4 Subject: [PATCH] dt: Add drm_fbN_vc4 overrides for Pi0-4
5
6 Follows up '61b138adaead ("dt: Add overrides for drm framebuffer
7 allocations on Pi5")' with an equivalent for Pi0-4.
8
9 These will have no effect on most normal systems, but drm_fb0_vc4
10 will stop SPI displays jumping in and claiming /dev/fb0.
11
12 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
13 ---
14 arch/arm/boot/dts/bcm270x-rpi.dtsi | 5 ++++-
15 1 file changed, 4 insertions(+), 1 deletion(-)
16
17 --- a/arch/arm/boot/dts/bcm270x-rpi.dtsi
18 +++ b/arch/arm/boot/dts/bcm270x-rpi.dtsi
19 @@ -1,7 +1,7 @@
20 /* Downstream modifications to bcm2835-rpi.dtsi */
21
22 / {
23 - aliases {
24 + aliases: aliases {
25 aux = &aux;
26 sound = &sound;
27 soc = &soc;
28 @@ -98,6 +98,9 @@
29 sdio_overclock = <&mmc>,"brcm,overclock-50:0",
30 <&mmcnr>,"brcm,overclock-50:0";
31 axiperf = <&axiperf>,"status";
32 + drm_fb0_vc4 = <&aliases>, "drm-fb0=",&vc4;
33 + drm_fb1_vc4 = <&aliases>, "drm-fb1=",&vc4;
34 + drm_fb2_vc4 = <&aliases>, "drm-fb2=",&vc4;
35 };
36 };
37