xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/cirrus,clps711x-pwm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Cirris Logic CLPS711X PWM controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: Shall contain "cirrus,ep7209-pwm".
5*c66ec88fSEmmanuel Vadot- reg: Physical base address and length of the controller's registers.
6*c66ec88fSEmmanuel Vadot- clocks: phandle + clock specifier pair of the PWM reference clock.
7*c66ec88fSEmmanuel Vadot- #pwm-cells: Should be 1. The cell specifies the index of the channel.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotExample:
10*c66ec88fSEmmanuel Vadot	pwm: pwm@80000400 {
11*c66ec88fSEmmanuel Vadot		compatible = "cirrus,ep7312-pwm", "cirrus,ep7209-pwm";
12*c66ec88fSEmmanuel Vadot		reg = <0x80000400 0x4>;
13*c66ec88fSEmmanuel Vadot		clocks = <&clks 8>;
14*c66ec88fSEmmanuel Vadot		#pwm-cells = <1>;
15*c66ec88fSEmmanuel Vadot	};
16