@@ -1414,19 +1414,16 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand0_ale_cle>;
atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
+ atmel,nfc = <&nfc>;
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 */
- >;
- clocks = <&hsmc_clk>;
- };
+ nfc: nfc@70000000 {
+ compatible = "atmel,sama5d3-nfc";
+ reg = <0x70000000 0x10000000 /* NFC Command Registers */
+ 0xffffc000 0x00000070 /* NFC HSMC regs */
+ 0x00200000 0x00100000>; /* NFC SRAM banks */
+ clocks = <&hsmc_clk>;
};
};
};
@@ -280,20 +280,17 @@
atmel,nand-has-dma;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand>;
+ atmel,nfc = <&nfc>;
status = "disabled";
+ };
- nfc@90000000 {
- compatible = "atmel,sama5d3-nfc";
- #address-cells = <1>;
- #size-cells = <1>;
- reg = <
- 0x90000000 0x10000000 /* NFC Command Registers */
- 0xfc05c000 0x00000070 /* NFC HSMC regs */
- 0x00100000 0x00100000 /* NFC SRAM banks */
- >;
- clocks = <&hsmc_clk>;
- atmel,write-by-sram;
- };
+ nfc: nfc@90000000 {
+ compatible = "atmel,sama5d3-nfc";
+ reg = <0x90000000 0x10000000 /* NFC Command Registers */
+ 0xfc05c000 0x00000070 /* NFC HSMC regs */
+ 0x00100000 0x00100000>; /* NFC SRAM banks */
+ clocks = <&hsmc_clk>;
+ atmel,write-by-sram;
};
apb {
We have updated the atmel-nand binding to get a better representation of the NAND/NFC relationship. Update the DTs defining those NFC nodes accordingly. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> --- arch/arm/boot/dts/sama5d3.dtsi | 19 ++++++++----------- arch/arm/boot/dts/sama5d4.dtsi | 21 +++++++++------------ 2 files changed, 17 insertions(+), 23 deletions(-)