-
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: pl353-nand: Describe this hardware controller
Add a yaml description of this NAND controller which is described as a subnode of the SMC bus. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/linux-mtd/20210610082040.2075611-18-miquel.raynal@bootlin.com
- Loading branch information
Miquel Raynal
committed
Jun 18, 2021
1 parent
d70c6b0
commit 2f86102
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.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,53 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/mtd/arm,pl353-nand-r2p1.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: PL353 NAND Controller device tree bindings | ||
|
||
allOf: | ||
- $ref: "nand-controller.yaml" | ||
|
||
maintainers: | ||
- Miquel Raynal <miquel.raynal@bootlin.com> | ||
- Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com> | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- const: arm,pl353-nand-r2p1 | ||
|
||
reg: | ||
items: | ||
- items: | ||
- description: CS with regard to the parent ranges property | ||
- description: Offset of the memory region requested by the device | ||
- description: Length of the memory region requested by the device | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
smcc: memory-controller@e000e000 { | ||
compatible = "arm,pl353-smc-r2p1", "arm,primecell"; | ||
reg = <0xe000e000 0x0001000>; | ||
clock-names = "memclk", "apb_pclk"; | ||
clocks = <&clkc 11>, <&clkc 44>; | ||
ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */ | ||
0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */ | ||
0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */ | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
nfc0: nand-controller@0,0 { | ||
compatible = "arm,pl353-nand-r2p1"; | ||
reg = <0 0 0x1000000>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; | ||
}; |