Nuvoton WPCM450 Flash Interface Unit (FIU)
Schema identifier ($id): "http://devicetree.org/schemas/spi/nuvoton,wpcm450-fiu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jonathan Neuschäfer <j.neuschaefer@gmx.net>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "nuvoton,wpcm450-fiu"
reg — required here #
Array item rules (items) #
Item 1
FIU registers
Item 2
Memory-mapped flash contents
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"control"
Item 2
Exact value (
const):"memory"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
nuvoton,shm — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
a phandle to the SHM block (see ../arm/nuvoton,shm.yaml)
Required in this object (required): "compatible", "reg", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
spi@c8000000 {
compatible = "nuvoton,wpcm450-fiu";
reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>;
#address-cells = <1>;
#size-cells = <0>;
reg-names = "control", "memory";
clocks = <&clk 0>;
nuvoton,shm = <&shm>;
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause