Skip to content

Commit 1d4f2ff

Browse files
maquefelarndb
authored andcommitted
dt-bindings: mtd: Add ts7200 nand-controller
Add YAML bindings for ts7200 NAND Controller. Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Mark Brown <broonie@kernel.org> Reviewed-by: Andy Shevchenko <andy@kernel.org> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 770e709 commit 1d4f2ff

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/mtd/technologic,nand.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Technologic Systems NAND controller
8+
9+
maintainers:
10+
- Nikita Shubin <nikita.shubin@maquefel.me>
11+
12+
allOf:
13+
- $ref: nand-controller.yaml
14+
15+
properties:
16+
compatible:
17+
oneOf:
18+
- const: technologic,ts7200-nand
19+
- items:
20+
- enum:
21+
- technologic,ts7300-nand
22+
- technologic,ts7260-nand
23+
- technologic,ts7250-nand
24+
- const: technologic,ts7200-nand
25+
26+
reg:
27+
maxItems: 1
28+
29+
required:
30+
- compatible
31+
- reg
32+
33+
unevaluatedProperties: false
34+
35+
examples:
36+
- |
37+
nand-controller@60000000 {
38+
compatible = "technologic,ts7200-nand";
39+
reg = <0x60000000 0x8000000>;
40+
#address-cells = <1>;
41+
#size-cells = <0>;
42+
nand@0 {
43+
reg = <0>;
44+
};
45+
};

0 commit comments

Comments
 (0)