1 Amlogic NAND Flash Controller (NFC) for GXBB/GXL/AXG family SoCs
3 This file documents the properties in addition to those available in
7 - compatible : contains one of:
8 - "amlogic,meson-gxl-nfc"
9 - "amlogic,meson-axg-nfc"
11 A list of phandle + clock-specifier pairs for the clocks listed
14 - clock-names: Should contain the following:
15 "core" - NFC module gate clock
16 "device" - device clock from eMMC sub clock controller
20 - amlogic,mmc-syscon : Required for NAND clocks, it's shared with SD/eMMC
23 Optional children nodes:
24 Children nodes represent the available nand chips.
27 see Documentation/devicetree/bindings/mtd/nand-controller.yaml for generic bindings.
29 Example demonstrate on AXG SoC:
31 sd_emmc_c_clkc: mmc@7000 {
32 compatible = "amlogic,meson-axg-mmc-clkc", "syscon";
33 reg = <0x0 0x7000 0x0 0x800>;
36 nand-controller@7800 {
37 compatible = "amlogic,meson-axg-nfc";
38 reg = <0x0 0x7800 0x0 0x100>;
41 interrupts = <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>;
43 clocks = <&clkc CLKID_SD_EMMC_C>,
44 <&sd_emmc_c_clkc CLKID_MMC_DIV>,
45 <&sd_emmc_c_clkc CLKID_MMC_PHASE_RX>,
46 <&sd_emmc_c_clkc CLKID_MMC_PHASE_TX>;
47 clock-names = "core", "device", "rx", "tx";
48 amlogic,mmc-syscon = <&sd_emmc_c_clkc>;
50 pinctrl-names = "default";
51 pinctrl-0 = <&nand_pins>;