Skip to contentSkip to conversation

riscv: dts: cv18xx: Drop unused dummy clocks

PATCH In review Yao Zi 2 participants 2 messages Mar 7, 2025 – Mar 25, 2025 RISC-V

lore
Share & tools
lore

Yao Zi

author
#0 lore raw

PATCH 1/1 riscv: dts: cv18xx: Drop unused dummy clocks

Introduced in commit 5a4e0625ac77 ("riscv: dts: sophgo: Add ethernet node"), eth_{csrclk,ptpclk} were used as placeholders for ethernet controller. As the real clock controller has been added, drop them to clean the devicetree up.

---
 arch/riscv/dts/cv18xx.dtsi | 14 --------------
 1 file changed, 14 deletions(-)
arch/riscv/dts/cv18xx.dtsi +0 -14
index 8a7386b76e6..6fac247e7ac 100644
@@ -46,20 +46,6 @@
 		#clock-cells = <0>;
 	};
 
-	eth_csrclk: eth-csrclk {
-		compatible = "fixed-clock";
-		clock-frequency = <250000000>;
-		clock-output-names = "eth_csrclk";
-		#clock-cells = <0x0>;
-	};
-
-	eth_ptpclk: eth-ptpclk {
-		compatible = "fixed-clock";
-		clock-frequency = <50000000>;
-		clock-output-names = "eth_ptpclk";
-		#clock-cells = <0x0>;
-	};
-
 	soc {
 		compatible = "simple-bus";
 		interrupt-parent = <&plic>;
Signature · 1 line
2.48.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Yao Zi

Introduced in commit 5a4e0625ac77 ("riscv: dts: sophgo: Add ethernet node"), eth_{csrclk,ptpclk} were used as placeholders for ethernet controller. As the real clock controller has been added, drop them to clean the devicetree up.

---
 arch/riscv/dts/cv18xx.dtsi | 14 --------------
 1 file changed, 14 deletions(-)