OSDN Git Service

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 661137f..dacd8cf 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 d7e78dc..3ace919 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 125a8cc..e6fdba3 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>,