Skip to contentSkip to conversation

ARM: dts: vfxxx: Include support for dspi[23] functionality.

PATCH Applied Cory Tusar 3 participants 3 messages Nov 19, 2015 – Nov 24, 2015 Device tree bindings

lore
Share & tools
lore

Cory Tusar

author
#0 lore raw

PATCH 1/1 ARM: dts: vfxxx: Include support for dspi[23] functionality.

Extend the existing Vybrid DSPI devicetree implementation to also describe the dspi2 and dspi3 functional blocks.

---
 arch/arm/boot/dts/vfxxx.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
arch/arm/boot/dts/vfxxx.dtsi +24 -0
index 1cca43a..858e60a 100644
@@ -453,6 +453,30 @@
 				status = "disabled";
 			};
 
+			dspi2: dspi2 at 400ac000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "fsl,vf610-dspi";
+				reg = <0x400ac000 0x1000>;
+				interrupts = <69 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clks VF610_CLK_DSPI2>;
+				clock-names = "dspi";
+				spi-num-chipselects = <2>;
+				status = "disabled";
+			};
+
+			dspi3: dspi3 at 400ad000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "fsl,vf610-dspi";
+				reg = <0x400ad000 0x1000>;
+				interrupts = <70 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clks VF610_CLK_DSPI3>;
+				clock-names = "dspi";
+				spi-num-chipselects = <2>;
+				status = "disabled";
+			};
+
 			adc1: adc at 400bb000 {
 				compatible = "fsl,vf610-adc";
 				reg = <0x400bb000 0x1000>;
Signature · 1 line
2.4.10
Acked-by on v1 1/1
#1 lore raw

Verified too, looks good to me.

--
Stefan

Quoted 43 lines · Cory Tusar

Extend the existing Vybrid DSPI devicetree implementation to also describe the dspi2 and dspi3 functional blocks.

---
 arch/arm/boot/dts/vfxxx.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
arch/arm/boot/dts/vfxxx.dtsi +24 -0
index 1cca43a..858e60a 100644
@@ -453,6 +453,30 @@
 				status = "disabled";
 			};
 
+			dspi2: dspi2 at 400ac000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "fsl,vf610-dspi";
+				reg = <0x400ac000 0x1000>;
+				interrupts = <69 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clks VF610_CLK_DSPI2>;
+				clock-names = "dspi";
+				spi-num-chipselects = <2>;
+				status = "disabled";
+			};
+
+			dspi3: dspi3 at 400ad000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "fsl,vf610-dspi";
+				reg = <0x400ad000 0x1000>;
+				interrupts = <70 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clks VF610_CLK_DSPI3>;
+				clock-names = "dspi";
+				spi-num-chipselects = <2>;
+				status = "disabled";
+			};
+
 			adc1: adc at 400bb000 {
 				compatible = "fsl,vf610-adc";
 				reg = <0x400bb000 0x1000>;