18c2ecf20Sopenharmony_ciAmlogic Meson PWM Controller 28c2ecf20Sopenharmony_ci============================ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciRequired properties: 58c2ecf20Sopenharmony_ci- compatible: Shall contain "amlogic,meson8b-pwm" 68c2ecf20Sopenharmony_ci or "amlogic,meson-gxbb-pwm" 78c2ecf20Sopenharmony_ci or "amlogic,meson-gxbb-ao-pwm" 88c2ecf20Sopenharmony_ci or "amlogic,meson-axg-ee-pwm" 98c2ecf20Sopenharmony_ci or "amlogic,meson-axg-ao-pwm" 108c2ecf20Sopenharmony_ci or "amlogic,meson-g12a-ee-pwm" 118c2ecf20Sopenharmony_ci or "amlogic,meson-g12a-ao-pwm-ab" 128c2ecf20Sopenharmony_ci or "amlogic,meson-g12a-ao-pwm-cd" 138c2ecf20Sopenharmony_ci- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of 148c2ecf20Sopenharmony_ci the cells format. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciOptional properties: 178c2ecf20Sopenharmony_ci- clocks: Could contain one or two parents clocks phandle for each of the two 188c2ecf20Sopenharmony_ci PWM channels. 198c2ecf20Sopenharmony_ci- clock-names: Could contain at least the "clkin0" and/or "clkin1" names. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciExample: 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci pwm_ab: pwm@8550 { 248c2ecf20Sopenharmony_ci compatible = "amlogic,meson-gxbb-pwm"; 258c2ecf20Sopenharmony_ci reg = <0x0 0x08550 0x0 0x10>; 268c2ecf20Sopenharmony_ci #pwm-cells = <3>; 278c2ecf20Sopenharmony_ci clocks = <&xtal>, <&xtal>; 288c2ecf20Sopenharmony_ci clock-names = "clkin0", "clkin1"; 298c2ecf20Sopenharmony_ci } 30