ARM PL172/PL175/PL176 MultiPort Memory Controller
Schema identifier ($id): "http://devicetree.org/schemas/memory-controllers/arm,pl172.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Allowed values (
enum):"arm,pl172","arm,pl175","arm,pl176"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"arm,pl172","arm,pl175","arm,pl176"
Item 2
Exact value (
const):"arm,primecell"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 2
#size-cells — required here #
Exact value (const): 1
ranges — required here #
true — No constraints added by this property rule.
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mpmcclk"
Item 2
Exact value (
const):"apb_pclk"
clock-ranges — not listed as required here #
true — No constraints added by this property rule.
resets — not listed as required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^cs[0-9]$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^flash@[0-9],[0-9a-f]+$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): /schemas/mtd/mtd-physmap.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
^(gpio|sram)@[0-9],[0-9a-f]+$ — name matches this regular expression
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
true
Allowed by this rule.
Properties and child nodes (properties) #
#address-cells — not listed as required here
Exact value (const): 2
#size-cells — not listed as required here
Exact value (const): 1
ranges — not listed as required here
true — No constraints added by this property rule.
clocks — not listed as required here
Maximum number of items (maxItems): 2
clock-ranges — not listed as required here
true — No constraints added by this property rule.
mpmc,cs — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Chip select number. Indicates to the pl0172 driver which chipselect is used for accessing the memory.
mpmc,memory-width — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 8, 16, 32
Width of the chip select memory. Must be equal to either 8, 16 or 32.
mpmc,async-page-mode — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Enable asynchronous page mode.
mpmc,cs-active-high — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Set chip select polarity to active high.
mpmc,byte-lane-low — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Set byte lane state to low.
mpmc,extended-wait — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Enable extended wait.
mpmc,buffer-enable — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Enable write buffer, option is not supported by PL175 and PL176 controllers.
mpmc,write-protect — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Enable write protect.
mpmc,read-enable-delay — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Delay from chip select assertion to read enable (RE signal) in nano seconds.
mpmc,write-enable-delay — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Delay from chip select assertion to write enable (WE signal) in nano seconds.
mpmc,output-enable-delay — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Delay from chip select assertion to output enable (OE signal) in nano seconds.
mpmc,write-access-delay — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Delay from chip select assertion to write access in nano seconds.
mpmc,read-access-delay — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Delay from chip select assertion to read access in nano seconds.
mpmc,page-mode-read-delay — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Delay for asynchronous page mode sequential accesses in nano seconds.
mpmc,turn-round-delay — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Delay between access to memory banks in nano seconds.
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "ranges", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/lpc18xx-ccu.h>
memory-controller@40005000 {
compatible = "arm,pl172", "arm,primecell";
reg = <0x40005000 0x1000>;
clocks = <&ccu1 CLK_CPU_EMCDIV>, <&ccu1 CLK_CPU_EMC>;
clock-names = "mpmcclk", "apb_pclk";
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0 0x1c000000 0x1000000
1 0 0x1d000000 0x1000000
2 0 0x1e000000 0x1000000
3 0 0x1f000000 0x1000000>;
cs0 {
#address-cells = <2>;
#size-cells = <1>;
ranges;
mpmc,cs = <0>;
mpmc,memory-width = <16>;
mpmc,byte-lane-low;
mpmc,write-enable-delay = <0>;
mpmc,output-enable-delay = <0>;
mpmc,read-enable-delay = <70>;
mpmc,page-mode-read-delay = <70>;
flash@0,0 {
compatible = "sst,sst39vf320", "cfi-flash";
reg = <0 0 0x400000>;
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "data";
reg = <0 0x400000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 12: We need a select here so we don't match all nodes with 'arm,primecell'