1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/mtd/allwinner,sun4i-a10-nand.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 NAND Controller
10 - $ref: nand-controller.yaml
13 - Chen-Yu Tsai <wens@csie.org>
14 - Maxime Ripard <mripard@kernel.org>
19 - allwinner,sun4i-a10-nand
20 - allwinner,sun8i-a23-nand-controller
29 - description: Bus Clock
30 - description: Module Clock
70 Contains the native Ready/Busy IDs.
71 $ref: /schemas/types.yaml#/definitions/uint32-array
78 additionalProperties: false
87 unevaluatedProperties: false
91 #include <dt-bindings/interrupt-controller/arm-gic.h>
92 #include <dt-bindings/clock/sun6i-rtc.h>
93 #include <dt-bindings/clock/sun8i-a23-a33-ccu.h>
94 #include <dt-bindings/reset/sun8i-a23-a33-ccu.h>
96 nand-controller@1c03000 {
97 compatible = "allwinner,sun8i-a23-nand-controller";
98 reg = <0x01c03000 0x1000>;
99 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
100 clocks = <&ccu CLK_BUS_NAND>, <&ccu CLK_NAND>;
101 clock-names = "ahb", "mod";
102 resets = <&ccu RST_BUS_NAND>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&nand_pins &nand_cs0_pin &nand_rb0_pin>;
108 #address-cells = <1>;