ARM: dts: microchip: sam9x7: Add address/size to spi-controller nodes
authorMihai Sain <mihai.sain@microchip.com>
Wed, 18 Dec 2024 08:03:33 +0000 (10:03 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Thu, 2 Jan 2025 10:33:57 +0000 (12:33 +0200)
Since these properties are common for all spi subnodes,
add them to SoC dtsi instead of board dts.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
Link: https://lore.kernel.org/r/20241218080333.2225-3-mihai.sain@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/sam9x7.dtsi

index aedba0a8318f454608b869fd5702cb75cfc1b4e6..b217a908f525349833d78ce809941b9419e6b03c 100644 (file)
                                compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
                                reg = <0x400 0x200>;
                                interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
                                clock-names = "spi_clk";
                                dmas = <&dma0
                                compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
                                reg = <0x400 0x200>;
                                interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
                                clock-names = "spi_clk";
                                dmas = <&dma0
                                compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
                                reg = <0x400 0x200>;
                                interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
                                clock-names = "spi_clk";
                                dmas = <&dma0
                                compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
                                reg = <0x400 0x200>;
                                interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
                                clock-names = "spi_clk";
                                dmas = <&dma0
                                compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
                                reg = <0x400 0x200>;
                                interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
                                clock-names = "spi_clk";
                                dmas = <&dma0
                                compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
                                reg = <0x400 0x200>;
                                interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
                                clock-names = "spi_clk";
                                dmas = <&dma0