1*2f86102bSMiquel Raynal# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*2f86102bSMiquel Raynal%YAML 1.2 3*2f86102bSMiquel Raynal--- 4*2f86102bSMiquel Raynal$id: http://devicetree.org/schemas/mtd/arm,pl353-nand-r2p1.yaml# 5*2f86102bSMiquel Raynal$schema: http://devicetree.org/meta-schemas/core.yaml# 6*2f86102bSMiquel Raynal 7*2f86102bSMiquel Raynaltitle: PL353 NAND Controller device tree bindings 8*2f86102bSMiquel Raynal 9*2f86102bSMiquel RaynalallOf: 10*2f86102bSMiquel Raynal - $ref: "nand-controller.yaml" 11*2f86102bSMiquel Raynal 12*2f86102bSMiquel Raynalmaintainers: 13*2f86102bSMiquel Raynal - Miquel Raynal <miquel.raynal@bootlin.com> 14*2f86102bSMiquel Raynal - Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com> 15*2f86102bSMiquel Raynal 16*2f86102bSMiquel Raynalproperties: 17*2f86102bSMiquel Raynal compatible: 18*2f86102bSMiquel Raynal items: 19*2f86102bSMiquel Raynal - const: arm,pl353-nand-r2p1 20*2f86102bSMiquel Raynal 21*2f86102bSMiquel Raynal reg: 22*2f86102bSMiquel Raynal items: 23*2f86102bSMiquel Raynal - items: 24*2f86102bSMiquel Raynal - description: CS with regard to the parent ranges property 25*2f86102bSMiquel Raynal - description: Offset of the memory region requested by the device 26*2f86102bSMiquel Raynal - description: Length of the memory region requested by the device 27*2f86102bSMiquel Raynal 28*2f86102bSMiquel Raynalrequired: 29*2f86102bSMiquel Raynal - compatible 30*2f86102bSMiquel Raynal - reg 31*2f86102bSMiquel Raynal 32*2f86102bSMiquel RaynalunevaluatedProperties: false 33*2f86102bSMiquel Raynal 34*2f86102bSMiquel Raynalexamples: 35*2f86102bSMiquel Raynal - | 36*2f86102bSMiquel Raynal smcc: memory-controller@e000e000 { 37*2f86102bSMiquel Raynal compatible = "arm,pl353-smc-r2p1", "arm,primecell"; 38*2f86102bSMiquel Raynal reg = <0xe000e000 0x0001000>; 39*2f86102bSMiquel Raynal clock-names = "memclk", "apb_pclk"; 40*2f86102bSMiquel Raynal clocks = <&clkc 11>, <&clkc 44>; 41*2f86102bSMiquel Raynal ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */ 42*2f86102bSMiquel Raynal 0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */ 43*2f86102bSMiquel Raynal 0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */ 44*2f86102bSMiquel Raynal #address-cells = <2>; 45*2f86102bSMiquel Raynal #size-cells = <1>; 46*2f86102bSMiquel Raynal 47*2f86102bSMiquel Raynal nfc0: nand-controller@0,0 { 48*2f86102bSMiquel Raynal compatible = "arm,pl353-nand-r2p1"; 49*2f86102bSMiquel Raynal reg = <0 0 0x1000000>; 50*2f86102bSMiquel Raynal #address-cells = <1>; 51*2f86102bSMiquel Raynal #size-cells = <0>; 52*2f86102bSMiquel Raynal }; 53*2f86102bSMiquel Raynal }; 54