Thread (11 messages) 11 messages, 4 authors, 2019-05-30

RE: [EXT] Re: [PATCH] arm64: dts: ls1028a: fix watchdog device node

From: Chuanhua Han <hidden>
Date: 2019-05-17 06:11:10
Also in: linux-devicetree, lkml

-----Original Message-----
From: Shawn Guo <shawnguo@kernel.org>
Sent: 2019年5月17日 10:38
To: Chuanhua Han <redacted>
Cc: Leo Li <redacted>; mark.rutland@arm.com;
linux-arm-kernel@lists.infradead.org; devicetree@vger.kernel.org;
linux-kernel@vger.kernel.org; Ying Zhang [off-list ref]
Subject: [EXT] Re: [PATCH] arm64: dts: ls1028a: fix watchdog device node

Caution: EXT Email

On Thu, May 09, 2019 at 03:06:57PM +0800, Chuanhua Han wrote:
quoted
ls1028a platform uses sp805 watchdog, and use 1/16 platform clock as
timer clock, this patch fix device tree node.

Signed-off-by: Zhang Ying-22455 <redacted>
Signed-off-by: Chuanhua Han <redacted>
---
 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 19
++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index b04581249f0b..1510b1858246 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -285,13 +285,18 @@
                      #interrupt-cells = <2>;
              };

-             wdog0: watchdog@23c0000 {
-                     compatible = "fsl,ls1028a-wdt", "fsl,imx21-wdt";
-                     reg = <0x0 0x23c0000 0x0 0x10000>;
-                     interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
-                     clocks = <&clockgen 4 1>;
-                     big-endian;
-                     status = "disabled";
+             cluster1_core0_watchdog: wdt@c000000 {
Keep 'watchdog' as the node name,
Thanks for your replay
Do you mean replace the ‘wdt’ with ‘watchdog’?
and keep nodes sort in unit-address.
What does this mean?
Shawn
quoted
+                     compatible = "arm,sp805", "arm,primecell";
+                     reg = <0x0 0xc000000 0x0 0x1000>;
+                     clocks = <&clockgen 4 15>, <&clockgen 4 15>;
+                     clock-names = "apb_pclk", "wdog_clk";
+             };
+
+             cluster1_core1_watchdog: wdt@c010000 {
+                     compatible = "arm,sp805", "arm,primecell";
+                     reg = <0x0 0xc010000 0x0 0x1000>;
+                     clocks = <&clockgen 4 15>, <&clockgen 4 15>;
+                     clock-names = "apb_pclk", "wdog_clk";
              };

              sata: sata@3200000 {
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help