-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Miquel Raynal
committed
May 24, 2020
1 parent
ce33bd4
commit 8201c57
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/mtd/arasan,nand-controller.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Arasan NAND Flash Controller with ONFI 3.1 support device tree bindings | ||
|
||
allOf: | ||
- $ref: "nand-controller.yaml" | ||
|
||
maintainers: | ||
- Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com> | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- items: | ||
- enum: | ||
- xlnx,zynqmp-nand-controller | ||
- enum: | ||
- arasan,nfc-v3p10 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: Controller clock | ||
- description: NAND bus clock | ||
|
||
clock-names: | ||
items: | ||
- const: controller | ||
- const: bus | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
"#address-cells": true | ||
"#size-cells": true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- interrupts | ||
|
||
additionalProperties: true | ||
|
||
examples: | ||
- | | ||
nfc: nand-controller@ff100000 { | ||
compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10"; | ||
reg = <0x0 0xff100000 0x0 0x1000>; | ||
clock-names = "controller", "bus"; | ||
clocks = <&clk200>, <&clk100>; | ||
interrupt-parent = <&gic>; | ||
interrupts = <0 14 4>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; |