6b2a3890c20585dc9d4bccfb8563b53868d76658
[openwrt/staging/neocturne.git] /
1 From 47513f6dd93b5b7d91143219c2c1fb883664ed13 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Wed, 9 Feb 2022 21:14:17 +0100
4 Subject: [PATCH] arm64: dts: broadcom: bcm4908: add watchdog block
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 BCM4908 has the same watchdog as BCM63xx devices. Use "brcm,bcm6345-wdt"
10 binding which matches the first SoC with that block.
11
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 ---
15 arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi | 9 +++++++++
16 1 file changed, 9 insertions(+)
17
18 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
19 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
20 @@ -275,6 +275,15 @@
21 twd: timer-mfd@400 {
22 compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
23 reg = <0x400 0x4c>;
24 + ranges = <0x0 0x400 0x4c>;
25 +
26 + #address-cells = <1>;
27 + #size-cells = <1>;
28 +
29 + watchdog@28 {
30 + compatible = "brcm,bcm6345-wdt";
31 + reg = <0x28 0x8>;
32 + };
33 };
34
35 gpio0: gpio-controller@500 {