12f86102bSMiquel Raynal# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22f86102bSMiquel Raynal%YAML 1.2
32f86102bSMiquel Raynal---
42f86102bSMiquel Raynal$id: http://devicetree.org/schemas/mtd/arm,pl353-nand-r2p1.yaml#
52f86102bSMiquel Raynal$schema: http://devicetree.org/meta-schemas/core.yaml#
62f86102bSMiquel Raynal
7*dd3cb467SAndrew Lunntitle: PL353 NAND Controller
82f86102bSMiquel Raynal
92f86102bSMiquel RaynalallOf:
102f86102bSMiquel Raynal  - $ref: "nand-controller.yaml"
112f86102bSMiquel Raynal
122f86102bSMiquel Raynalmaintainers:
132f86102bSMiquel Raynal  - Miquel Raynal <miquel.raynal@bootlin.com>
142f86102bSMiquel Raynal  - Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
152f86102bSMiquel Raynal
162f86102bSMiquel Raynalproperties:
172f86102bSMiquel Raynal  compatible:
182f86102bSMiquel Raynal    items:
192f86102bSMiquel Raynal      - const: arm,pl353-nand-r2p1
202f86102bSMiquel Raynal
212f86102bSMiquel Raynal  reg:
222f86102bSMiquel Raynal    items:
232f86102bSMiquel Raynal      - items:
242f86102bSMiquel Raynal          - description: CS with regard to the parent ranges property
252f86102bSMiquel Raynal          - description: Offset of the memory region requested by the device
262f86102bSMiquel Raynal          - description: Length of the memory region requested by the device
272f86102bSMiquel Raynal
282f86102bSMiquel Raynalrequired:
292f86102bSMiquel Raynal  - compatible
302f86102bSMiquel Raynal  - reg
312f86102bSMiquel Raynal
322f86102bSMiquel RaynalunevaluatedProperties: false
332f86102bSMiquel Raynal
342f86102bSMiquel Raynalexamples:
352f86102bSMiquel Raynal  - |
362f86102bSMiquel Raynal    smcc: memory-controller@e000e000 {
372f86102bSMiquel Raynal      compatible = "arm,pl353-smc-r2p1", "arm,primecell";
382f86102bSMiquel Raynal      reg = <0xe000e000 0x0001000>;
392f86102bSMiquel Raynal      clock-names = "memclk", "apb_pclk";
402f86102bSMiquel Raynal      clocks = <&clkc 11>, <&clkc 44>;
412f86102bSMiquel Raynal      ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */
422f86102bSMiquel Raynal                0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */
432f86102bSMiquel Raynal                0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */
442f86102bSMiquel Raynal      #address-cells = <2>;
452f86102bSMiquel Raynal      #size-cells = <1>;
462f86102bSMiquel Raynal
472f86102bSMiquel Raynal      nfc0: nand-controller@0,0 {
482f86102bSMiquel Raynal        compatible = "arm,pl353-nand-r2p1";
492f86102bSMiquel Raynal        reg = <0 0 0x1000000>;
502f86102bSMiquel Raynal        #address-cells = <1>;
512f86102bSMiquel Raynal        #size-cells = <0>;
522f86102bSMiquel Raynal      };
532f86102bSMiquel Raynal    };
54