ARM: dts: at91: sam9x60: Add nodes for EBI and NAND
authorBalamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
Tue, 25 Oct 2022 10:51:07 +0000 (16:21 +0530)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 8 Dec 2022 16:06:27 +0000 (18:06 +0200)
Add new bindings for EBI and NAND controller

Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
arch/arm/dts/sam9x60.dtsi

index a5c429e..17224ef 100644 (file)
                #size-cells = <1>;
                ranges;
 
+               ebi: ebi@10000000 {
+                       compatible = "microchip,sam9x60-ebi";
+                       #address-cells = <2>;
+                       #size-cells = <1>;
+                       atmel,smc = <&smc>;
+                       microchip,sfr = <&sfr>;
+                       reg = <0x10000000 0x60000000>;
+                       ranges = <0x0 0x0 0x10000000 0x10000000
+                                 0x1 0x0 0x20000000 0x10000000
+                                 0x2 0x0 0x30000000 0x10000000
+                                 0x3 0x0 0x40000000 0x10000000
+                                 0x4 0x0 0x50000000 0x10000000
+                                 0x5 0x0 0x60000000 0x10000000>;
+                       clocks = <&pmc PMC_TYPE_CORE 11>;
+                       status = "disabled";
+
+                       nand_controller: nand-controller {
+                               compatible = "microchip,sam9x60-nand-controller";
+                               ecc-engine = <&pmecc>;
+                               #address-cells = <2>;
+                               #size-cells = <1>;
+                               ranges;
+                               status = "disabled";
+                       };
+               };
+
                sdhci0: sdhci-host@80000000 {
                        compatible = "microchip,sam9x60-sdhci";
                        reg = <0x80000000 0x300>;
                                status = "disabled";
                        };
 
+                       sfr: sfr@f8050000 {
+                               compatible = "microchip,sam9x60-sfr", "syscon";
+                               reg = <0xf8050000 0x100>;
+                       };
+
                        dbgu: serial@fffff200 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xfffff200 0x200>;
                                };
                        };
 
+                       pmecc: ecc-engine@ffffe000 {
+                               compatible = "microchip,sam9x60-pmecc", "atmel,at91sam9g45-pmecc";
+                               reg = <0xffffe000 0x300>,
+                                     <0xffffe600 0x100>;
+                       };
+
+                       smc: smc@ffffea00 {
+                               compatible = "microchip,sam9x60-smc", "atmel,at91sam9260-smc", "syscon";
+                               reg = <0xffffea00 0x100>;
+                       };
+
                        pioA: gpio@fffff400 {
                                compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
                                reg = <0xfffff400 0x200>;