mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From eccaa8588fca9c9ec950664f1d5894bd826b57b0 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Mon, 23 Oct 2023 14:10:15 +0100
|
|
Subject: [PATCH] dt: Add drm_fbN_vc4 overrides for Pi0-4
|
|
|
|
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 <dave.stevenson@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/bcm270x-rpi.dtsi | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm270x-rpi.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm270x-rpi.dtsi
|
|
@@ -1,7 +1,7 @@
|
|
/* Downstream modifications to bcm2835-rpi.dtsi */
|
|
|
|
/ {
|
|
- aliases {
|
|
+ aliases: aliases {
|
|
aux = &aux;
|
|
sound = &sound;
|
|
soc = &soc;
|
|
@@ -98,6 +98,9 @@
|
|
sdio_overclock = <&mmc>,"brcm,overclock-50:0",
|
|
<&mmcnr>,"brcm,overclock-50:0";
|
|
axiperf = <&axiperf>,"status";
|
|
+ drm_fb0_vc4 = <&aliases>, "drm-fb0=",&vc4;
|
|
+ drm_fb1_vc4 = <&aliases>, "drm-fb1=",&vc4;
|
|
+ drm_fb2_vc4 = <&aliases>, "drm-fb2=",&vc4;
|
|
};
|
|
};
|
|
|