From: Chris Morgan <macroalpha82@gmail.com>
To: u-boot@lists.denx.de
Cc: kever.yang@rock-chips.com, philipp.tomsich@vrull.eu,
sjg@chromium.org, jonas@kwiboo.se, jagan@amarulasolutions.com,
Chris Morgan <macromorgan@hotmail.com>
Subject: [PATCH 1/4] arm: dts: rockchip: rk3566: Remove unnecessary clks from rgxx3
Date: Mon, 5 Feb 2024 12:58:52 -0600 [thread overview]
Message-ID: <20240205185855.21508-2-macroalpha82@gmail.com> (raw)
In-Reply-To: <20240205185855.21508-1-macroalpha82@gmail.com>
From: Chris Morgan <macromorgan@hotmail.com>
Remove unnecessary clock frequency defines from the RGxx3 u-boot dts.
Move the necessary defines to the RGxx3 main dts file.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
.../arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi | 31 -------------------
arch/arm/dts/rk3566-anbernic-rgxx3.dts | 7 +++++
2 files changed, 7 insertions(+), 31 deletions(-)
diff --git a/arch/arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi b/arch/arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi
index f986e1941e..ef4f81500b 100644
--- a/arch/arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi
+++ b/arch/arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi
@@ -15,37 +15,6 @@
};
};
-&cru {
- assigned-clocks =
- <&pmucru CLK_RTC_32K>,
- <&pmucru PLL_PPLL>,
- <&pmucru PCLK_PMU>, <&cru PLL_CPLL>,
- <&cru PLL_GPLL>,
- <&cru ACLK_BUS>, <&cru PCLK_BUS>,
- <&cru ACLK_TOP_HIGH>, <&cru ACLK_TOP_LOW>,
- <&cru HCLK_TOP>, <&cru PCLK_TOP>,
- <&cru ACLK_PERIMID>, <&cru HCLK_PERIMID>,
- <&cru CPLL_500M>, <&cru CPLL_333M>,
- <&cru CPLL_250M>, <&cru CPLL_125M>,
- <&cru CPLL_100M>, <&cru CPLL_62P5M>,
- <&cru CPLL_50M>, <&cru CPLL_25M>;
- assigned-clock-rates =
- <32768>,
- <200000000>,
- <100000000>, <1000000000>,
- <1188000000>,
- <150000000>, <100000000>,
- <500000000>, <400000000>,
- <150000000>, <100000000>,
- <300000000>, <150000000>,
- <500000000>, <333333333>,
- <250000000>, <125000000>,
- <100000000>, <62500000>,
- <50000000>, <25000000>;
- assigned-clock-parents =
- <&pmucru CLK_RTC32K_FRAC>;
-};
-
&dsi_dphy0 {
status = "okay";
};
diff --git a/arch/arm/dts/rk3566-anbernic-rgxx3.dts b/arch/arm/dts/rk3566-anbernic-rgxx3.dts
index 404dddfafb..9e0aa9e63b 100644
--- a/arch/arm/dts/rk3566-anbernic-rgxx3.dts
+++ b/arch/arm/dts/rk3566-anbernic-rgxx3.dts
@@ -16,3 +16,10 @@
"anbernic,rg353v", "anbernic,rg353vs",
"anbernic,rg503", "rockchip,rk3566";
};
+
+&cru {
+ assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
+ <&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
+ assigned-clock-rates = <32768>, <1200000000>,
+ <200000000>, <241500000>;
+};
--
2.34.1
next prev parent reply other threads:[~2024-02-05 18:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-05 18:58 [PATCH 0/4] Add New Devices for RGxx3 Chris Morgan
2024-02-05 18:58 ` Chris Morgan [this message]
2024-02-06 2:38 ` [PATCH 1/4] arm: dts: rockchip: rk3566: Remove unnecessary clks from rgxx3 Kever Yang
2024-02-06 3:20 ` Chris Morgan
2024-03-14 6:51 ` Kever Yang
2024-02-05 18:58 ` [PATCH 2/4] board: rockchip: Add support for Powkiddy RGB10MAX3 Chris Morgan
2024-02-06 2:45 ` Kever Yang
2024-02-05 18:58 ` [PATCH 3/4] configs: Remove unnecessary options from RGxx3 config Chris Morgan
2024-02-06 2:45 ` Kever Yang
2024-02-05 18:58 ` [PATCH 4/4] board: rockchip: Add early ADC button detect for RGxx3 Chris Morgan
2024-02-06 2:53 ` Kever Yang
2024-02-06 3:29 ` Chris Morgan
2024-03-14 6:52 ` Kever Yang
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=20240205185855.21508-2-macroalpha82@gmail.com \
--to=macroalpha82@gmail.com \
--cc=jagan@amarulasolutions.com \
--cc=jonas@kwiboo.se \
--cc=kever.yang@rock-chips.com \
--cc=macromorgan@hotmail.com \
--cc=philipp.tomsich@vrull.eu \
--cc=sjg@chromium.org \
--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