ARM: dts: am33xx: Add nodes for eQEP
authorDavid Lechner <david@lechnology.com>
Mon, 12 Oct 2020 21:12:27 +0000 (16:12 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 16 Nov 2020 11:32:34 +0000 (13:32 +0200)
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 <david@lechnology.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am33xx-l4.dtsi

index ea20e4bdf040e457ef6686946950a9a336f386aa..cb164dfec56d842eff240351bf77e4dc1932f0d5 100644 (file)
                                        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";
                                        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";
                                        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";