xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/brcm,kona-pwm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom Kona PWM controller device tree bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis controller has 6 channels.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired Properties :
6*c66ec88fSEmmanuel Vadot- compatible: should contain "brcm,kona-pwm"
7*c66ec88fSEmmanuel Vadot- reg: physical base address and length of the controller's registers
8*c66ec88fSEmmanuel Vadot- clocks: phandle + clock specifier pair for the external clock
9*c66ec88fSEmmanuel Vadot- #pwm-cells: Should be 3. See pwm.yaml in this directory for a
10*c66ec88fSEmmanuel Vadot  description of the cells format.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotRefer to clocks/clock-bindings.txt for generic clock consumer properties.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadotpwm: pwm@3e01a000 {
17*c66ec88fSEmmanuel Vadot	compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm";
18*c66ec88fSEmmanuel Vadot	reg = <0x3e01a000 0xc4>;
19*c66ec88fSEmmanuel Vadot	clocks = <&pwm_clk>;
20*c66ec88fSEmmanuel Vadot	#pwm-cells = <3>;
21*c66ec88fSEmmanuel Vadot};
22