diff mbox series

[08/14] ARM: dts: rtd1195: Add UART resets

Message ID 20191202182205.14629-9-afaerber@suse.de (mailing list archive)
State Mainlined
Commit a4516dc56ea88331ccb9672193c8dac81f47b061
Headers show
Series ARM: dts: realtek: Introduce syscon | expand

Commit Message

Andreas Färber Dec. 2, 2019, 6:21 p.m. UTC
Associate the UART nodes with the corresponding reset controller bits.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 v1: From RTD1195 v4 series
 
 arch/arm/boot/dts/rtd1195.dtsi | 3 +++
 1 file changed, 3 insertions(+)

Comments

James Tai [戴志峰] Dec. 31, 2019, 9:28 a.m. UTC | #1
> Associate the UART nodes with the corresponding reset controller bits.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  v1: From RTD1195 v4 series
> 
>  arch/arm/boot/dts/rtd1195.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi
> index 886845e52205..09acb99083c1 100644
> --- a/arch/arm/boot/dts/rtd1195.dtsi
> +++ b/arch/arm/boot/dts/rtd1195.dtsi
> @@ -8,6 +8,7 @@
>  /memreserve/ 0x17fff000 0x00001000;
> 
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/reset/realtek,rtd1195.h>
> 
>  / {
>  	compatible = "realtek,rtd1195";
> @@ -179,6 +180,7 @@
>  		reg = <0x800 0x400>;
>  		reg-shift = <2>;
>  		reg-io-width = <4>;
> +		resets = <&iso_reset RTD1195_ISO_RSTN_UR0>;
>  		clock-frequency = <27000000>;
>  		status = "disabled";
>  	};
> @@ -190,6 +192,7 @@
>  		reg = <0x200 0x100>;
>  		reg-shift = <2>;
>  		reg-io-width = <4>;
> +		resets = <&reset2 RTD1195_RSTN_UR1>;
>  		clock-frequency = <27000000>;
>  		status = "disabled";
>  	};
> --
> 2.16.4
> 
> 
Acked-by: James Tai <james.tai@realtek.com>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi
index 886845e52205..09acb99083c1 100644
--- a/arch/arm/boot/dts/rtd1195.dtsi
+++ b/arch/arm/boot/dts/rtd1195.dtsi
@@ -8,6 +8,7 @@ 
 /memreserve/ 0x17fff000 0x00001000;
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/reset/realtek,rtd1195.h>
 
 / {
 	compatible = "realtek,rtd1195";
@@ -179,6 +180,7 @@ 
 		reg = <0x800 0x400>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		resets = <&iso_reset RTD1195_ISO_RSTN_UR0>;
 		clock-frequency = <27000000>;
 		status = "disabled";
 	};
@@ -190,6 +192,7 @@ 
 		reg = <0x200 0x100>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		resets = <&reset2 RTD1195_RSTN_UR1>;
 		clock-frequency = <27000000>;
 		status = "disabled";
 	};