From patchwork Tue Jun 5 14:43:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 10448465 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 637DF60234 for ; Tue, 5 Jun 2018 15:03:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 459F428B45 for ; Tue, 5 Jun 2018 15:03:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4014429733; Tue, 5 Jun 2018 15:03:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C3EA329A23 for ; Tue, 5 Jun 2018 15:02:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=h0ew0dWY0N0tZvu45mAItoIhg0Yyi5ahmoxR8SKrwok=; b=F9ea92tPP3GTola3/fZLnYTrH/ IUiuQA5IAJIVdnp1BtiBH1cgHctuc8PRdR+GErxnDDdKd1THCAVhprDlBZXSIxWfBoNqg7o7wvglx PLirs6X/gLa4SgpzizHK1TALyYVE1+ZPGuxNlaT71L2X/yWouCvjruIYW5XHuB2EgCk4L6jiIiX41 INLcRoKydhi8rJW3Ap8nVxi7AWd14UcoM82GNMMg4i8QzN+dUUF6FnV7qEBPVlbhiDf9fp3ABsbk2 LV6mNm0sE2EvQ2txx/kJjrvHGscTo2XjoUOCrOVrDj2eV7eZjSRyFdG1vjDtHBCzB0S+Ugj3RA7Kp U7qzTocA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQDTO-000274-Da; Tue, 05 Jun 2018 15:02:10 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQDSW-0001RY-TM for linux-arm-kernel@bombadil.infradead.org; Tue, 05 Jun 2018 15:01:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ull6UYod+25VavtYA9TgiWSaBLbZw+L5240/9odQEsc=; b=cjgwSiDaWAahwodV6J9cZ4+FA 69IYCpVrPxuPXVKheXMnx6A56pmrDJUg5OZ/e7J4KZIf9F6mZs+Co78JtbNp+YLLM5h5kLWhsBZ3z XPVqwIslS0G8JCsA/fcxQyvD9UYrPTHtVgayxlIliIqr1unQ992ATL20FTPTZrDYkcjnLcac/N2O6 HSCI5QbCK3uR7SvpBRMH8sGITPNdumwEKO7eZ1v8Ifiw7xOCrVLtOZouRcRsPnvUHet8zsm1+WIwK FQRvyFHc5ODEs914uK8oAEg96dXlLBDbR9/5k6RxVZfNxTwFPMW0NAUcXaNSV3ts67jA7OIO49osc 1dVxedjWA==; Received: from mail.nic.cz ([2001:1488:800:400::400]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQDCC-0006rC-2v for linux-arm-kernel@lists.infradead.org; Tue, 05 Jun 2018 14:44:25 +0000 Received: from dellmb.labs.office.nic.cz (unknown [IPv6:2001:1488:fffe:6:cac7:3539:7f1f:463]) by mail.nic.cz (Postfix) with ESMTP id 240446012C; Tue, 5 Jun 2018 16:44:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1528209847; bh=q4xSPd7m6fNclzgFNarioPxjVGP8VVt/YbtppsTKw6A=; h=From:To:Date; b=Z7yzXT0wdRoc4PN92h1HVbUIu5HzNaN/oWWzaLRM3XIMkmXufYGGeYinIhgFnqc4t cQca/zS6hzR73FySeCkRcTMaakCco2/dP0w3fXwTgS5+NktoSxgz+B7Wq8Vfc8ywcl fts663EJHGdx+eai/oJjDnVTfHm5HU9VQpCqYooU= From: =?UTF-8?q?Marek=20Beh=C3=BAn?= To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/2] arm64: dts: marvell: armada-37xx: add nodes to support watchdog Date: Tue, 5 Jun 2018 16:43:45 +0200 Message-Id: <20180605144345.2021-2-marek.behun@nic.cz> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180605144345.2021-1-marek.behun@nic.cz> References: <20180605144345.2021-1-marek.behun@nic.cz> X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180605_104424_390691_7DD07D1C X-CRM114-Status: UNSURE ( 7.20 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gregory CLEMENT , =?UTF-8?q?Marek=20Beh=C3=BAn?= MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the system controller node for CPU Miscellaneous Registers (which is needed for the watchdog node) and the watchdog node. Signed-off-by: Marek Behun diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index 8cd43ce38571..8388793f10ac 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -101,6 +101,11 @@ /* 32M internal register @ 0xd000_0000 */ ranges = <0x0 0x0 0xd0000000 0x2000000>; + cpu_misc: system-controller@d000 { + compatible = "syscon", "simple-mfd"; + reg = <0xd000 0x1000>; + }; + spi0: spi@10600 { compatible = "marvell,armada-3700-spi"; #address-cells = <1>; @@ -142,6 +147,13 @@ status = "disabled"; }; + wdt: watchdog-timer@8300 { + compatible = "marvell,armada-3700-wdt"; + reg = <0x8300 0x40>; + marvell,system-controller = <&cpu_misc>; + clocks = <&xtalclk>; + }; + nb_periph_clk: nb-periph-clk@13000 { compatible = "marvell,armada-3700-periph-clock-nb"; reg = <0x13000 0x100>;