From patchwork Wed Dec 20 03:23:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 10124893 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 8C505603B5 for ; Wed, 20 Dec 2017 03:27:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75E2F296C6 for ; Wed, 20 Dec 2017 03:27:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A183296C9; Wed, 20 Dec 2017 03:27:55 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 6C233296C6 for ; Wed, 20 Dec 2017 03:27:54 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=2/keYqjU2zNxkqGa6awG/Uft37ST3e9GxjmDDh93egc=; b=NipmYczi/pZohG joO2fJ/i6QT9KDfZ8MAwhmhDwEmdH5IeFR7crVWzNaN7GHz3M6y9iODRn65ASdys4qYGNFK76IeJx pI9yWS+9cwZvIozh7sJD4+6PRltKK3+x3zvjTIegKXpvLY7SjChSPPHDiS1I7p2SI6zPa1jd0MvT/ 8nV8h8Dfj4YbNajlFl4B1orC/1cqvg/z/HtupgNR+ISIpHnD13rDtJ+fHdmM57dQ2TRVjFpyv5rV6 vHCeoQTRDdcU4m5twHWEDgzqOvjuw0STdnUOVOx088u3W14r/h3a6VBh4X9KirDLU1v7vbgFsfybh olf5CEdoP20wJS6nGItA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eRV2u-0005Zb-49; Wed, 20 Dec 2017 03:27:52 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eRV00-00035D-46 for linux-arm-kernel@lists.infradead.org; Wed, 20 Dec 2017 03:25:19 +0000 Received: by mail-pf0-x241.google.com with SMTP id m26so12026424pfj.11 for ; Tue, 19 Dec 2017 19:24:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/wyUi6qBW9HBZqnJEb+LCp2G0F/mYF37tZ1Vqe/Ir8Q=; b=vXgCLYMU8qNBSmYfvrvDsHavWGPJoDY0UdQGxBDGpA/p9+omqZFueLS+NbEJ0Xqi3F /9QqRW/vstcaut3jX/wTwsuBhkz+jqF3eOlq5HLolaZxgobUyrjM/B141TFeHfYXZJ0x JhDNoohPMk/r8h0UXZaFPdyNcCdQQDpLhkcMizxvNEi6ooo0rXLqsYmWJYe14hjVyUif JCmfWWQTFAtYgA2BcsvXbS4xT6UwE5PnUpxL9ttaotJjYd2bq2I1SO8tzo0QZZCGUZOB LT+/iGKMVvShhJtXgBWP2H/y9Zfx3ghNzLtoJVT2ZVv8OUWOlzi+3mhVIog4XI4na3vT 32Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=/wyUi6qBW9HBZqnJEb+LCp2G0F/mYF37tZ1Vqe/Ir8Q=; b=LbtX1hby1bv2O4N6/aH9JoC3EWRe1NFeBDzM+E8SZI3e444LAMY9Z30WdywhY+wNFC 5eoapEnt3KdQdlL7FQXWejSUmnXTOEfRJUVnYXg6cJNG0xZfGrI6e8SD94dnTozcdZN3 Wu8viguPbHJGqR6/qeBslJN/5PgjYHzuwzs5VExfWmSKo7m6dSreiDJ1sp8g2jGzNSA6 FFcrS/AnfTeb3EiieRu6LENwI4byVMMCVkBOOC70OHfTtp1zBR+FneGnj39I3HWTNdV2 hBIhJP6tTOK0VYjymy2SfiwadMoQl4hH2YABpjRcBPOJLx2+hv6CRooeOYtdBfeXxBYt isSw== X-Gm-Message-State: AKGB3mIIvol1D7KCe8pCwQaxJxJhF4rtUUPX1KvBbctssrhgIi/utCwN 4xaxAMTQuqOy6VZ2RODpoJM= X-Google-Smtp-Source: ACJfBosldnjSGMpc0u14zftvS7nCSl2J/kaO4HguSeb/fQ72xvjX4rfFejYzxdYf6pWUREvwBlZmbg== X-Received: by 10.98.192.202 with SMTP id g71mr5404223pfk.33.1513740291297; Tue, 19 Dec 2017 19:24:51 -0800 (PST) Received: from aurora.jms.id.au ([45.124.203.15]) by smtp.gmail.com with ESMTPSA id 68sm30851078pfx.186.2017.12.19.19.24.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Dec 2017 19:24:50 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 20 Dec 2017 13:54:40 +1030 From: Joel Stanley To: Rob Herring , Mark Rutland , Arnd Bergmann , Andrew Jeffery , Patrick Venture , Xo Wang , Lei YU Subject: [PATCH v3 06/20] ARM: dts: aspeed: Add watchdog clocks Date: Wed, 20 Dec 2017 13:53:14 +1030 Message-Id: <20171220032328.30584-7-joel@jms.id.au> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171220032328.30584-1-joel@jms.id.au> References: <20171220032328.30584-1-joel@jms.id.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171219_192452_803405_679D8EB7 X-CRM114-Status: GOOD ( 10.32 ) 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: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Benjamin Herrenschmidt , linux-kernel@vger.kernel.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , linux-arm-kernel@lists.infradead.org, Jeremy Kerr 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 Reviewed-by: Cédric Le Goater Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 2 ++ arch/arm/boot/dts/aspeed-g5.dtsi | 3 +++ 2 files changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index 57194d804051..2b1bb31ce390 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -177,11 +177,13 @@ wdt1: watchdog@1e785000 { compatible = "aspeed,ast2400-wdt"; reg = <0x1e785000 0x1c>; + clocks = <&syscon ASPEED_CLK_APB>; }; wdt2: watchdog@1e785020 { compatible = "aspeed,ast2400-wdt"; reg = <0x1e785020 0x1c>; + clocks = <&syscon ASPEED_CLK_APB>; }; vuart: serial@1e787000 { diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index b6faaef2b1a7..95bb04e4cee2 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -219,16 +219,19 @@ wdt1: watchdog@1e785000 { compatible = "aspeed,ast2500-wdt"; reg = <0x1e785000 0x20>; + clocks = <&syscon ASPEED_CLK_APB>; }; wdt2: watchdog@1e785020 { compatible = "aspeed,ast2500-wdt"; reg = <0x1e785020 0x20>; + clocks = <&syscon ASPEED_CLK_APB>; }; wdt3: watchdog@1e785040 { compatible = "aspeed,ast2500-wdt"; reg = <0x1e785040 0x20>; + clocks = <&syscon ASPEED_CLK_APB>; status = "disabled"; };