From: Oleksij Rempel <linux@rempel-privat.de>
To: barebox@lists.infradead.org
Cc: Oleksij Rempel <linux@rempel-privat.de>
Subject: [PATCH v2 2/5] MIPS: ar9331: add watchdog support
Date: Tue, 12 Dec 2017 18:55:54 +0100 [thread overview]
Message-ID: <20171212175557.20067-3-linux@rempel-privat.de> (raw)
In-Reply-To: <20171212175557.20067-1-linux@rempel-privat.de>
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
---
arch/mips/dts/ar9331.dtsi | 6 ++++++
drivers/watchdog/Kconfig | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/mips/dts/ar9331.dtsi b/arch/mips/dts/ar9331.dtsi
index b4b8b766b..42baae1e8 100644
--- a/arch/mips/dts/ar9331.dtsi
+++ b/arch/mips/dts/ar9331.dtsi
@@ -1,5 +1,11 @@
/ {
ahb {
+ wdt0: wdt@18060008 {
+ compatible = "qca,ar9331-wdt", "qca,ar9344-wdt";
+ reg = <0x18060008 0x8>;
+ clocks = <&pll ATH79_CLK_CPU>;
+ };
+
mac0: mac@19000000 {
compatible = "qca,ar9331-ge0";
reg = <0x18070000 0x00000100>,
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 1f04c7fba..a8f9492ac 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -12,7 +12,7 @@ if WATCHDOG
config WATCHDOG_AR9344
bool "QCA AR9344"
- depends on SOC_QCA_AR9344
+ depends on SOC_QCA_AR9344 || SOC_QCA_AR9331
help
Add support for watchdog on the QCA AR9344 SoC.
--
2.14.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2017-12-12 17:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-12 17:55 [PATCH v2 0/5] add support for DPTechnics DPT-Module v1 Oleksij Rempel
2017-12-12 17:55 ` [PATCH v2 1/5] MIPS: provide HAS_NO_BOARD_HL_CODE Oleksij Rempel
2017-12-12 17:55 ` Oleksij Rempel [this message]
2017-12-12 17:55 ` [PATCH v2 3/5] MIPS: ath79: ar9331: add generic RAM macro Oleksij Rempel
2017-12-12 17:55 ` [PATCH v2 4/5] MIPS: ath79: ar9331: add ar9331_pbl_generic_start macro Oleksij Rempel
2017-12-12 17:55 ` [PATCH v2 5/5] MIPS: add support for DPTechnics DPT-Module v1 Oleksij Rempel
2017-12-15 7:22 ` [PATCH v2 0/5] " Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171212175557.20067-3-linux@rempel-privat.de \
--to=linux@rempel-privat.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox