1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/mtd/denali,nand.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Denali NAND controller
10 - Masahiro Yamada <yamada.masahiro@socionext.com>
15 - altr,socfpga-denali-nand
16 - socionext,uniphier-denali-nand-v5a
17 - socionext,uniphier-denali-nand-v5b
21 There are two register regions:
22 nand_data: host data/command interface
23 denali_reg: register interface
37 There are three clocks:
38 nand: controller core clock
39 nand_x: bus interface clock
40 ecc: ECC circuit clock
52 There are two optional resets:
53 nand: controller core reset
67 - $ref: nand-controller.yaml
73 const: altr,socfpga-denali-nand
91 const: socionext,uniphier-denali-nand-v5a
110 const: socionext,uniphier-denali-nand-v5b
131 unevaluatedProperties: false
135 nand-controller@ff900000 {
136 compatible = "altr,socfpga-denali-nand";
137 reg-names = "nand_data", "denali_reg";
138 reg = <0xff900000 0x20>, <0xffb80000 0x1000>;
139 interrupts = <0 144 4>;
140 clock-names = "nand", "nand_x", "ecc";
141 clocks = <&nand_clk>, <&nand_x_clk>, <&nand_ecc_clk>;
142 reset-names = "nand", "reg";
143 resets = <&nand_rst>, <&nand_reg_rst>;
144 #address-cells = <1>;