]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: xilinx: add soc-specific spi compatibles for zynqmp/versal-net
authorConor Dooley <conor.dooley@microchip.com>
Wed, 1 Oct 2025 18:31:13 +0000 (19:31 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 15 Dec 2025 07:43:12 +0000 (08:43 +0100)
Unlike zynq, which has a specific compatible for the Cadence spi
controller, zynqmp and versal-net do not have specific compatibles.
In order to "encourage" people to use soc-specific compatibles for new
devices using this IP, add specific compatibles for these devices, with
a fallback to the existing compatible for the r1p6 version of the IP so
that there will be no functional change.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20251001-cheesy-shucking-c55431bbcae3@spud
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm64/boot/dts/xilinx/versal-net.dtsi
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index 412af9a394aae5d4c0705542b7d6f489f41519dd..15f767608e67fd79115074b54ac5575d506e28b5 100644 (file)
                };
 
                spi0: spi@f1960000 {
-                       compatible = "cdns,spi-r1p6";
+                       compatible = "xlnx,versal-net-spi-r1p6", "cdns,spi-r1p6";
                        status = "disabled";
                        interrupts = <0 23 4>;
                        reg = <0 0xf1960000 0 0x1000>;
                };
 
                spi1: spi@f1970000 {
-                       compatible = "cdns,spi-r1p6";
+                       compatible = "xlnx,versal-net-spi-r1p6", "cdns,spi-r1p6";
                        status = "disabled";
                        interrupts = <0 24 4>;
                        reg = <0 0xf1970000 0 0x1000>;
index 938b014ca9231d265314c0d6a934d0be706e420b..4486c67b2a309ea9bbc5edd49b34804d3a2b54ce 100644 (file)
                };
 
                spi0: spi@ff040000 {
-                       compatible = "cdns,spi-r1p6";
+                       compatible = "xlnx,zynqmp-spi-r1p6", "cdns,spi-r1p6";
                        status = "disabled";
                        interrupt-parent = <&gic>;
                        interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
                };
 
                spi1: spi@ff050000 {
-                       compatible = "cdns,spi-r1p6";
+                       compatible = "xlnx,zynqmp-spi-r1p6", "cdns,spi-r1p6";
                        status = "disabled";
                        interrupt-parent = <&gic>;
                        interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;