]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: dts: stratix10/agilex: add the ptp_ref clock
authorDinh Nguyen <dinguyen@kernel.org>
Mon, 31 Aug 2020 17:56:55 +0000 (12:56 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 31 Aug 2020 17:56:55 +0000 (12:56 -0500)
Add the ptp_ref clock for the GMACs.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi

index a6fb01c7ab34e599ff39ff9e3054b640c3ff8778..0f893984c256e4317af063ab6de7b6ef1da673d9 100644 (file)
                        mac-address = [00 00 00 00 00 00];
                        resets = <&rst EMAC0_RESET>, <&rst EMAC0_OCP_RESET>;
                        reset-names = "stmmaceth", "stmmaceth-ocp";
-                       clocks = <&clkmgr STRATIX10_EMAC0_CLK>;
-                       clock-names = "stmmaceth";
+                       clocks = <&clkmgr STRATIX10_EMAC0_CLK>, <&clkmgr STRATIX10_EMAC_PTP_CLK>;
+                       clock-names = "stmmaceth", "ptp_ref";
                        tx-fifo-depth = <16384>;
                        rx-fifo-depth = <16384>;
                        snps,multicast-filter-bins = <256>;
                        mac-address = [00 00 00 00 00 00];
                        resets = <&rst EMAC1_RESET>, <&rst EMAC1_OCP_RESET>;
                        reset-names = "stmmaceth", "stmmaceth-ocp";
-                       clocks = <&clkmgr STRATIX10_EMAC1_CLK>;
-                       clock-names = "stmmaceth";
+                       clocks = <&clkmgr STRATIX10_EMAC1_CLK>, <&clkmgr STRATIX10_EMAC_PTP_CLK>;
+                       clock-names = "stmmaceth", "ptp_ref";
                        tx-fifo-depth = <16384>;
                        rx-fifo-depth = <16384>;
                        snps,multicast-filter-bins = <256>;
                        mac-address = [00 00 00 00 00 00];
                        resets = <&rst EMAC2_RESET>, <&rst EMAC2_OCP_RESET>;
                        reset-names = "stmmaceth", "stmmaceth-ocp";
-                       clocks = <&clkmgr STRATIX10_EMAC2_CLK>;
-                       clock-names = "stmmaceth";
+                       clocks = <&clkmgr STRATIX10_EMAC2_CLK>, <&clkmgr STRATIX10_EMAC_PTP_CLK>;
+                       clock-names = "stmmaceth", "ptp_ref";
                        tx-fifo-depth = <16384>;
                        rx-fifo-depth = <16384>;
                        snps,multicast-filter-bins = <256>;
index d81dd862225835c83d5e85e07af7a22976b2e8af..e1c0fcba5c2060e43003b4a282ea82d47cf8ce6b 100644 (file)
                        snps,multicast-filter-bins = <256>;
                        iommus = <&smmu 1>;
                        altr,sysmgr-syscon = <&sysmgr 0x44 0>;
-                       clocks = <&clkmgr AGILEX_EMAC0_CLK>;
-                       clock-names = "stmmaceth";
+                       clocks = <&clkmgr AGILEX_EMAC0_CLK>, <&clkmgr AGILEX_EMAC_PTP_CLK>;
+                       clock-names = "stmmaceth", "ptp_ref";
                        status = "disabled";
                };
 
                        snps,multicast-filter-bins = <256>;
                        iommus = <&smmu 2>;
                        altr,sysmgr-syscon = <&sysmgr 0x48 8>;
-                       clocks = <&clkmgr AGILEX_EMAC1_CLK>;
-                       clock-names = "stmmaceth";
+                       clocks = <&clkmgr AGILEX_EMAC1_CLK>, <&clkmgr AGILEX_EMAC_PTP_CLK>;
+                       clock-names = "stmmaceth", "ptp_ref";
                        status = "disabled";
                };
 
                        snps,multicast-filter-bins = <256>;
                        iommus = <&smmu 3>;
                        altr,sysmgr-syscon = <&sysmgr 0x4c 16>;
-                       clocks = <&clkmgr AGILEX_EMAC2_CLK>;
-                       clock-names = "stmmaceth";
+                       clocks = <&clkmgr AGILEX_EMAC2_CLK>, <&clkmgr AGILEX_EMAC_PTP_CLK>;
+                       clock-names = "stmmaceth", "ptp_ref";
                        status = "disabled";
                };