]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: add big-endian property back into watchdog node
authorMeng Li <Meng.Li@windriver.com>
Sun, 8 Jun 2025 03:06:16 +0000 (11:06 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 30 Jun 2025 03:42:38 +0000 (11:42 +0800)
Watchdog doesn't work on NXP ls1046ardb board because in commit
7c8ffc5555cb("arm64: dts: layerscape: remove big-endian for mmc nodes"),
it intended to remove the big-endian from mmc node, but the big-endian of
watchdog node is also removed by accident. So, add watchdog big-endian
property back.

In addition, add compatible string fsl,ls1046a-wdt, which allow big-endian
property.

Fixes: 7c8ffc5555cb ("arm64: dts: layerscape: remove big-endian for mmc nodes")
Cc: stable@vger.kernel.org
Signed-off-by: Meng Li <Meng.Li@windriver.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi

index 0baf256b44003f83dd89e8c710c6911a3f7c3121..983b2f0e87970aa5c1eedaa5305de284e30d45af 100644 (file)
                };
 
                wdog0: watchdog@2ad0000 {
-                       compatible = "fsl,imx21-wdt";
+                       compatible = "fsl,ls1046a-wdt", "fsl,imx21-wdt";
                        reg = <0x0 0x2ad0000 0x0 0x10000>;
                        interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
                                            QORIQ_CLK_PLL_DIV(2)>;
+                       big-endian;
                };
 
                edma0: dma-controller@2c00000 {