mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: David Jander <david@protonic.nl>
To: barebox@lists.infradead.org
Cc: David Jander <david@protonic.nl>
Subject: [PATCH 4/8] arm: dts: Add barebox specific RK3576.dtsi
Date: Mon, 11 Aug 2025 08:40:22 +0200	[thread overview]
Message-ID: <20250811064026.753776-5-david@protonic.nl> (raw)
In-Reply-To: <20250811064026.753776-1-david@protonic.nl>

As for other Rockchip SoCs, give barebox a handle for the DMC and
set the big cluster clock rates to normal defaults.

Signed-off-by: David Jander <david@protonic.nl>
---
 arch/arm/dts/rk3576.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 arch/arm/dts/rk3576.dtsi

diff --git a/arch/arm/dts/rk3576.dtsi b/arch/arm/dts/rk3576.dtsi
new file mode 100644
index 0000000000..cf7c69b3b5
--- /dev/null
+++ b/arch/arm/dts/rk3576.dtsi
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+/ {
+	dmc: memory-controller {
+		compatible = "rockchip,rk3576-dmc";
+		rockchip,pmu = <&pmu1_grf>;
+	};
+};
+
+&scmi_clk {
+	assigned-clocks = <&scmi_clk SCMI_ARMCLK_B>;
+	assigned-clock-rates = <816000000>, <816000000>;
+};
-- 
2.47.2




  parent reply	other threads:[~2025-08-11  6:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-11  6:40 [PATCH 0/8] Add Rockchip RK3576 support David Jander
2025-08-11  6:40 ` [PATCH 1/8] clk: rockchip: clk-pll.c: Fix macro name confusion David Jander
2025-08-11  6:40 ` [PATCH 2/8] clk: rockchip: Introduce rockchip_grf_type enum from kernel driver David Jander
2025-08-11  6:40 ` [PATCH 3/8] ARM: Initial support for Rockchip RK3576 David Jander
2025-08-11  6:40 ` David Jander [this message]
2025-08-11  6:40 ` [PATCH 5/8] aiodev: rockchip_saradc.c: Add support for RK3576 David Jander
2025-08-11  6:40 ` [PATCH 6/8] gpio: gpio-rockchip.c: Add support for GPIO_TYPE_V2_2 David Jander
2025-08-11  6:40 ` [PATCH 7/8] arm: dts: rk3576.dtsi: Add gpio aliases David Jander
2025-08-11  6:40 ` [PATCH 8/8] phy: phy-rockchip-inno-usb2.c: Fix crash if phyclk isn't found David Jander
2025-08-13  5:28 ` [PATCH 0/8] Add Rockchip RK3576 support Sascha Hauer
2025-08-13  5:32 ` Sascha Hauer
2025-08-13  6:51   ` David Jander

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=20250811064026.753776-5-david@protonic.nl \
    --to=david@protonic.nl \
    --cc=barebox@lists.infradead.org \
    /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