mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
66b6414a20
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
47 lines
1.3 KiB
Diff
47 lines
1.3 KiB
Diff
From 4f9fb09175e87a233787a2dee1e5dabb14deb022 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Thu, 3 Nov 2022 12:00:15 +0100
|
|
Subject: [PATCH] arm64: dts: broadcom: bcmbca: bcm6858: add TWD block
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
BCM6858 contains TWD block with timers, watchdog, and reset subblocks.
|
|
Describe it.
|
|
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Link: https://lore.kernel.org/r/20221103110015.21761-1-zajec5@gmail.com
|
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
---
|
|
.../boot/dts/broadcom/bcmbca/bcm6858.dtsi | 19 +++++++++++++++++++
|
|
1 file changed, 19 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm6858.dtsi
|
|
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm6858.dtsi
|
|
@@ -109,6 +109,25 @@
|
|
#size-cells = <1>;
|
|
ranges = <0x0 0x0 0xff800000 0x62000>;
|
|
|
|
+ twd: timer-mfd@400 {
|
|
+ compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
|
|
+ reg = <0x400 0x4c>;
|
|
+ ranges = <0x0 0x400 0x4c>;
|
|
+
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <1>;
|
|
+
|
|
+ timer@0 {
|
|
+ compatible = "brcm,bcm63138-timer";
|
|
+ reg = <0x0 0x28>;
|
|
+ };
|
|
+
|
|
+ watchdog@28 {
|
|
+ compatible = "brcm,bcm6345-wdt";
|
|
+ reg = <0x28 0x8>;
|
|
+ };
|
|
+ };
|
|
+
|
|
uart0: serial@640 {
|
|
compatible = "brcm,bcm6345-uart";
|
|
reg = <0x640 0x18>;
|