]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM64: dts: meson-gx: add the missing pwm_AO_ab node
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 22 Jan 2017 21:05:26 +0000 (22:05 +0100)
committerKevin Hilman <khilman@baylibre.com>
Fri, 27 Jan 2017 19:00:40 +0000 (11:00 -0800)
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>
arch/arm64/boot/dts/amlogic/meson-gx.dtsi

index 9212fca6eb94bc950737bc679b9d00e792247c89..9110dc1a248104af1e0009e5dc3aa1d945365d97 100644 (file)
                                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>;