ARM: dts: rockchip: add Cortex-A9 SPI controller nodes
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3xxx.dtsi
index c873624af6aa7743be1bdb0f65522297a45c8400..7bcd698550525d1b9da0c25cf5709ec49022c319 100644 (file)
@@ -26,6 +26,8 @@
                i2c2 = &i2c2;
                i2c3 = &i2c3;
                i2c4 = &i2c4;
+               spi0 = &spi0;
+               spi1 = &spi1;
        };
 
        xin24m: oscillator {
                clock-names = "saradc", "apb_pclk";
                status = "disabled";
        };
+
+       spi0: spi@20070000 {
+               compatible = "rockchip,rk3066-spi";
+               clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
+               clock-names = "spiclk", "apb_pclk";
+               interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
+               reg = <0x20070000 0x1000>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+
+       spi1: spi@20074000 {
+               compatible = "rockchip,rk3066-spi";
+               clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
+               clock-names = "spiclk", "apb_pclk";
+               interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
+               reg = <0x20074000 0x1000>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
 };