15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25956d97fSEmmanuel Vadot%YAML 1.2 35956d97fSEmmanuel Vadot--- 45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/mtd/arm,pl353-nand-r2p1.yaml# 55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65956d97fSEmmanuel Vadot 77ef62cebSEmmanuel Vadottitle: PL353 NAND Controller 85956d97fSEmmanuel Vadot 95956d97fSEmmanuel VadotallOf: 10*fac71e4eSEmmanuel Vadot - $ref: nand-controller.yaml 115956d97fSEmmanuel Vadot 125956d97fSEmmanuel Vadotmaintainers: 135956d97fSEmmanuel Vadot - Miquel Raynal <miquel.raynal@bootlin.com> 145956d97fSEmmanuel Vadot 155956d97fSEmmanuel Vadotproperties: 165956d97fSEmmanuel Vadot compatible: 175956d97fSEmmanuel Vadot items: 185956d97fSEmmanuel Vadot - const: arm,pl353-nand-r2p1 195956d97fSEmmanuel Vadot 205956d97fSEmmanuel Vadot reg: 215956d97fSEmmanuel Vadot items: 225956d97fSEmmanuel Vadot - items: 235956d97fSEmmanuel Vadot - description: CS with regard to the parent ranges property 245956d97fSEmmanuel Vadot - description: Offset of the memory region requested by the device 255956d97fSEmmanuel Vadot - description: Length of the memory region requested by the device 265956d97fSEmmanuel Vadot 275956d97fSEmmanuel Vadotrequired: 285956d97fSEmmanuel Vadot - compatible 295956d97fSEmmanuel Vadot - reg 305956d97fSEmmanuel Vadot 315956d97fSEmmanuel VadotunevaluatedProperties: false 325956d97fSEmmanuel Vadot 335956d97fSEmmanuel Vadotexamples: 345956d97fSEmmanuel Vadot - | 355956d97fSEmmanuel Vadot smcc: memory-controller@e000e000 { 365956d97fSEmmanuel Vadot compatible = "arm,pl353-smc-r2p1", "arm,primecell"; 375956d97fSEmmanuel Vadot reg = <0xe000e000 0x0001000>; 385956d97fSEmmanuel Vadot clock-names = "memclk", "apb_pclk"; 395956d97fSEmmanuel Vadot clocks = <&clkc 11>, <&clkc 44>; 405956d97fSEmmanuel Vadot ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */ 415956d97fSEmmanuel Vadot 0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */ 425956d97fSEmmanuel Vadot 0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */ 435956d97fSEmmanuel Vadot #address-cells = <2>; 445956d97fSEmmanuel Vadot #size-cells = <1>; 455956d97fSEmmanuel Vadot 465956d97fSEmmanuel Vadot nfc0: nand-controller@0,0 { 475956d97fSEmmanuel Vadot compatible = "arm,pl353-nand-r2p1"; 485956d97fSEmmanuel Vadot reg = <0 0 0x1000000>; 495956d97fSEmmanuel Vadot #address-cells = <1>; 505956d97fSEmmanuel Vadot #size-cells = <0>; 515956d97fSEmmanuel Vadot }; 525956d97fSEmmanuel Vadot }; 53