ソースを参照

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 年 前
コミット
e48512244f
1 ファイル変更7 行追加0 行削除
  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>;