summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ls1021a.dtsi
diff options
context:
space:
mode:
authorPatrick Havelange <patrick.havelange@essensium.com>2019-04-02 09:30:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-25 22:33:42 +0300
commit575d927c426b83f5f8d5809f46de177cceffe40c (patch)
tree90df7df0d9ea4a1c235a3d0d095055c2cbdecf51 /arch/arm/boot/dts/ls1021a.dtsi
parentd8ea4ccfaea0b87831ac9a265bb902904e70a25d (diff)
downloadlinux-575d927c426b83f5f8d5809f46de177cceffe40c.tar.xz
LS1021A: dtsi: add ftm quad decoder entries
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>
Diffstat (limited to 'arch/arm/boot/dts/ls1021a.dtsi')
-rw-r--r--arch/arm/boot/dts/ls1021a.dtsi28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index b4f2723ecd86..b10ff5877b4c 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -446,6 +446,34 @@
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>;