Skip to content

Commit f0127f6

Browse files
Mihai Sainclaudiubeznea
authored andcommitted
ARM: dts: microchip: sam9x60: 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 4d9e596 commit f0127f6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@
197197
compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
198198
reg = <0x400 0x200>;
199199
interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>;
200+
#address-cells = <1>;
201+
#size-cells = <0>;
200202
clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
201203
clock-names = "spi_clk";
202204
dmas = <&dma0
@@ -268,6 +270,8 @@
268270
compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
269271
reg = <0x400 0x200>;
270272
interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>;
273+
#address-cells = <1>;
274+
#size-cells = <0>;
271275
clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
272276
clock-names = "spi_clk";
273277
dmas = <&dma0
@@ -768,6 +772,8 @@
768772
compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
769773
reg = <0x400 0x200>;
770774
interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>;
775+
#address-cells = <1>;
776+
#size-cells = <0>;
771777
clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
772778
clock-names = "spi_clk";
773779
dmas = <&dma0
@@ -839,6 +845,8 @@
839845
compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
840846
reg = <0x400 0x200>;
841847
interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>;
848+
#address-cells = <1>;
849+
#size-cells = <0>;
842850
clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
843851
clock-names = "spi_clk";
844852
dmas = <&dma0
@@ -910,6 +918,8 @@
910918
compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
911919
reg = <0x400 0x200>;
912920
interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>;
921+
#address-cells = <1>;
922+
#size-cells = <0>;
913923
clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
914924
clock-names = "spi_clk";
915925
dmas = <&dma0
@@ -981,6 +991,8 @@
981991
compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
982992
reg = <0x400 0x200>;
983993
interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>;
994+
#address-cells = <1>;
995+
#size-cells = <0>;
984996
clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
985997
clock-names = "spi_clk";
986998
dmas = <&dma0

0 commit comments

Comments
 (0)