NXP LPC18xx State Configurable Timer
Schema identifier ($id): "http://devicetree.org/schemas/pwm/nxp,lpc1850-sct-pwm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "nxp,lpc1850-sct-pwm"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pwm"
#pwm-cells — required here #
Exact value (const): 3
resets — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#pwm-cells"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pwm.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/lpc18xx-ccu.h>
pwm@40000000 {
compatible = "nxp,lpc1850-sct-pwm";
reg = <0x40000000 0x1000>;
clocks = <&ccu1 CLK_CPU_SCT>;
clock-names = "pwm";
#pwm-cells = <3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)