Skip to contentSkip to conversation

ARM64: dts: meson-gx: Add SPICC nodes

PATCH Applied Neil Armstrong 3 participants 4 messages May 29, 2017 – Jun 1, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM64: dts: meson-gx: Add SPICC nodes

Add nodes for the SPICC controller on GX common dtsi, GXBB and GXL dtsi files.

---
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi   | 9 +++++++++
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 7 +++++++
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi  | 7 +++++++
 3 files changed, 23 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +9 -0
index 436b875..613719d 100644
@@ -304,6 +304,15 @@
 				status = "disabled";
 			};
 
+			spicc: spi at 8d80 {
+				compatible = "amlogic,meson-gx-spicc";
+				reg = <0x0 0x08d80 0x0 0x80>;
+				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
+				#address-cells = <1>;
+				#size-cells = <0>;
+				status = "disabled";
+			};
+
 			spifc: spi at 8c80 {
 				compatible = "amlogic,meson-gx-spifc", "amlogic,meson-gxbb-spifc";
 				reg = <0x0 0x08c80 0x0 0x80>;
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +7 -0
index 95a5d57..1734974 100644
@@ -657,6 +657,13 @@
 	clock-names = "core", "clkin0", "clkin1";
 };
 
+&spicc {
+	clocks = <&clkc CLKID_SPICC>;
+	clock-names = "core";
+	resets = <&reset RESET_PERIPHS_SPICC>;
+	num-cs = <1>;
+};
+
 &spifc {
 	clocks = <&clkc CLKID_SPI>;
 };
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +7 -0
index 42d78f0..567dde4 100644
@@ -584,6 +584,13 @@
 	clock-names = "core", "clkin0", "clkin1";
 };
 
+&spicc {
+	clocks = <&clkc CLKID_SPICC>;
+	clock-names = "core";
+	resets = <&reset RESET_PERIPHS_SPICC>;
+	num-cs = <1>;
+};
+
 &spifc {
 	clocks = <&clkc CLKID_SPI>;
 };
Signature · 1 line
1.9.1
maintainer
#2 lore raw
Quoted 8 lines · Kevin Hilman
Quoted 4 lines · Neil Armstrong

Add nodes for the SPICC controller on GX common dtsi, GXBB and GXL dtsi files.

Applied to v4.13/dt64,

Oops, this one will have to wait until we have an immutable branch in the clk tree.

Kevin

reviewer
#3 lore raw
Quoted 7 lines · Kevin Hilman
Quoted 5 lines · Kevin Hilman
Quoted 3 lines · Neil Armstrong

Add nodes for the SPICC controller on GX common dtsi, GXBB and GXL dtsi files.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Applied to v4.13/dt64,

Oops, this one will have to wait until we have an immutable branch in the clk tree.

Now available : meson-clk-headers-for-4.13

Quoted 3 lines

Kevin