1*4882a593SmuzhiyunBCM2835 PWM controller (Raspberry Pi controller) 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: should be "brcm,bcm2835-pwm" 5*4882a593Smuzhiyun- reg: physical base address and length of the controller's registers 6*4882a593Smuzhiyun- clocks: This clock defines the base clock frequency of the PWM hardware 7*4882a593Smuzhiyun system, the period and the duty_cycle of the PWM signal is a multiple of 8*4882a593Smuzhiyun the base period. 9*4882a593Smuzhiyun- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of 10*4882a593Smuzhiyun the cells format. 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunExamples: 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunpwm@2020c000 { 15*4882a593Smuzhiyun compatible = "brcm,bcm2835-pwm"; 16*4882a593Smuzhiyun reg = <0x2020c000 0x28>; 17*4882a593Smuzhiyun clocks = <&clk_pwm>; 18*4882a593Smuzhiyun #pwm-cells = <3>; 19*4882a593Smuzhiyun}; 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunclocks { 22*4882a593Smuzhiyun .... 23*4882a593Smuzhiyun clk_pwm: pwm { 24*4882a593Smuzhiyun compatible = "fixed-clock"; 25*4882a593Smuzhiyun reg = <3>; 26*4882a593Smuzhiyun #clock-cells = <0>; 27*4882a593Smuzhiyun clock-frequency = <9200000>; 28*4882a593Smuzhiyun }; 29*4882a593Smuzhiyun .... 30*4882a593Smuzhiyun}; 31