]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: at91: sama5d2: add ssc0 definition
authorAlex <Alex.Gershgorin@qcore.com>
Sun, 4 Dec 2016 14:03:56 +0000 (16:03 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 10 Jan 2017 14:42:33 +0000 (15:42 +0100)
The sama5d2 SoC has Synchronous Serial Controller which provides
synchronous communication link with external devices.
It's generally used in audio and telecom applications such as
I2S, Short Frame Sync, Long Frame Sync.

Signed-off-by: Alex Gershgorin <alex.gershgorin@qcore.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/sama5d2.dtsi

index 5b69eff523d97a7a7a9428106dd52c324ce78d3b..22332be7214032fd3ba710def036168f3f9c2b3c 100644 (file)
                                status = "disabled";
                        };
 
+                       ssc0: ssc@f8004000 {
+                               compatible = "atmel,at91sam9g45-ssc";
+                               reg = <0xf8004000 0x4000>;
+                               interrupts = <43 IRQ_TYPE_LEVEL_HIGH 4>;
+                               dmas = <&dma0
+                                       (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+                                       AT91_XDMAC_DT_PERID(21))>,
+                                      <&dma0
+                                       (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+                                       AT91_XDMAC_DT_PERID(22))>;
+                               dma-names = "tx", "rx";
+                               clocks = <&ssc0_clk>;
+                               clock-names = "pclk";
+                               status = "disabled";
+                       };
+
                        macb0: ethernet@f8008000 {
                                compatible = "atmel,sama5d2-gem";
                                reg = <0xf8008000 0x1000>;