blob: e07941b69904759d490d3e1cc43ed2e6a019212b [file] [log] [blame]
Tom Rini762f85b2024-07-20 11:15:10 -06001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mtd/samsung,s5pv210-onenand.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung S5Pv210 SoC OneNAND Controller
8
9maintainers:
10 - Krzysztof Kozlowski <krzk@kernel.org>
11
12properties:
13 compatible:
14 enum:
15 - samsung,s5pv210-onenand
16
17 reg:
18 items:
19 - description: Control registers
20 - description: OneNAND interface nCE[0]
21 - description: OneNAND interface nCE[1]
22
23 clocks:
24 maxItems: 2
25
26 clock-names:
27 items:
28 - const: bus
29 - const: onenand
30
31 interrupts:
32 maxItems: 1
33
34required:
35 - compatible
36 - reg
37 - clocks
38 - clock-names
39 - interrupts
40
41allOf:
42 - $ref: nand-controller.yaml
43
44unevaluatedProperties: false
45
46examples:
47 - |
48 #include <dt-bindings/clock/s5pv210.h>
49
50 nand-controller@b0600000 {
51 compatible = "samsung,s5pv210-onenand";
52 reg = <0xb0600000 0x2000>,
53 <0xb0000000 0x20000>,
54 <0xb0040000 0x20000>;
55 clocks = <&clocks CLK_NANDXL>, <&clocks DOUT_FLASH>;
56 clock-names = "bus", "onenand";
57 interrupt-parent = <&vic1>;
58 interrupts = <31>;
59 #address-cells = <1>;
60 #size-cells = <0>;
61
62 nand@0 {
63 reg = <0>;
64 };
65 };