hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
....@@ -152,8 +152,8 @@
152152 /* NetCP address range */
153153 ranges = <0 0x2000000 0x100000>;
154154
155
- clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>;
156
- clock-names = "pa_clk", "ethss_clk", "cpts";
155
+ clocks = <&clkpa>, <&clkcpgmac>;
156
+ clock-names = "pa_clk", "ethss_clk";
157157 dma-coherent;
158158
159159 ti,navigator-dmas = <&dma_gbe 22>,
....@@ -175,6 +175,22 @@
175175 tx-queue = <648>;
176176 tx-channel = "nettx";
177177
178
+ cpts {
179
+ clocks = <&cpts_refclk_mux>;
180
+ clock-names = "cpts";
181
+
182
+ cpts_refclk_mux: cpts-refclk-mux {
183
+ #clock-cells = <0>;
184
+ clocks = <&chipclk12>, <&chipclk13>,
185
+ <&timi0>, <&timi1>,
186
+ <&tsrefclk>;
187
+ ti,mux-tbl = <0x0>, <0x1>, <0x2>,
188
+ <0x3>, <0x8>;
189
+ assigned-clocks = <&cpts_refclk_mux>;
190
+ assigned-clock-parents = <&chipclk12>;
191
+ };
192
+ };
193
+
178194 interfaces {
179195 gbe0: interface-0 {
180196 slave-port = <0>;