Nuvoton NPCM Reset controller
Schema identifier ($id): "http://devicetree.org/schemas/reset/nuvoton,npcm750-reset.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tomer Maimon <tmaimon77@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nuvoton,npcm750-reset", "nuvoton,npcm845-reset"
reg — required here #
Maximum number of items (maxItems): 1
#reset-cells — required here #
Exact value (const): 2
#clock-cells — not listed as required here #
Exact value (const): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
specify external 25MHz reference clock.
nuvoton,sysgcr — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
a phandle to access GCR registers.
nuvoton,sw-reset-number — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 4
Contains the software reset number to restart the SoC. If not specified, software reset is disabled.
Required in this object (required): "compatible", "reg", "#reset-cells", "nuvoton,sysgcr"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)
When the condition matches (then) #
Required in this object (
required):"#clock-cells","clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>
rstc: rstc@f0801000 {
compatible = "nuvoton,npcm750-reset";
reg = <0xf0801000 0x70>;
#reset-cells = <2>;
nuvoton,sysgcr = <&gcr>;
nuvoton,sw-reset-number = <2>;
};
// Specifying reset lines connected to IP NPCM7XX modules
spi0: spi {
resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 15: Poleg NPCM7XX SoC
Line 16: Arbel NPCM8XX SoC