summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2017-10-09 19:33:50 +0300
committerSantosh Shilimkar <ssantosh@kernel.org>2017-10-10 19:42:41 +0300
commite1471fe61acf486276d36ac7b4323c034a31a068 (patch)
tree616b49acd377c965e09415aeb7217c071c2b53a8 /arch/arm/boot
parenta9ccafd0a33aaaff0c311593a926dff56248fd5a (diff)
downloadlinux-e1471fe61acf486276d36ac7b4323c034a31a068.tar.xz
ARM: dts: keystone-k2g-evm: Enable PWM ECAP0
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/keystone-k2g-evm.dts12
1 files changed, 12 insertions, 0 deletions
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>;
+};