18c2ecf20Sopenharmony_ciBroadcom iProc PWM controller device tree bindings 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThis controller has 4 channels. 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciRequired Properties : 68c2ecf20Sopenharmony_ci- compatible: must be "brcm,iproc-pwm" 78c2ecf20Sopenharmony_ci- reg: physical base address and length of the controller's registers 88c2ecf20Sopenharmony_ci- clocks: phandle + clock specifier pair for the external clock 98c2ecf20Sopenharmony_ci- #pwm-cells: Should be 3. See pwm.yaml in this directory for a 108c2ecf20Sopenharmony_ci description of the cells format. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciRefer to clocks/clock-bindings.txt for generic clock consumer properties. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciExample: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_cipwm: pwm@18031000 { 178c2ecf20Sopenharmony_ci compatible = "brcm,iproc-pwm"; 188c2ecf20Sopenharmony_ci reg = <0x18031000 0x28>; 198c2ecf20Sopenharmony_ci clocks = <&osc>; 208c2ecf20Sopenharmony_ci #pwm-cells = <3>; 218c2ecf20Sopenharmony_ci}; 22