From patchwork Wed Dec 20 03:23:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 10124901 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 34619603B5 for ; Wed, 20 Dec 2017 03:29:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18F78296C6 for ; Wed, 20 Dec 2017 03:29:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AE6C296C9; Wed, 20 Dec 2017 03:29:58 +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 7620D296C6 for ; Wed, 20 Dec 2017 03:29:57 +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=gtA82GceRYnipBl8jaH9MwZ76IhakFjk+apQJQjY3qo=; b=EnWlzPwSLbKa9o7y3U0M002VJ4 s6G900HueOQwuDNU5FhjG/nz2QR1Abmy4oIwDH3szsfzxrR12pAA17VDaVzJV2qX1GUQxg5RWpmjQ nHzREleHaUlqnnX6OK+plyLwH2oJv8eTVzRJW8OUTcdOI6YhWhMua24fI/XtsXMi81p9Vj1wW4iu1 ZUnEvBcPM6hPQOirYpNshuhsByh9XgDOCXGW4zJHzvA6/97XwUmuPU/RwQgZE4YYkCKELwoTAEOGV 6tciVqZcWhkgsMq6dUuJO9yTS5I/M5WYusEvgY4eotC/og3aLrui659+PprnJGJXNaJX+5z4kmj8z PiWp1FAw==; 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 1eRV4r-0006hr-NJ; Wed, 20 Dec 2017 03:29:53 +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 1eRUzz-0002zK-7J for linux-arm-kernel@lists.infradead.org; Wed, 20 Dec 2017 03:25:15 +0000 Received: by mail-pf0-x241.google.com with SMTP id j28so12029462pfk.8 for ; Tue, 19 Dec 2017 19:24:41 -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; bh=L//p4+SmiOn2d2OcI+VSVaXahu85W/V/KRJOxytEDgY=; b=Mp7khUzNcc8sJJ1kp+nlNgf8/Mlqk+mFyK7ieZF8UNOGNjRwrckP2RKzhWBAoRBsog tnWS7JnBvESBNP/q5U0Jc0dOCkb06qtjUxuNp7aYaplEjWJ5xRkcaB3w1w+DCcAhQ3sQ 2ymI18f7eeJemE/9nfVuUwVB++Dlf7LFaEwbpOlqjIykrEwvt3luvZ+CTkbVBJ7TUM5i AiRGSh9u7M+DFCFcufQs50UlRTwzd7ia/zPEGU0vW1cnbKFoo8KW7hlxgNEuacaAG1zp vOtntaNJwt98CG4atg2YyDMuLqWoAHlq/oWtTqnfwZIr6N1Zw6xkYZP/VapUwPe7SJNy VCoQ== 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; bh=L//p4+SmiOn2d2OcI+VSVaXahu85W/V/KRJOxytEDgY=; b=oP4EaFFWDmY+jhql3LfBUjA5crtQbxpG8E3tNTRbjLmRHx0xt7FgLiKnU/tQ1Zz2zQ jBOv+b9iWAlprcdVY205+d2snZC/3ZGnCx4XOh06OrH0dkr3mQYWlqChGmcPW1p+sB9J TuzQvPZBnfNUKPGaTLvx3Q1bMaRZC7rlW6UGnnYP+wFpVNXyMnVaoy58xOSlBWmY69W+ CxdnkFvb6XveCU1/Oeut2U1mrbwy3P37X1PoauM6MWW9RdrjPDpGZiZp1C0ma/0QdJVI UDNXtM0pmR1V1zTllMd2SDAodYnE4oAOmJtvBVQdtgJWwJDH0cjz9VllKxSWXFrlLJeG tGLA== X-Gm-Message-State: AKGB3mIXQGUiH1NiW2g70H6T3DgfOq4d8G2s/mVoR2y0Rk6XK1k/0y8Q 6mO/13+BqoXnrp3YejGoSwE= X-Google-Smtp-Source: ACJfBoukcFeUfFnU1n0Gg1FPQr/SggvVSxKryom+4lZyWN6B7vWkDLcqc6sXM108QG/Pc2PVR4PshQ== X-Received: by 10.99.158.18 with SMTP id s18mr4874943pgd.176.1513740280439; Tue, 19 Dec 2017 19:24:40 -0800 (PST) Received: from aurora.jms.id.au ([45.124.203.15]) by smtp.gmail.com with ESMTPSA id k130sm33805184pfc.100.2017.12.19.19.24.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Dec 2017 19:24:39 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 20 Dec 2017 13:54:29 +1030 From: Joel Stanley To: Rob Herring , Mark Rutland , Arnd Bergmann , Andrew Jeffery , Patrick Venture , Xo Wang , Lei YU Subject: [PATCH v3 05/20] ARM: dts: aspeed: Add MAC clocks Date: Wed, 20 Dec 2017 13:53:13 +1030 Message-Id: <20171220032328.30584-6-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171219_192451_747414_6511E70B X-CRM114-Status: UNSURE ( 9.64 ) 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: 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 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 Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 2 ++ arch/arm/boot/dts/aspeed-g5.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index b938759f799e..57194d804051 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -90,6 +90,7 @@ compatible = "aspeed,ast2400-mac", "faraday,ftgmac100"; reg = <0x1e660000 0x180>; interrupts = <2>; + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; status = "disabled"; }; @@ -97,6 +98,7 @@ compatible = "aspeed,ast2400-mac", "faraday,ftgmac100"; reg = <0x1e680000 0x180>; interrupts = <3>; + clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 1af600b48475..b6faaef2b1a7 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -124,6 +124,7 @@ compatible = "aspeed,ast2500-mac", "faraday,ftgmac100"; reg = <0x1e660000 0x180>; interrupts = <2>; + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; status = "disabled"; }; @@ -131,6 +132,7 @@ compatible = "aspeed,ast2500-mac", "faraday,ftgmac100"; reg = <0x1e680000 0x180>; interrupts = <3>; + clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>; status = "disabled"; };