From 581ae786cee4532c273986fad1ab9e3d61279b46 Mon Sep 17 00:00:00 2001 From: Martin Blumenstingl Date: Mon, 17 Apr 2017 20:38:59 +0200 Subject: [PATCH] ARM: dts: meson8: add the NAND controller This adds the NAND flash controller found in the Meson8 SoCs. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index 1bce83784dc28b..c4edfc0632109f 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -201,6 +201,25 @@ no-map; }; }; + + apb: apb@d0040000 { + compatible = "simple-bus"; + reg = <0xd0040000 0x200000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xd0040000 0x200000>; + + nand: nandc@8600 { + compatible = "amlogic,meson8-nfc", "amlogic,meson-nand"; + reg = <0x8600 0x24>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clkc CLKID_NAND>, <&clkc CLKID_NAND_CLK>; + clock-names = "mod_gate", "clk_nand"; + status = "disabled"; + }; + }; }; /* end of / */ &aobus {