Skip to content

Commit f72aada

Browse files
Mihai Sainclaudiubeznea
authored andcommitted
ARM: dts: microchip: sam9x7: Add address/size to spi-controller nodes
Since these properties are common for all spi subnodes, add them to SoC dtsi instead of board dts. Signed-off-by: Mihai Sain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Claudiu Beznea <[email protected]>
1 parent f0127f6 commit f72aada

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

arch/arm/boot/dts/microchip/sam9x7.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@
132132
compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
133133
reg = <0x400 0x200>;
134134
interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>;
135+
#address-cells = <1>;
136+
#size-cells = <0>;
135137
clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
136138
clock-names = "spi_clk";
137139
dmas = <&dma0
@@ -203,6 +205,8 @@
203205
compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
204206
reg = <0x400 0x200>;
205207
interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>;
208+
#address-cells = <1>;
209+
#size-cells = <0>;
206210
clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
207211
clock-names = "spi_clk";
208212
dmas = <&dma0
@@ -697,6 +701,8 @@
697701
compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
698702
reg = <0x400 0x200>;
699703
interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>;
704+
#address-cells = <1>;
705+
#size-cells = <0>;
700706
clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
701707
clock-names = "spi_clk";
702708
dmas = <&dma0
@@ -768,6 +774,8 @@
768774
compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
769775
reg = <0x400 0x200>;
770776
interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>;
777+
#address-cells = <1>;
778+
#size-cells = <0>;
771779
clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
772780
clock-names = "spi_clk";
773781
dmas = <&dma0
@@ -839,6 +847,8 @@
839847
compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
840848
reg = <0x400 0x200>;
841849
interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>;
850+
#address-cells = <1>;
851+
#size-cells = <0>;
842852
clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
843853
clock-names = "spi_clk";
844854
dmas = <&dma0
@@ -910,6 +920,8 @@
910920
compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
911921
reg = <0x400 0x200>;
912922
interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>;
923+
#address-cells = <1>;
924+
#size-cells = <0>;
913925
clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
914926
clock-names = "spi_clk";
915927
dmas = <&dma0

0 commit comments

Comments
 (0)