diff mbox series

arm64: dts: meson: add reset controller for Meson-S4 SoC

Message ID 20220526130158.36651-1-zelong.dong@amlogic.com
State Accepted
Commit c46952d2ad4e8eafa917298aca6e3614251025cf
Headers show
Series arm64: dts: meson: add reset controller for Meson-S4 SoC | expand

Commit Message

zelong dong May 26, 2022, 1:01 p.m. UTC
Add the reset controller device of Meson-S4 SoC family

Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
---
 arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Neil Armstrong May 27, 2022, 1:45 p.m. UTC | #1
On 26/05/2022 15:01, Zelong Dong wrote:
> Add the reset controller device of Meson-S4 SoC family
> 
> Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
> ---
>   arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
> index 480afa2cc61f..c750bc60786f 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
> @@ -94,6 +94,12 @@ uart_B: serial@7a000 {
>   				clocks = <&xtal>, <&xtal>, <&xtal>;
>   				clock-names = "xtal", "pclk", "baud";
>   			};
> +
> +			reset: reset-controller@2000 {
> +				compatible = "amlogic,meson-s4-reset";
> +				reg = <0x0 0x2000 0x0 0x98>;
> +				#reset-cells = <1>;
> +			};
>   		};
>   	};
>   };

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
index 480afa2cc61f..c750bc60786f 100644
--- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
@@ -94,6 +94,12 @@  uart_B: serial@7a000 {
 				clocks = <&xtal>, <&xtal>, <&xtal>;
 				clock-names = "xtal", "pclk", "baud";
 			};
+
+			reset: reset-controller@2000 {
+				compatible = "amlogic,meson-s4-reset";
+				reg = <0x0 0x2000 0x0 0x98>;
+				#reset-cells = <1>;
+			};
 		};
 	};
 };