[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181207093535.5497-3-vigneshr@ti.com>
Date: Fri, 7 Dec 2018 15:05:35 +0530
From: Vignesh R <vigneshr@...com>
To: Tero Kristo <t-kristo@...com>, Nishanth Menon <nm@...com>
CC: Rob Herring <robh+dt@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Vignesh R <vigneshr@...com>
Subject: [PATCH 2/2] arm64: dts: ti: k3-am654-base-board: Enable ECAP PWM
Enable ECAP PWM which is used for LCD backlight.
Signed-off-by: Vignesh R <vigneshr@...com>
---
arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
index bd5a0069191d..49ec2c3f5ef1 100644
--- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
@@ -76,6 +76,12 @@
AM65X_IOPAD(0x000c, PIN_INPUT, 0) /* (E21) I2C1_SDA */
>;
};
+
+ ecap0_pins_default: ecap0-pins-default {
+ pinctrl-single,pins = <
+ AM65X_IOPAD(0x0010, PIN_INPUT, 0) /* (D21) ECAP0_IN_APWM_OUT */
+ >;
+ };
};
&wkup_uart0 {
@@ -125,3 +131,8 @@
pinctrl-0 = <&main_i2c2_pins_default>;
clock-frequency = <400000>;
};
+
+&ecap0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&ecap0_pins_default>;
+};
--
2.19.2
Powered by blists - more mailing lists