]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/hwspinlock.git/commitdiff
ARM: dts: keystone-k2g-evm: Enable PWM ECAP0
authorVignesh R <vigneshr@ti.com>
Mon, 9 Oct 2017 16:33:50 +0000 (09:33 -0700)
committerSantosh Shilimkar <ssantosh@kernel.org>
Tue, 10 Oct 2017 16:42:41 +0000 (09:42 -0700)
Enable PWM ECAP0 which will be used for display backlight.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
arch/arm/boot/dts/keystone-k2g-evm.dts

index ef388de197e7874809b34d1a928611b8d23248ff..f88833ab44101d978078a0c3906a600919d07264 100644 (file)
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
        };
+
+       ecap0_pins: ecap0_pins {
+               pinctrl-single,pins = <
+                       K2G_CORE_IOPAD(0x1374) (BUFFER_CLASS_B | MUX_MODE4)     /* pr1_mdio_data.ecap0_in_apwm0_out */
+               >;
+       };
 };
 
 &k2g_pinctrl {
        dr_mode = "peripheral";
        status = "okay";
 };
+
+&ecap0 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&ecap0_pins>;
+};