Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Arasan NAND Flash Controller with ONFI 3.1 support |
| 8 | |
| 9 | allOf: |
| 10 | - $ref: nand-controller.yaml |
| 11 | |
| 12 | maintainers: |
| 13 | - Michal Simek <michal.simek@amd.com> |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | items: |
| 18 | - enum: |
| 19 | - xlnx,zynqmp-nand-controller |
| 20 | - const: arasan,nfc-v3p10 |
| 21 | |
| 22 | reg: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | clocks: |
| 26 | items: |
| 27 | - description: Controller clock |
| 28 | - description: NAND bus clock |
| 29 | |
| 30 | clock-names: |
| 31 | items: |
| 32 | - const: controller |
| 33 | - const: bus |
| 34 | |
| 35 | interrupts: |
| 36 | maxItems: 1 |
| 37 | |
| 38 | required: |
| 39 | - compatible |
| 40 | - reg |
| 41 | - clocks |
| 42 | - clock-names |
| 43 | - interrupts |
| 44 | |
| 45 | unevaluatedProperties: true |
| 46 | |
| 47 | examples: |
| 48 | - | |
| 49 | nfc: nand-controller@ff100000 { |
| 50 | compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10"; |
| 51 | reg = <0xff100000 0x1000>; |
| 52 | clock-names = "controller", "bus"; |
| 53 | clocks = <&clk200>, <&clk100>; |
| 54 | interrupt-parent = <&gic>; |
| 55 | interrupts = <0 14 4>; |
| 56 | #address-cells = <1>; |
| 57 | #size-cells = <0>; |
| 58 | }; |