PL353 NAND Controller

Schema identifier ($id): "http://devicetree.org/schemas/mtd/arm,pl353-nand-r2p1.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): nand-controller.yaml

Maintainers (maintainers): "Miquel Raynal <miquel.raynal@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "arm,pl353-nand-r2p1"

reg — required here #

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

CS with regard to the parent ranges property

Item 2

Offset of the memory region requested by the device

Item 3

Length of the memory region requested by the device

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

smcc: memory-controller@e000e000 {
    compatible = "arm,pl353-smc-r2p1", "arm,primecell";
    reg = <0xe000e000 0x0001000>;
    clock-names = "memclk", "apb_pclk";
    clocks = <&clkc 11>, <&clkc 44>;
    ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */
              0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */
              0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */
    #address-cells = <2>;
    #size-cells = <1>;

    nfc0: nand-controller@0,0 {
        compatible = "arm,pl353-nand-r2p1";
        reg = <0 0 0x1000000>;
        #address-cells = <1>;
        #size-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page