From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eKkp9-0003yg-M3 for barebox@lists.infradead.org; Fri, 01 Dec 2017 12:53:49 +0000 From: Oleksij Rempel Date: Fri, 1 Dec 2017 13:52:51 +0100 Message-Id: <20171201125251.23520-4-linux@rempel-privat.de> In-Reply-To: <20171201125251.23520-1-linux@rempel-privat.de> References: <20171201125251.23520-1-linux@rempel-privat.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v1 4/4] MIPS: ar9331: add watchdog support To: barebox@lists.infradead.org Cc: Oleksij Rempel Signed-off-by: Oleksij Rempel --- 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