xref: /freebsd/sys/contrib/device-tree/Bindings/mtd/arasan,nand-controller.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/mtd/arasan,nand-controller.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: Arasan NAND Flash Controller with ONFI 3.1 support
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel VadotallOf:
10*fac71e4eSEmmanuel Vadot  - $ref: nand-controller.yaml
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotmaintainers:
13*fac71e4eSEmmanuel Vadot  - Michal Simek <michal.simek@amd.com>
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    items:
18c66ec88fSEmmanuel Vadot      - enum:
19c66ec88fSEmmanuel Vadot          - xlnx,zynqmp-nand-controller
20c66ec88fSEmmanuel Vadot      - const: arasan,nfc-v3p10
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  reg:
23c66ec88fSEmmanuel Vadot    maxItems: 1
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot  clocks:
26c66ec88fSEmmanuel Vadot    items:
27c66ec88fSEmmanuel Vadot      - description: Controller clock
28c66ec88fSEmmanuel Vadot      - description: NAND bus clock
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot  clock-names:
31c66ec88fSEmmanuel Vadot    items:
32c66ec88fSEmmanuel Vadot      - const: controller
33c66ec88fSEmmanuel Vadot      - const: bus
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadot  interrupts:
36c66ec88fSEmmanuel Vadot    maxItems: 1
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadotrequired:
39c66ec88fSEmmanuel Vadot  - compatible
40c66ec88fSEmmanuel Vadot  - reg
41c66ec88fSEmmanuel Vadot  - clocks
42c66ec88fSEmmanuel Vadot  - clock-names
43c66ec88fSEmmanuel Vadot  - interrupts
44c66ec88fSEmmanuel Vadot
458bab661aSEmmanuel VadotunevaluatedProperties: true
46c66ec88fSEmmanuel Vadot
47c66ec88fSEmmanuel Vadotexamples:
48c66ec88fSEmmanuel Vadot  - |
49c66ec88fSEmmanuel Vadot    nfc: nand-controller@ff100000 {
50c66ec88fSEmmanuel Vadot        compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10";
51c66ec88fSEmmanuel Vadot        reg = <0xff100000 0x1000>;
52c66ec88fSEmmanuel Vadot        clock-names = "controller", "bus";
53c66ec88fSEmmanuel Vadot        clocks = <&clk200>, <&clk100>;
54c66ec88fSEmmanuel Vadot        interrupt-parent = <&gic>;
55c66ec88fSEmmanuel Vadot        interrupts = <0 14 4>;
56c66ec88fSEmmanuel Vadot        #address-cells = <1>;
57c66ec88fSEmmanuel Vadot        #size-cells = <0>;
58c66ec88fSEmmanuel Vadot    };
59