ARM: at91/dt: sama5d3xek: Enable NFC support in dts
authorJosh Wu <josh.wu@atmel.com>
Wed, 5 Jun 2013 11:17:31 +0000 (19:17 +0800)
committerJosh Wu <josh.wu@atmel.com>
Fri, 23 Aug 2013 06:47:21 +0000 (14:47 +0800)
Signed-off-by: Josh Wu <josh.wu@atmel.com>
arch/arm/boot/dts/sama5d3.dtsi

index ff63fbb..e994cce 100644 (file)
                        compatible = "atmel,at91rm9200-nand";
                        #address-cells = <1>;
                        #size-cells = <1>;
+                       ranges;
                        reg = < 0x60000000 0x01000000   /* EBI CS3 */
                                0xffffc070 0x00000490   /* SMC PMECC regs */
                                0xffffc500 0x00000100   /* SMC PMECC Error Location regs */
                                0x00100000 0x00100000   /* ROM code */
-                               0x70000000 0x10000000   /* NFC Command Registers */
-                               0xffffc000 0x00000070   /* NFC HSMC regs */
-                               0x00200000 0x00100000   /* NFC SRAM banks */
                                >;
                        interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>;
                        atmel,nand-addr-offset = <21>;
                        pinctrl-0 = <&pinctrl_nand0_ale_cle>;
                        atmel,pmecc-lookup-table-offset = <0x10000 0x18000>;
                        status = "disabled";
+
+                       nfc@70000000 {
+                               compatible = "atmel,sama5d3-nfc";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               reg = <
+                                       0x70000000 0x10000000   /* NFC Command Registers */
+                                       0xffffc000 0x00000070   /* NFC HSMC regs */
+                                       0x00200000 0x00100000   /* NFC SRAM banks */
+                                       >;
+                       };
                };
        };
 };