From e1471fe61acf486276d36ac7b4323c034a31a068 Mon Sep 17 00:00:00 2001 From: Vignesh R Date: Mon, 9 Oct 2017 09:33:50 -0700 Subject: [PATCH] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 Enable PWM ECAP0 which will be used for display backlight. Signed-off-by: Vignesh R Signed-off-by: Santosh Shilimkar --- arch/arm/boot/dts/keystone-k2g-evm.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts index ef388de197e7..f88833ab4410 100644 --- a/arch/arm/boot/dts/keystone-k2g-evm.dts +++ b/arch/arm/boot/dts/keystone-k2g-evm.dts @@ -45,6 +45,12 @@ 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 { @@ -157,3 +163,9 @@ dr_mode = "peripheral"; status = "okay"; }; + +&ecap0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&ecap0_pins>; +}; -- 2.39.2