U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Marangi <ansuelsmth@gmail.com>
To: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>,
	Tom Rini <trini@konsulko.com>, Lukasz Majewski <lukma@denx.de>,
	Sean Anderson <seanga2@gmail.com>,
	Christian Marangi <ansuelsmth@gmail.com>,
	Weijie Gao <weijie.gao@mediatek.com>,
	Sam Shih <sam.shih@mediatek.com>, Simon Glass <sjg@chromium.org>,
	u-boot@lists.denx.de
Subject: [PATCH 4/4] arch: arm: dts: an7581-evb: Add clock and reset nodes
Date: Sun,  9 Mar 2025 15:06:46 +0100	[thread overview]
Message-ID: <20250309140652.23543-5-ansuelsmth@gmail.com> (raw)
In-Reply-To: <20250309140652.23543-1-ansuelsmth@gmail.com>

Add clock ande reset nodes in preparation for adding support for
Ethernet and eMMC.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
 arch/arm/dts/an7581-evb.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/dts/an7581-evb.dts b/arch/arm/dts/an7581-evb.dts
index be600ad0664..7b886e1ec14 100644
--- a/arch/arm/dts/an7581-evb.dts
+++ b/arch/arm/dts/an7581-evb.dts
@@ -4,6 +4,8 @@
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/reset/airoha,en7581-reset.h>
+#include <dt-bindings/clock/en7523-clk.h>
 /dts-v1/;
 
 / {
@@ -141,4 +143,20 @@
 		clock-frequency = <1843200>;
 		bootph-all;
 	};
+
+	chip_scu: syscon@1fa20000 {
+		compatible = "airoha,en7581-chip-scu", "syscon";
+		reg = <0x0 0x1fa20000 0x0 0x388>;
+	};
+
+	scuclk: reset-controller@1fa20000 {
+		compatible = "airoha,en7581-scu", "syscon";
+		reg = <0x0 0x1fb00000 0x0 0x970>;
+		#clock-cells = <1>;
+		#reset-cells = <1>;
+
+		scu_ssr: system-controller {
+			compatible = "airoha,an7581-scu-ssr";
+		};
+	};
 };
-- 
2.48.1


  parent reply	other threads:[~2025-03-09 14:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-09 14:06 [PATCH 0/4] airoha: Add initial support AN7581 Christian Marangi
2025-03-09 14:06 ` [PATCH 1/4] airoha: Add initial support for Airoha AN7581 SoC Christian Marangi
2025-03-10 14:24   ` Tom Rini
2025-03-09 14:06 ` [PATCH 2/4] clk: airoha: Add support for Airoha AN7581 SoC clock Christian Marangi
2025-03-09 14:06 ` [PATCH 3/4] reset: airoha: Add driver for controlling reset line of AN7581 Christian Marangi
2025-03-09 14:06 ` Christian Marangi [this message]
2025-03-10 15:19 ` [PATCH 0/4] airoha: Add initial support AN7581 Tom Rini

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=20250309140652.23543-5-ansuelsmth@gmail.com \
    --to=ansuelsmth@gmail.com \
    --cc=lukma@denx.de \
    --cc=rayagonda.kokatanur@broadcom.com \
    --cc=sam.shih@mediatek.com \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=weijie.gao@mediatek.com \
    /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