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
6 Follows up '61b138adaead ("dt: Add overrides for drm framebuffer
7 allocations on Pi5")' with an equivalent for Pi0-4.
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.
12 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
14 arch/arm/boot/dts/bcm270x-rpi.dtsi | 5 ++++-
15 1 file changed, 4 insertions(+), 1 deletion(-)
17 --- a/arch/arm/boot/dts/bcm270x-rpi.dtsi
18 +++ b/arch/arm/boot/dts/bcm270x-rpi.dtsi
20 /* Downstream modifications to bcm2835-rpi.dtsi */
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;