1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mtd/amlogic,meson-nand.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic NAND Flash Controller (NFC) for GXBB/GXL/AXG family SoCs
10 - $ref: nand-controller.yaml
13 - liang.yang@amlogic.com
18 - amlogic,meson-gxl-nfc
19 - amlogic,meson-axg-nfc
55 enum: [8, 16, 24, 30, 40, 50, 60]
57 The ECC configurations that can be supported are as follows.
58 meson-gxl-nfc 8, 16, 24, 30, 40, 50, 60
68 unevaluatedProperties: false
72 #include <dt-bindings/clock/axg-clkc.h>
73 #include <dt-bindings/interrupt-controller/arm-gic.h>
74 nand-controller@ffe07800 {
75 compatible = "amlogic,meson-axg-nfc";
76 reg = <0xffe07800 0x100>, <0xffe07000 0x800>;
77 reg-names = "nfc", "emmc";
78 interrupts = <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>;
79 clocks = <&clkc CLKID_SD_EMMC_C>, <&clkc CLKID_FCLK_DIV2>;
80 clock-names = "core", "device";
82 pinctrl-0 = <&nand_pins>;
83 pinctrl-names = "default";