mt76: update to the latest version
[openwrt/staging/hauke.git] / target / linux / bcm4908 / patches-5.10 / 301-arm64-dts-broadcom-bcm4908-add-TWD-block.patch
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
2 Date: Tue, 9 Nov 2021 11:39:42 +0100
3 Subject: [PATCH] arm64: dts: broadcom: bcm4908: add TWD block
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
7
8 BCM4908 contains TWD block that provides few functions:
9 1. Timers
10 2. Wathchdog
11 3. Software reset
12
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 ---
15 .../boot/dts/broadcom/bcm4908/bcm4908.dtsi | 17 +++++++++++++----
16 1 file changed, 13 insertions(+), 4 deletions(-)
17
18 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
19 +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
20 @@ -276,6 +276,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,bcm7038-wdt";
31 + reg = <0x28 0x8>;
32 + };
33 };
34
35 gpio0: gpio-controller@500 {