1*c66ec88fSEmmanuel VadotAmlogic Meson PWM Controller 2*c66ec88fSEmmanuel Vadot============================ 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotRequired properties: 5*c66ec88fSEmmanuel Vadot- compatible: Shall contain "amlogic,meson8b-pwm" 6*c66ec88fSEmmanuel Vadot or "amlogic,meson-gxbb-pwm" 7*c66ec88fSEmmanuel Vadot or "amlogic,meson-gxbb-ao-pwm" 8*c66ec88fSEmmanuel Vadot or "amlogic,meson-axg-ee-pwm" 9*c66ec88fSEmmanuel Vadot or "amlogic,meson-axg-ao-pwm" 10*c66ec88fSEmmanuel Vadot or "amlogic,meson-g12a-ee-pwm" 11*c66ec88fSEmmanuel Vadot or "amlogic,meson-g12a-ao-pwm-ab" 12*c66ec88fSEmmanuel Vadot or "amlogic,meson-g12a-ao-pwm-cd" 13*c66ec88fSEmmanuel Vadot- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of 14*c66ec88fSEmmanuel Vadot the cells format. 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotOptional properties: 17*c66ec88fSEmmanuel Vadot- clocks: Could contain one or two parents clocks phandle for each of the two 18*c66ec88fSEmmanuel Vadot PWM channels. 19*c66ec88fSEmmanuel Vadot- clock-names: Could contain at least the "clkin0" and/or "clkin1" names. 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel VadotExample: 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot pwm_ab: pwm@8550 { 24*c66ec88fSEmmanuel Vadot compatible = "amlogic,meson-gxbb-pwm"; 25*c66ec88fSEmmanuel Vadot reg = <0x0 0x08550 0x0 0x10>; 26*c66ec88fSEmmanuel Vadot #pwm-cells = <3>; 27*c66ec88fSEmmanuel Vadot clocks = <&xtal>, <&xtal>; 28*c66ec88fSEmmanuel Vadot clock-names = "clkin0", "clkin1"; 29*c66ec88fSEmmanuel Vadot } 30