arm64: dts: meson: add watchdog to g12-common dtsi
authorChristian Hewitt <christianshewitt@gmail.com>
Sun, 1 Nov 2020 02:10:12 +0000 (02:10 +0000)
committerKevin Hilman <khilman@baylibre.com>
Thu, 5 Nov 2020 19:24:18 +0000 (11:24 -0800)
G12 vendor kernels show the watchdog on the same address as AXG
so add the node to meson-g12-common.dtsi. GX boards inherit the
same from meson-gx.dtsi.

v2 fix typo in node name (s/wtd/wdt)

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20201101021012.24519-1-christianshewitt@gmail.com
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi

index 1e83ec5..314095b 100644 (file)
                                amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
                        };
 
+                       watchdog: wdt@f0d0 {
+                               compatible = "amlogic,meson-gxbb-wdt";
+                               reg = <0x0 0xf0d0 0x0 0x10>;
+                               clocks = <&xtal>;
+                       };
+
                        spicc0: spi@13000 {
                                compatible = "amlogic,meson-g12a-spicc";
                                reg = <0x0 0x13000 0x0 0x44>;