This adds new nodes for the Texas Instruments Enhanced Quadrature
Encoder Pulse (eQEP) module in the PWM subsystem on AM33XX.

Signed-off-by: David Lechner <da...@lechnology.com>
---
 arch/arm/boot/dts/am33xx-l4.dtsi | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/arch/arm/boot/dts/am33xx-l4.dtsi b/arch/arm/boot/dts/am33xx-l4.dtsi
index b88d0caa4b2d..17910268df82 100644
--- a/arch/arm/boot/dts/am33xx-l4.dtsi
+++ b/arch/arm/boot/dts/am33xx-l4.dtsi
@@ -1924,6 +1924,15 @@ ecap0: ecap@100 {
                                        status = "disabled";
                                };
 
+                               eqep0: counter@180 {
+                                       compatible = "ti,am3352-eqep";
+                                       reg = <0x180 0x80>;
+                                       clocks = <&l4ls_gclk>;
+                                       clock-names = "sysclkout";
+                                       interrupts = <79>;
+                                       status = "disabled";
+                               };
+
                                ehrpwm0: pwm@200 {
                                        compatible = "ti,am3352-ehrpwm",
                                                     "ti,am33xx-ehrpwm";
@@ -1976,6 +1985,15 @@ ecap1: ecap@100 {
                                        status = "disabled";
                                };
 
+                               eqep1: counter@180 {
+                                       compatible = "ti,am3352-eqep";
+                                       reg = <0x180 0x80>;
+                                       clocks = <&l4ls_gclk>;
+                                       clock-names = "sysclkout";
+                                       interrupts = <88>;
+                                       status = "disabled";
+                               };
+
                                ehrpwm1: pwm@200 {
                                        compatible = "ti,am3352-ehrpwm",
                                                     "ti,am33xx-ehrpwm";
@@ -2028,6 +2046,15 @@ ecap2: ecap@100 {
                                        status = "disabled";
                                };
 
+                               eqep2: counter@180 {
+                                       compatible = "ti,am3352-eqep";
+                                       reg = <0x180 0x80>;
+                                       clocks = <&l4ls_gclk>;
+                                       clock-names = "sysclkout";
+                                       interrupts = <89>;
+                                       status = "disabled";
+                               };
+
                                ehrpwm2: pwm@200 {
                                        compatible = "ti,am3352-ehrpwm",
                                                     "ti,am33xx-ehrpwm";
-- 
2.25.1

Reply via email to