Skip to content

Commit

Permalink
dt: Add drm_fbN_vc4 overrides for Pi0-4
Browse files Browse the repository at this point in the history
Follows up '61b138adaead ("dt: Add overrides for drm framebuffer
allocations on Pi5")' with an equivalent for Pi0-4.

These will have no effect on most normal systems, but drm_fb0_vc4
will stop SPI displays jumping in and claiming /dev/fb0.

Signed-off-by: Dave Stevenson <[email protected]>
  • Loading branch information
6by9 authored and popcornmix committed Oct 24, 2023
1 parent d24c99a commit f2a2f0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Downstream modifications to bcm2835-rpi.dtsi */

/ {
aliases {
aliases: aliases {
aux = &aux;
sound = &sound;
soc = &soc;
Expand Down Expand Up @@ -30,6 +30,9 @@
fb = &fb;
thermal = &thermal;
axiperf = &axiperf;
drm_fb0_vc4 = <&aliases>, "drm-fb0=",&vc4;
drm_fb1_vc4 = <&aliases>, "drm-fb1=",&vc4;
drm_fb2_vc4 = <&aliases>, "drm-fb2=",&vc4;
};

/* Define these notional regulators for use by overlays */
Expand Down

0 comments on commit f2a2f0d

Please sign in to comment.