xref: /freebsd-src/sys/contrib/device-tree/Bindings/pwm/pwm-berlin.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBerlin PWM controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: should be "marvell,berlin-pwm"
5*c66ec88fSEmmanuel Vadot- reg: physical base address and length of the controller's registers
6*c66ec88fSEmmanuel Vadot- clocks: phandle to the input clock
7*c66ec88fSEmmanuel Vadot- #pwm-cells: should be 3. See pwm.yaml in this directory for a description of
8*c66ec88fSEmmanuel Vadot  the cells format.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotExample:
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadotpwm: pwm@f7f20000 {
13*c66ec88fSEmmanuel Vadot	compatible = "marvell,berlin-pwm";
14*c66ec88fSEmmanuel Vadot	reg = <0xf7f20000 0x40>;
15*c66ec88fSEmmanuel Vadot	clocks = <&chip_clk CLKID_CFG>;
16*c66ec88fSEmmanuel Vadot	#pwm-cells = <3>;
17*c66ec88fSEmmanuel Vadot}
18