arm64: dts: meson-axg: Enable watchdog on Meson AXG SoCs
diff mbox series

Message ID 20181123140552.5420-1-ccaione@baylibre.com
State New
Headers show
Series
  • arm64: dts: meson-axg: Enable watchdog on Meson AXG SoCs
Related show

Commit Message

Carlo Caione Nov. 23, 2018, 2:05 p.m. UTC
Add the watchdog node also on the AXG platforms.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Carlo Caione Nov. 23, 2018, 2:43 p.m. UTC | #1
On 23/11/2018 14:05, Carlo Caione wrote:
> Add the watchdog node also on the AXG platforms.
> 
> Signed-off-by: Carlo Caione <ccaione@baylibre.com>
> ---
>   arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> index df017dbd2e57..e8cd580665bc 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> @@ -1422,6 +1422,12 @@
>   				status = "disabled";
>   			};
>   
> +			watchdog@f0d0 {
> +				compatible = "amlogic,meson-axg-wdt", "amlogic,meson-gxbb-wdt";

The axg compatible is actually not needed. Preparing a v2.

--
Carlo Caione

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
index df017dbd2e57..e8cd580665bc 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
@@ -1422,6 +1422,12 @@ 
 				status = "disabled";
 			};
 
+			watchdog@f0d0 {
+				compatible = "amlogic,meson-axg-wdt", "amlogic,meson-gxbb-wdt";
+				reg = <0x0 0xf0d0 0x0 0x10>;
+				clocks = <&xtal>;
+			};
+
 			pwm_ab: pwm@1b000 {
 				compatible = "amlogic,meson-axg-ee-pwm";
 				reg = <0x0 0x1b000 0x0 0x20>;