Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mtd/arm,pl353-nand-r2p1.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: PL353 NAND Controller device tree bindings
0008 
0009 allOf:
0010   - $ref: "nand-controller.yaml"
0011 
0012 maintainers:
0013   - Miquel Raynal <miquel.raynal@bootlin.com>
0014   - Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
0015 
0016 properties:
0017   compatible:
0018     items:
0019       - const: arm,pl353-nand-r2p1
0020 
0021   reg:
0022     items:
0023       - items:
0024           - description: CS with regard to the parent ranges property
0025           - description: Offset of the memory region requested by the device
0026           - description: Length of the memory region requested by the device
0027 
0028 required:
0029   - compatible
0030   - reg
0031 
0032 unevaluatedProperties: false
0033 
0034 examples:
0035   - |
0036     smcc: memory-controller@e000e000 {
0037       compatible = "arm,pl353-smc-r2p1", "arm,primecell";
0038       reg = <0xe000e000 0x0001000>;
0039       clock-names = "memclk", "apb_pclk";
0040       clocks = <&clkc 11>, <&clkc 44>;
0041       ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */
0042                 0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */
0043                 0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */
0044       #address-cells = <2>;
0045       #size-cells = <1>;
0046 
0047       nfc0: nand-controller@0,0 {
0048         compatible = "arm,pl353-nand-r2p1";
0049         reg = <0 0 0x1000000>;
0050         #address-cells = <1>;
0051         #size-cells = <0>;
0052       };
0053     };