xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/brcm,bcm7038-pwm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom BCM7038 PWM controller (BCM7xxx Set Top Box PWM controller)
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible: must be "brcm,bcm7038-pwm"
6*c66ec88fSEmmanuel Vadot- reg: physical base address and length for this controller
7*c66ec88fSEmmanuel Vadot- #pwm-cells: should be 2. See pwm.yaml in this directory for a description
8*c66ec88fSEmmanuel Vadot  of the cells format
9*c66ec88fSEmmanuel Vadot- clocks: a phandle to the reference clock for this block which is fed through
10*c66ec88fSEmmanuel Vadot  its internal variable clock frequency generator
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot	pwm: pwm@f0408000 {
16*c66ec88fSEmmanuel Vadot		compatible = "brcm,bcm7038-pwm";
17*c66ec88fSEmmanuel Vadot		reg = <0xf0408000 0x28>;
18*c66ec88fSEmmanuel Vadot		#pwm-cells = <2>;
19*c66ec88fSEmmanuel Vadot		clocks = <&upg_fixed>;
20*c66ec88fSEmmanuel Vadot	};
21