Selaa lähdekoodia

ARM64: dts: meson-gx: add the missing pwm_AO_ab node

All Meson GX SoCs (GXBB, GXL and GXM) have a PWM controller within the
AO domain. When one of the board's LEDs is connected to one of the AO
PWM pins then this can be used to dim that LED (when the leds-pwm driver
is used).
Add the pwm_AO_ab to allow such devices to use the leds-pwm driver.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Martin Blumenstingl 8 vuotta sitten
vanhempi
commit
e48512244f
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7 0
      arch/arm64/boot/dts/amlogic/meson-gx.dtsi

+ 7 - 0
arch/arm64/boot/dts/amlogic/meson-gx.dtsi

@@ -332,6 +332,13 @@
 				status = "disabled";
 			};
 
+			pwm_AO_ab: pwm@550 {
+				compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm";
+				reg = <0x0 0x00550 0x0 0x10>;
+				#pwm-cells = <3>;
+				status = "disabled";
+			};
+
 			ir: ir@580 {
 				compatible = "amlogic,meson-gxbb-ir";
 				reg = <0x0 0x00580 0x0 0x40>;