[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230914064018.18790-4-zelong.dong@amlogic.com>
Date: Thu, 14 Sep 2023 14:40:18 +0800
From: zelong dong <zelong.dong@...ogic.com>
To: Neil Armstrong <neil.armstrong@...aro.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
Kevin Hilman <khilman@...libre.com>,
Rob Herring <robh+dt@...nel.org>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Jerome Brunet <jbrunet@...libre.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
CC: <linux-kernel@...r.kernel.org>,
<linux-amlogic@...ts.infradead.org>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <yonghui.yu@...ogic.com>,
<kelvin.zhang@...ogic.com>, Zelong Dong <zelong.dong@...ogic.com>,
Dmitry Rokosov <ddrokosov@...rdevices.ru>
Subject: [PATCH v4 3/3] arm64: dts: amlogic: add reset controller for Amlogic C3 SoC
From: Zelong Dong <zelong.dong@...ogic.com>
Add the reset controller device of Amlogic C3 SoC family
Signed-off-by: Zelong Dong <zelong.dong@...ogic.com>
Reviewed-by: Dmitry Rokosov <ddrokosov@...rdevices.ru>
---
arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi
index 998f5050795c..d086bfab3228 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi
@@ -6,6 +6,7 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/reset/amlogic,c3-reset.h>
/ {
cpus {
@@ -81,6 +82,12 @@ apb4: bus@...00000 {
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>;
+ reset: reset-controller@...0 {
+ compatible = "amlogic,c3-reset";
+ reg = <0x0 0x2000 0x0 0x98>;
+ #reset-cells = <1>;
+ };
+
periphs_pinctrl: pinctrl@...0 {
compatible = "amlogic,c3-periphs-pinctrl";
#address-cells = <2>;
--
2.35.1
Powered by blists - more mailing lists