xref: /freebsd-src/sys/contrib/device-tree/Bindings/pwm/spear-pwm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot== ST SPEAr SoC PWM controller ==
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: should be one of:
5*c66ec88fSEmmanuel Vadot  - "st,spear320-pwm"
6*c66ec88fSEmmanuel Vadot  - "st,spear1340-pwm"
7*c66ec88fSEmmanuel Vadot- reg: physical base address and length of the controller's registers
8*c66ec88fSEmmanuel Vadot- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of
9*c66ec88fSEmmanuel Vadot  the cells format.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotExample:
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot        pwm: pwm@a8000000 {
14*c66ec88fSEmmanuel Vadot            compatible ="st,spear320-pwm";
15*c66ec88fSEmmanuel Vadot            reg = <0xa8000000 0x1000>;
16*c66ec88fSEmmanuel Vadot            #pwm-cells = <2>;
17*c66ec88fSEmmanuel Vadot        };
18