ARM64: dts: meson-gx: Add SPICC nodes
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 29 May 2017 08:09:55 +0000 (10:09 +0200)
committerKevin Hilman <khilman@baylibre.com>
Fri, 16 Jun 2017 18:24:56 +0000 (11:24 -0700)
Add nodes for the SPICC controller on GX common dtsi, GXBB and
GXL dtsi files.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gx.dtsi
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi

index 603491df9f0f9a77e808cc5982514dde1cf78359..35b8c88c3220c84c76ce1b22c8440ad8fdcbaa10 100644 (file)
                                status = "disabled";
                        };
 
+                       spicc: spi@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@8c80 {
                                compatible = "amlogic,meson-gx-spifc", "amlogic,meson-gxbb-spifc";
                                reg = <0x0 0x08c80 0x0 0x80>;
index dbd300fffa8aee9c2330d382a2c160a3ba1e12fe..17d3efdf146968b9ea60a47ec10045e49be6a4d8 100644 (file)
        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>;
 };
index 4dfc22b07bf01e9a9c180433621bdbd2f0647c4b..8d4f3160a0eefa1220e48541eb8e117441ed6c42 100644 (file)
        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>;
 };