arm64: dts: fsl: add ptp timer node for dpaa2 platforms
authorYangbo Lu <yangbo.lu@nxp.com>
Fri, 14 Jun 2019 10:40:53 +0000 (18:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 20:43:06 +0000 (13:43 -0700)
This patch is to add ptp timer device tree node for dpaa2
platforms(ls1088a/ls208xa/lx2160a).

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi

index 661137ffa319ceb0b5cd62b2cc321430fad1c337..dacd8cf03a7f7a77969042707893b6fe8df8f589 100644 (file)
                                     <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               ptp-timer@8b95000 {
+                       compatible = "fsl,dpaa2-ptp";
+                       reg = <0x0 0x8b95000 0x0 0x100>;
+                       clocks = <&clockgen 4 0>;
+                       little-endian;
+                       fsl,extts-fifo;
+               };
+
                cluster1_core0_watchdog: wdt@c000000 {
                        compatible = "arm,sp805-wdt", "arm,primecell";
                        reg = <0x0 0xc000000 0x0 0x1000>;
index d7e78dcd153dc3151a7b5f7606f6cdb667768ced..3ace91945b726fc25ede7be1e80e4737f3d37660 100644 (file)
                        };
                };
 
+               ptp-timer@8b95000 {
+                       compatible = "fsl,dpaa2-ptp";
+                       reg = <0x0 0x8b95000 0x0 0x100>;
+                       clocks = <&clockgen 4 1>;
+                       little-endian;
+                       fsl,extts-fifo;
+               };
+
                fsl_mc: fsl-mc@80c000000 {
                        compatible = "fsl,qoriq-mc";
                        reg = <0x00000008 0x0c000000 0 0x40>,    /* MC portal base */
index 125a8cc2c5b3febd23d784601a240d3ce1eb8318..e6fdba39453c389f77d2bf19e47620e793cb167b 100644 (file)
                        dma-coherent;
                };
 
+               ptp-timer@8b95000 {
+                       compatible = "fsl,dpaa2-ptp";
+                       reg = <0x0 0x8b95000 0x0 0x100>;
+                       clocks = <&clockgen 4 1>;
+                       little-endian;
+                       fsl,extts-fifo;
+               };
+
                fsl_mc: fsl-mc@80c000000 {
                        compatible = "fsl,qoriq-mc";
                        reg = <0x00000008 0x0c000000 0 0x40>,