ARM: dts: at91: sama5d2: add QSPI nodes
authorCyrille Pitchen <cyrille.pitchen@atmel.com>
Thu, 6 Jul 2017 08:35:25 +0000 (11:35 +0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 17 Jul 2017 09:09:33 +0000 (11:09 +0200)
This patch adds DT nodes for sama5d2 QSPI controllers.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
[claudiu.beznea@microchip.com: change subject to match the desired prefix]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/sama5d2.dtsi

index cc06da3943668415e9b6379dbe38d2fde36518ec..71e9d83b10de666d13af387382a79f47ca8b3327 100644 (file)
                                };
                        };
 
+                       qspi0: spi@f0020000 {
+                               compatible = "atmel,sama5d2-qspi";
+                               reg = <0xf0020000 0x100>, <0xd0000000 0x08000000>;
+                               reg-names = "qspi_base", "qspi_mmap";
+                               interrupts = <52 IRQ_TYPE_LEVEL_HIGH 7>;
+                               clocks = <&qspi0_clk>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               status = "disabled";
+                       };
+
+                       qspi1: spi@f0024000 {
+                               compatible = "atmel,sama5d2-qspi";
+                               reg = <0xf0024000 0x100>, <0xd8000000 0x08000000>;
+                               reg-names = "qspi_base", "qspi_mmap";
+                               interrupts = <53 IRQ_TYPE_LEVEL_HIGH 7>;
+                               clocks = <&qspi1_clk>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               status = "disabled";
+                       };
+
                        sha@f0028000 {
                                compatible = "atmel,at91sam9g46-sha";
                                reg = <0xf0028000 0x100>;