Freescale i.MX PWM controller
Schema identifier ($id): "http://devicetree.org/schemas/pwm/imx-pwm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Philipp Zabel <p.zabel@pengutronix.de>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pwm.yaml#
Properties and child nodes (properties) #
#pwm-cells — not listed as required here #
The only third cell flag supported by this binding is PWM_POLARITY_INVERTED. fsl,imx1-pwm does not support this flags.
Exact value (const): 3
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx25-pwm","fsl,imx31-pwm","fsl,imx50-pwm","fsl,imx51-pwm","fsl,imx53-pwm","fsl,imx6q-pwm","fsl,imx6sl-pwm","fsl,imx6sll-pwm","fsl,imx6sx-pwm","fsl,imx6ul-pwm","fsl,imx7d-pwm","fsl,imx8mm-pwm","fsl,imx8mn-pwm","fsl,imx8mp-pwm","fsl,imx8mq-pwm","fsl,imx8qxp-pwm"Item 2
Exact value (
const):"fsl,imx27-pwm"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
SoC PWM ipg clock
Item 2
SoC PWM per clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ipg"
Item 2
Exact value (
const):"per"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "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/imx5-clock.h>
pwm@53fb4000 {
#pwm-cells = <3>;
compatible = "fsl,imx27-pwm";
reg = <0x53fb4000 0x4000>;
clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
<&clks IMX5_CLK_PWM1_HF_GATE>;
clock-names = "ipg", "per";
interrupts = <61>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)