mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +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>
43 lines
1.2 KiB
Diff
43 lines
1.2 KiB
Diff
From fb78b2617e70e58e03e0d50e674758fdd2a80d45 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Thu, 2 Nov 2023 10:39:11 +0000
|
|
Subject: [PATCH] dts: bcm2712-rpi-5-b: Create some dummy nodes
|
|
|
|
The kernel now treats multiple fragments targeting the same node as an
|
|
error. For this reason, it is important that labels created just for
|
|
compatibility with other systems (e.g. i2c0if and i2c0mux) are
|
|
attached to unique nodes, not just tacked onto existing nodes.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/bcm2712-rpi-5-b.dts | 11 ++++++-----
|
|
1 file changed, 6 insertions(+), 5 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm2712-rpi-5-b.dts
|
|
+++ b/arch/arm/boot/dts/bcm2712-rpi-5-b.dts
|
|
@@ -157,6 +157,12 @@
|
|
dummy: dummy {
|
|
// A target for unwanted overlay fragments
|
|
};
|
|
+
|
|
+
|
|
+ // A few extra labels to keep overlays happy
|
|
+
|
|
+ i2c0if: i2c0if {};
|
|
+ i2c0mux: i2c0mux {};
|
|
};
|
|
|
|
rp1_target: &pcie2 {
|
|
@@ -243,11 +249,6 @@ aux: &dummy {};
|
|
|
|
#include "bcm2712-rpi.dtsi"
|
|
|
|
-// A few extra labels to keep overlays happy
|
|
-
|
|
-i2c0if: &rp1_gpio {};
|
|
-i2c0mux: &rp1_gpio {};
|
|
-
|
|
i2c_csi_dsi0: &i2c6 { // Note: This is for MIPI0 connector only
|
|
pinctrl-0 = <&rp1_i2c6_38_39>;
|
|
pinctrl-names = "default";
|