1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pwm/fsl,vf610-ftm-pwm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale FlexTimer Module (FTM) PWM controller
10 The same FTM PWM device can have a different endianness on different SoCs. The
11 device tree provides a property to describing this so that an operating system
12 device driver can handle all variants of the device. Refer to the table below
13 for the endianness of the FTM PWM block as integrated into the existing SoCs:
15 SoC | FTM-PWM endianness
16 --------+-------------------
21 Please see ../regmap/regmap.txt for more detail about how to specify endian
25 - Frank Li <Frank.Li@nxp.com>
48 - const: ftm_cnt_clk_en
60 $ref: /schemas/types.yaml#/definitions/flag
62 Boolean property, required if the FTM PWM registers use a big-
63 endian rather than little-endian layout.
74 unevaluatedProperties: false
78 #include <dt-bindings/clock/vf610-clock.h>
81 compatible = "fsl,vf610-ftm-pwm";
82 reg = <0x40038000 0x1000>;
84 clocks = <&clks VF610_CLK_FTM0>,
85 <&clks VF610_CLK_FTM0_EXT_SEL>,
86 <&clks VF610_CLK_FTM0_FIX_SEL>,
87 <&clks VF610_CLK_FTM0_EXT_FIX_EN>;
88 clock-names = "ftm_sys", "ftm_ext", "ftm_fix", "ftm_cnt_clk_en";
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_pwm0_1>;