1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mtd/arasan,nand-controller.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Arasan NAND Flash Controller with ONFI 3.1 support device tree bindings
8
9allOf:
10  - $ref: "nand-controller.yaml"
11
12maintainers:
13  - Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
14
15properties:
16  compatible:
17    oneOf:
18      - items:
19        - enum:
20          - xlnx,zynqmp-nand-controller
21        - enum:
22          - arasan,nfc-v3p10
23
24  reg:
25    maxItems: 1
26
27  clocks:
28    items:
29      - description: Controller clock
30      - description: NAND bus clock
31
32  clock-names:
33    items:
34      - const: controller
35      - const: bus
36
37  interrupts:
38    maxItems: 1
39
40  "#address-cells": true
41  "#size-cells": true
42
43required:
44  - compatible
45  - reg
46  - clocks
47  - clock-names
48  - interrupts
49
50additionalProperties: true
51
52examples:
53  - |
54    nfc: nand-controller@ff100000 {
55        compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10";
56        reg = <0xff100000 0x1000>;
57        clock-names = "controller", "bus";
58        clocks = <&clk200>, <&clk100>;
59        interrupt-parent = <&gic>;
60        interrupts = <0 14 4>;
61        #address-cells = <1>;
62        #size-cells = <0>;
63    };
64