]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: socfpga: dts: Add spi0/1 dts nodes for the Designware master SPI devices
authorStefan Roese <sr@denx.de>
Fri, 7 Nov 2014 12:50:32 +0000 (13:50 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 6 Dec 2014 12:52:47 +0000 (13:52 +0100)
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Vince Bridgers <vbridger@altera.com>
Cc: Marek Vasut <marex@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
arch/arm/dts/socfpga.dtsi

index 145e1251bb9b1470aebe42f151f794bea37577a7..969e5ad751cbcb02049fd02d6fa0c54d56a8204b 100644 (file)
                        status = "disabled";
                };
 
+               spi0: spi@fff00000 {
+                       compatible = "snps,dw-spi-mmio";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0xfff00000 0x1000>;
+                       interrupts = <0 154 4>;
+                       num-chipselect = <4>;
+                       bus-num = <0>;
+                       tx-dma-channel = <&pdma 16>;
+                       rx-dma-channel = <&pdma 17>;
+                       clocks = <&per_base_clk>;
+                       status = "disabled";
+               };
+
+               spi1: spi@fff01000 {
+                       compatible = "snps,dw-spi-mmio";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0xfff01000 0x1000>;
+                       interrupts = <0 156 4>;
+                       num-chipselect = <4>;
+                       bus-num = <1>;
+                       tx-dma-channel = <&pdma 20>;
+                       rx-dma-channel = <&pdma 21>;
+                       clocks = <&per_base_clk>;
+                       status = "disabled";
+               };
+
                /* Local timer */
                timer@fffec600 {
                        compatible = "arm,cortex-a9-twd-timer";