18c2ecf20Sopenharmony_ciBCM2835 PWM controller (Raspberry Pi controller)
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: should be "brcm,bcm2835-pwm"
58c2ecf20Sopenharmony_ci- reg: physical base address and length of the controller's registers
68c2ecf20Sopenharmony_ci- clocks: This clock defines the base clock frequency of the PWM hardware
78c2ecf20Sopenharmony_ci  system, the period and the duty_cycle of the PWM signal is a multiple of
88c2ecf20Sopenharmony_ci  the base period.
98c2ecf20Sopenharmony_ci- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
108c2ecf20Sopenharmony_ci  the cells format.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciExamples:
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_cipwm@2020c000 {
158c2ecf20Sopenharmony_ci	compatible = "brcm,bcm2835-pwm";
168c2ecf20Sopenharmony_ci	reg = <0x2020c000 0x28>;
178c2ecf20Sopenharmony_ci	clocks = <&clk_pwm>;
188c2ecf20Sopenharmony_ci	#pwm-cells = <3>;
198c2ecf20Sopenharmony_ci};
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciclocks {
228c2ecf20Sopenharmony_ci	....
238c2ecf20Sopenharmony_ci		clk_pwm: pwm {
248c2ecf20Sopenharmony_ci			compatible = "fixed-clock";
258c2ecf20Sopenharmony_ci			reg = <3>;
268c2ecf20Sopenharmony_ci			#clock-cells = <0>;
278c2ecf20Sopenharmony_ci			clock-frequency = <9200000>;
288c2ecf20Sopenharmony_ci		};
298c2ecf20Sopenharmony_ci	....
308c2ecf20Sopenharmony_ci};
31