[PATCH 06/34] ARM: dts: sama7g5: move clock frequencies for xtals in board file

Eugen Hristev eugen.hristev at microchip.com
Thu Dec 3 10:28:22 CET 2020


From: Claudiu Beznea <claudiu.beznea at microchip.com>

Move clock frequencies for crystals on board specific files.

Signed-off-by: Claudiu Beznea <claudiu.beznea at microchip.com>
---
 arch/arm/dts/sama7g5.dtsi  |  2 --
 arch/arm/dts/sama7g5ek.dts | 10 ++++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index 24b6f90957..618f3a37d5 100644
--- a/arch/arm/dts/sama7g5.dtsi
+++ b/arch/arm/dts/sama7g5.dtsi
@@ -19,13 +19,11 @@
 		slow_xtal: slow_xtal {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-			clock-frequency = <0>;
 		};
 
 		main_xtal: main_xtal {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-			clock-frequency = <0>;
 		};
 
 		mck: mck {
diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts
index 41a754df6f..03c7aa07ea 100644
--- a/arch/arm/dts/sama7g5ek.dts
+++ b/arch/arm/dts/sama7g5ek.dts
@@ -23,6 +23,16 @@
 		stdout-path = "serial0:115200n8";
 	};
 
+	clocks {
+		slow_xtal: slow_xtal {
+			clock-frequency = <32768>;
+		};
+
+		main_xtal: main_xtal {
+			clock-frequency = <24000000>;
+		};
+	};
+
 	ahb {
 
 		apb {
-- 
2.25.1



More information about the U-Boot mailing list