1 MediaTek PWM controller
4 - compatible: should be "mediatek,<name>-pwm":
5 - "mediatek,mt2712-pwm": found on mt2712 SoC.
6 - "mediatek,mt7622-pwm": found on mt7622 SoC.
7 - "mediatek,mt7623-pwm": found on mt7623 SoC.
8 - reg: physical base address and length of the controller's registers.
9 - #pwm-cells: must be 2. See pwm.txt in this directory for a description of
11 - clocks: phandle and clock specifier of the PWM reference clock.
12 - clock-names: must contain the following:
13 - "top": the top clock generator
14 - "main": clock used by the PWM core
15 - "pwm1-8": the eight per PWM clocks for mt2712
16 - "pwm1-6": the six per PWM clocks for mt7622
17 - "pwm1-5": the five per PWM clocks for mt7623
18 - pinctrl-names: Must contain a "default" entry.
19 - pinctrl-0: One property must exist for each entry in pinctrl-names.
20 See pinctrl/pinctrl-bindings.txt for details of the property values.
24 compatible = "mediatek,mt7623-pwm";
25 reg = <0 0x11006000 0 0x1000>;
27 clocks = <&topckgen CLK_TOP_PWM_SEL>,
28 <&pericfg CLK_PERI_PWM>,
29 <&pericfg CLK_PERI_PWM1>,
30 <&pericfg CLK_PERI_PWM2>,
31 <&pericfg CLK_PERI_PWM3>,
32 <&pericfg CLK_PERI_PWM4>,
33 <&pericfg CLK_PERI_PWM5>;
34 clock-names = "top", "main", "pwm1", "pwm2",
35 "pwm3", "pwm4", "pwm5";
36 pinctrl-names = "default";
37 pinctrl-0 = <&pwm0_pins>;