xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/vt8500-pwm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotVIA/Wondermedia VT8500/WM8xxx series SoC PWM controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: should be "via,vt8500-pwm"
5*c66ec88fSEmmanuel Vadot- reg: physical base address and length of the controller's registers
6*c66ec88fSEmmanuel Vadot- #pwm-cells: should be 3. See pwm.yaml in this directory for a description of
7*c66ec88fSEmmanuel Vadot  the cells format. The only third cell flag supported by this binding is
8*c66ec88fSEmmanuel Vadot  PWM_POLARITY_INVERTED.
9*c66ec88fSEmmanuel Vadot- clocks: phandle to the PWM source clock
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotExample:
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadotpwm1: pwm@d8220000 {
14*c66ec88fSEmmanuel Vadot	#pwm-cells = <3>;
15*c66ec88fSEmmanuel Vadot	compatible = "via,vt8500-pwm";
16*c66ec88fSEmmanuel Vadot	reg = <0xd8220000 0x1000>;
17*c66ec88fSEmmanuel Vadot	clocks = <&clkpwm>;
18*c66ec88fSEmmanuel Vadot};
19