]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: broadcom: Add overlay for RP1 device
authorAndrea della Porta <andrea.porta@suse.com>
Thu, 29 May 2025 13:50:47 +0000 (15:50 +0200)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Mon, 9 Jun 2025 17:10:30 +0000 (10:10 -0700)
Define the RP1 node in an overlay. The inclusion tree is
as follow (the arrow points to the includer):

                      rp1.dtso
                          ^
                          |
rp1-common.dtsi ----> rp1-nexus.dtsi

Signed-off-by: Andrea della Porta <andrea.porta@suse.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20250529135052.28398-10-andrea.porta@suse.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm64/boot/dts/broadcom/Makefile
arch/arm64/boot/dts/broadcom/rp1.dtso [new file with mode: 0644]

index 031875a277d7e4da2adb7badf93fa9ea351dfa31..83d45afc6588e13c6b2ff5c76057e533dd703b77 100644 (file)
@@ -14,7 +14,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \
                              bcm2837-rpi-3-b.dtb \
                              bcm2837-rpi-3-b-plus.dtb \
                              bcm2837-rpi-cm3-io3.dtb \
-                             bcm2837-rpi-zero-2-w.dtb
+                             bcm2837-rpi-zero-2-w.dtb \
+                             rp1.dtbo
 
 subdir-y       += bcmbca
 subdir-y       += northstar2
diff --git a/arch/arm64/boot/dts/broadcom/rp1.dtso b/arch/arm64/boot/dts/broadcom/rp1.dtso
new file mode 100644 (file)
index 0000000..ab4f146
--- /dev/null
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+
+/dts-v1/;
+/plugin/;
+
+&pcie2 {
+       #address-cells = <3>;
+       #size-cells = <2>;
+
+       #include "rp1-nexus.dtsi"
+};