1*c66ec88fSEmmanuel VadotAtmel PWM controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot - compatible: should be one of: 5*c66ec88fSEmmanuel Vadot - "atmel,at91sam9rl-pwm" 6*c66ec88fSEmmanuel Vadot - "atmel,sama5d3-pwm" 7*c66ec88fSEmmanuel Vadot - "atmel,sama5d2-pwm" 8*c66ec88fSEmmanuel Vadot - "microchip,sam9x60-pwm" 9*c66ec88fSEmmanuel Vadot - reg: physical base address and length of the controller's registers 10*c66ec88fSEmmanuel Vadot - #pwm-cells: Should be 3. See pwm.yaml in this directory for a 11*c66ec88fSEmmanuel Vadot description of the cells format. 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotExample: 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadot pwm0: pwm@f8034000 { 16*c66ec88fSEmmanuel Vadot compatible = "atmel,at91sam9rl-pwm"; 17*c66ec88fSEmmanuel Vadot reg = <0xf8034000 0x400>; 18*c66ec88fSEmmanuel Vadot #pwm-cells = <3>; 19*c66ec88fSEmmanuel Vadot }; 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot pwmleds { 22*c66ec88fSEmmanuel Vadot compatible = "pwm-leds"; 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot d1 { 25*c66ec88fSEmmanuel Vadot label = "d1"; 26*c66ec88fSEmmanuel Vadot pwms = <&pwm0 3 5000 0> 27*c66ec88fSEmmanuel Vadot max-brightness = <255>; 28*c66ec88fSEmmanuel Vadot }; 29*c66ec88fSEmmanuel Vadot 30*c66ec88fSEmmanuel Vadot d2 { 31*c66ec88fSEmmanuel Vadot label = "d2"; 32*c66ec88fSEmmanuel Vadot pwms = <&pwm0 1 5000 1> 33*c66ec88fSEmmanuel Vadot max-brightness = <255>; 34*c66ec88fSEmmanuel Vadot }; 35*c66ec88fSEmmanuel Vadot }; 36