public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eugen Hristev <eugen.hristev@microchip.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 07/34] ARM: dts: sama7g5: add slow rc and main rc oscillators
Date: Mon, 7 Dec 2020 19:28:48 +0200	[thread overview]
Message-ID: <20201207172848.230192-1-eugen.hristev@microchip.com> (raw)
In-Reply-To: <20201205100316.179531-8-eugen.hristev@microchip.com>

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

Add slow rc and main rc oscillators to dtsi.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
Changes in v3:
- adapt slow rc frequency to real value: 32 kHz


 arch/arm/dts/sama7g5.dtsi          | 12 ++++++++++++
 arch/arm/dts/sama7g5ek-u-boot.dtsi |  8 ++++++++
 2 files changed, 20 insertions(+)

diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index 618f3a37d5..0fc7a5e197 100644
--- a/arch/arm/dts/sama7g5.dtsi
+++ b/arch/arm/dts/sama7g5.dtsi
@@ -16,6 +16,18 @@
 	compatible = "microchip,sama7g5";
 
 	clocks {
+		slow_rc_osc: slow_rc_osc {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <32000>;
+		};
+
+		main_rc: main_rc {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <12000000>;
+		};
+
 		slow_xtal: slow_xtal {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
diff --git a/arch/arm/dts/sama7g5ek-u-boot.dtsi b/arch/arm/dts/sama7g5ek-u-boot.dtsi
index c0f8f94027..06af2f74ee 100644
--- a/arch/arm/dts/sama7g5ek-u-boot.dtsi
+++ b/arch/arm/dts/sama7g5ek-u-boot.dtsi
@@ -23,6 +23,14 @@
 	};
 };
 
+&main_rc {
+	u-boot,dm-pre-reloc;
+};
+
+&slow_rc_osc {
+	u-boot,dm-pre-reloc;
+};
+
 &uart0 {
 	u-boot,dm-pre-reloc;
 };
-- 
2.25.1

  reply	other threads:[~2020-12-07 17:28 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-05 10:02 [PATCH v2 00/34] Sama7g5 Evaluation Kit support Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 01/34] ARM: dts: sama7g5: add initial DT for sama7g5 SoC Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 02/34] board: atmel: sama7g5ek: add initial support for sama7g5ek Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 03/34] board: atmel: sama7g5ek: add SYS_MALLOC_F_LEN to SYS_INIT_SP_ADDR Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 04/34] configs: sama7g5ek: set malloc pool to 68K Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 05/34] configs: sama7g5ek: enable pll driver Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 06/34] ARM: dts: sama7g5: move clock frequencies for xtals in board file Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 07/34] ARM: dts: sama7g5: add slow rc and main rc oscillators Eugen Hristev
2020-12-07 17:28   ` Eugen Hristev [this message]
2020-12-05 10:02 ` [PATCH v2 08/34] ARM: dts: sama7g5: add u-boot, dm-pre-reloc bindings for xtals Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 09/34] ARM: dts: sama7g5: add slow clock bindings Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 10/34] ARM: dts: sama7g5: add PMC bindings Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 11/34] ARM: dts: sama7g5: switch to " Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 12/34] configs: sama7g5: enable CONFIG_CPU Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 13/34] ARM: dts: sama7g5: add CPU bindings Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 14/34] configs: sama7g5: use PIT64B Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 15/34] ARM: dts: sama7g5: enable autoboot Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 16/34] ARM: dts: sama7g5: add pit64b support Eugen Hristev
2020-12-05 10:02 ` [PATCH v2 17/34] ARM: dts: at91: sama7g5: add pinctrl node Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 18/34] ARM: dts: at91: sama7g5ek: add pinctrl for sdmmc1 and flx3 Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 19/34] configs: sama7g5ek: enable mii command Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 20/34] ARM: dts: sama7g5: add GMAC0 Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 21/34] ARM: dts: sama7g5: add GMAC1 Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 22/34] board: atmel: sama7g5ek: increase arp timeout and retry count Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 23/34] configs: sama7g5ek: enable support for KSZ9131 Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 24/34] configs: sama7g5ek: enable CCF Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 25/34] ARM: dts: at91: sama7g5: add assigned clocks for sdmmc1 Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 26/34] ARM: dts: at91: sama7g5: add node for sdmmc0 Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 27/34] ARM: dts: at91: sama7g5ek: enable sdmmc0 with pinctrl Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 28/34] board: atmel: sama7g5ek: clean-up header bootcommand Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 29/34] configs: sama7g5: add mmc config for sdmmc0 Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 30/34] ARM: dts: at91: sama7g5: add flexcom1 and i2c subnode Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 31/34] ARM: dts: sama7g5ek: add i2c1 bus and eeproms Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 32/34] board: atmel: sama7g5ek: add support for MAC address retreival Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 33/34] configs: sama7g5ek: add i2c and eeprom Eugen Hristev
2020-12-05 10:03 ` [PATCH v2 34/34] ARM: dts: sama7g5ek: fix TXC pin configuration Eugen Hristev
2021-01-07  7:47 ` [PATCH v2 00/34] Sama7g5 Evaluation Kit support Eugen.Hristev at microchip.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201207172848.230192-1-eugen.hristev@microchip.com \
    --to=eugen.hristev@microchip.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox