ARM: dts: Fix SPI node for Arria10
Subsystems (2)
PATCH 1/2 ARM: dts: Fix SPI node for Arria10
From: Thor Thayer <[email protected]>
Remove the unused bus-num node and change num-chipselect to num-cs to match SPI bindings.
--- arch/arm/boot/dts/socfpga_arria10.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/socfpga_arria10.dtsi +1 -2
@@ -593,8 +593,7 @@ #size-cells = <0>; reg = <0xffda5000 0x100>; interrupts = <0 102 4>; - num-chipselect = <4>; - bus-num = <0>; + num-cs = <4>; /*32bit_access;*/ tx-dma-channel = <&pdma 16>; rx-dma-channel = <&pdma 17>;
Signature · 1 line
2.7.4
PATCH 2/2 ARM: dts: Add SPI0 node for Arria10
From: Thor Thayer <[email protected]>
Add the SPI0 node for Arria10.
--- arch/arm/boot/dts/socfpga_arria10.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/boot/dts/socfpga_arria10.dtsi +12 -0
@@ -587,6 +587,18 @@ status = "disabled"; }; + spi0: spi@ffda4000 { + compatible = "snps,dw-apb-ssi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xffda4000 0x100>; + interrupts = <0 101 4>; + num-cs = <4>; + /*32bit_access;*/ + clocks = <&spi_m_clk>; + status = "disabled"; + }; + spi1: spi@ffda5000 { compatible = "snps,dw-apb-ssi"; #address-cells = <1>;
Signature · 1 line
2.7.4
Hi Dinh,
Quoted 18 lines · On 05/29/2018 01:08 PM, [email protected] wrote:
From: Thor Thayer <[email protected]>
Remove the unused bus-num node and change num-chipselect to num-cs to match SPI bindings.
Fixes f2d6f8f817814 ("ARM: dts: socfpga: Add SPI Master1 for Arria10 SR chip")Signed-off-by Thor Thayer <[email protected]>--- arch/arm/boot/dts/socfpga_arria10.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)arch/arm/boot/dts/socfpga_arria10.dtsi +0
-0
arch/arm/boot/dts/socfpga_arria10.dtsi line 599
Quoted 9 lines
arch/arm/boot/dts/socfpga_arria10.dtsi +1
-2@@ -593,8 +593,7 @@ #size-cells = <0>; reg = <0xffda5000 0x100>; interrupts = <0 102 4>; - num-chipselect = <4>; - bus-num = <0>; + num-cs = <4>; /*32bit_access;*/ tx-dma-channel = <&pdma 16>; rx-dma-channel = <&pdma 17>;
Any update on this patch?
Quoted 25 lines · Thor Thayer
Hi Dinh,
Quoted 22 lines · On 05/29/2018 01:08 PM, [email protected] wrote:
From: Thor Thayer <[email protected]>
Remove the unused bus-num node and change num-chipselect to num-cs to match SPI bindings.
Fixes f2d6f8f817814 ("ARM: dts: socfpga: Add SPI Master1 for Arria10SR chip")
Signed-off-by Thor Thayer <[email protected]>---
arch/arm/boot/dts/socfpga_arria10.dtsi| 3 +--1 file changed, 1 insertion(+), 2 deletions(-)arch/arm/boot/dts/socfpga_arria10.dtsi +0
-0@@ -593,8 +593,7 @@ #size-cells = <0>; reg = <0xffda5000 0x100>; interrupts = <0 102 4>;
Quoted 8 lines
arch/arm/boot/dts/socfpga_arria10.dtsi line 599
Quoted 7 lines
arch/arm/boot/dts/socfpga_arria10.dtsi +1
-2- num-chipselect = <4>; - bus-num = <0>; + num-cs = <4>; /*32bit_access;*/ tx-dma-channel = <&pdma 16>; rx-dma-channel = <&pdma 17>;Any update on this patch?
I've applied both patches.
Thanks,
Dinh