linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: imx6ul: add wdog3 node
@ 2018-02-25  1:24 Jörg Krause
  2018-02-26  8:13 ` Stefan Agner
  2018-02-28  6:25 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Jörg Krause @ 2018-02-25  1:24 UTC (permalink / raw)
  To: linux-arm-kernel

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(+)

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 at 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 at 21e8000 {
 				compatible = "fsl,imx6ul-uart",
 					     "fsl,imx6q-uart";
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH v2] ARM: dts: imx6ul: add wdog3 node
  2018-02-25  1:24 [PATCH v2] ARM: dts: imx6ul: add wdog3 node Jörg Krause
@ 2018-02-26  8:13 ` Stefan Agner
  2018-02-28  6:25 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Agner @ 2018-02-26  8:13 UTC (permalink / raw)
  To: linux-arm-kernel

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 at 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 at 21e8000 {
>  				compatible = "fsl,imx6ul-uart",
>  					     "fsl,imx6q-uart";

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] ARM: dts: imx6ul: add wdog3 node
  2018-02-25  1:24 [PATCH v2] ARM: dts: imx6ul: add wdog3 node Jörg Krause
  2018-02-26  8:13 ` Stefan Agner
@ 2018-02-28  6:25 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2018-02-28  6:25 UTC (permalink / raw)
  To: linux-arm-kernel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-28  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-25  1:24 [PATCH v2] ARM: dts: imx6ul: add wdog3 node Jörg Krause
2018-02-26  8:13 ` Stefan Agner
2018-02-28  6:25 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).