diff mbox series

[v2] ARM: dts: imx6ul: add wdog3 node

Message ID 20180225012446.24499-1-joerg.krause@embedded.rocks
State New
Headers show
Series [v2] ARM: dts: imx6ul: add wdog3 node | expand

Commit Message

Jörg Krause Feb. 25, 2018, 1:24 a.m. UTC
The i.MX6UL(L) has a WDOG3 located at start address 0x021E0000 in the
AIPS-2 memory region [1].

[1] i.MX 6UltraLite Applications Processor Reference Manual, Rev. 1,
    04/2016, Table-2-3 AIPS-2 memory map, p. 166

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
---
v2:
 * Fix IRQ number
---
 arch/arm/boot/dts/imx6ul.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Stefan Agner Feb. 26, 2018, 8:13 a.m. UTC | #1
On 25.02.2018 02:24, Jörg Krause wrote:
> The i.MX6UL(L) has a WDOG3 located at start address 0x021E0000 in the
> AIPS-2 memory region [1].
> 
> [1] i.MX 6UltraLite Applications Processor Reference Manual, Rev. 1,
>     04/2016, Table-2-3 AIPS-2 memory map, p. 166

And it seems that WDOG3 is also available on 6ULL, so imx6ull.dtsi
should be fine.

Reviewed-by: Stefan Agner <stefan@agner.ch>

--
Stefan

> 
> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
> ---
> v2:
>  * Fix IRQ number
> ---
>  arch/arm/boot/dts/imx6ul.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
> index 81c426e1b664..1241972b16ba 100644
> --- a/arch/arm/boot/dts/imx6ul.dtsi
> +++ b/arch/arm/boot/dts/imx6ul.dtsi
> @@ -931,6 +931,14 @@
>  				status = "disabled";
>  			};
>  
> +			wdog3: wdog@21e4000 {
> +				compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
> +				reg = <0x021e4000 0x4000>;
> +				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
> +				clocks = <&clks IMX6UL_CLK_WDOG3>;
> +				status = "disabled";
> +			};
> +
>  			uart2: serial@21e8000 {
>  				compatible = "fsl,imx6ul-uart",
>  					     "fsl,imx6q-uart";
Shawn Guo Feb. 28, 2018, 6:25 a.m. UTC | #2
On Sun, Feb 25, 2018 at 02:24:46AM +0100, Jörg Krause wrote:
> The i.MX6UL(L) has a WDOG3 located at start address 0x021E0000 in the
> AIPS-2 memory region [1].
> 
> [1] i.MX 6UltraLite Applications Processor Reference Manual, Rev. 1,
>     04/2016, Table-2-3 AIPS-2 memory map, p. 166
> 
> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index 81c426e1b664..1241972b16ba 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -931,6 +931,14 @@ 
 				status = "disabled";
 			};
 
+			wdog3: wdog@21e4000 {
+				compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
+				reg = <0x021e4000 0x4000>;
+				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clks IMX6UL_CLK_WDOG3>;
+				status = "disabled";
+			};
+
 			uart2: serial@21e8000 {
 				compatible = "fsl,imx6ul-uart",
 					     "fsl,imx6q-uart";