Skip to content

Commit 8201c57

Browse files
committed
dt-bindings: mtd: Document ARASAN NAND bindings
Document the Arasan NAND controller bindings. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/linux-mtd/20200519074549.23673-7-miquel.raynal@bootlin.com
1 parent ce33bd4 commit 8201c57

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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 device tree bindings
8+
9+
allOf:
10+
- $ref: "nand-controller.yaml"
11+
12+
maintainers:
13+
- Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
14+
15+
properties:
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+
43+
required:
44+
- compatible
45+
- reg
46+
- clocks
47+
- clock-names
48+
- interrupts
49+
50+
additionalProperties: true
51+
52+
examples:
53+
- |
54+
nfc: nand-controller@ff100000 {
55+
compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10";
56+
reg = <0x0 0xff100000 0x0 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+
};

0 commit comments

Comments
 (0)