LS1021A: dtsi: add ftm quad decoder entries
authorPatrick Havelange <patrick.havelange@essensium.com>
Tue, 2 Apr 2019 06:30:53 +0000 (15:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 19:33:42 +0000 (21:33 +0200)
Add the 4 Quadrature counters for this board.

Reviewed-by: Esben Haabendal <esben@haabendal.dk>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/ls1021a.dtsi

index b4f2723..b10ff58 100644 (file)
                        status = "disabled";
                };
 
+               counter0: counter@29d0000 {
+                       compatible = "fsl,ftm-quaddec";
+                       reg = <0x0 0x29d0000 0x0 0x10000>;
+                       big-endian;
+                       status = "disabled";
+               };
+
+               counter1: counter@29e0000 {
+                       compatible = "fsl,ftm-quaddec";
+                       reg = <0x0 0x29e0000 0x0 0x10000>;
+                       big-endian;
+                       status = "disabled";
+               };
+
+               counter2: counter@29f0000 {
+                       compatible = "fsl,ftm-quaddec";
+                       reg = <0x0 0x29f0000 0x0 0x10000>;
+                       big-endian;
+                       status = "disabled";
+               };
+
+               counter3: counter@2a00000 {
+                       compatible = "fsl,ftm-quaddec";
+                       reg = <0x0 0x2a00000 0x0 0x10000>;
+                       big-endian;
+                       status = "disabled";
+               };
+
                gpio0: gpio@2300000 {
                        compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
                        reg = <0x0 0x2300000 0x0 0x10000>;