From patchwork Fri Dec 15 06:24:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 10114013 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 E903D60231 for ; Fri, 15 Dec 2017 06:43:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBA5429EC3 for ; Fri, 15 Dec 2017 06:43:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF9A529EC9; Fri, 15 Dec 2017 06:43:42 +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 5881629EC3 for ; Fri, 15 Dec 2017 06:43:42 +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=i7ZFNjxqe7TfdvSjhUdDICXBzOMd5XV9ANN1Haw6Uzw=; b=CsZxCYJ7vsRwmZqxhn6fIy4g6b y6eDghM8+00avGkhAD7Wvk3hT7Bz3zG2tuzmdk3RkiAyLuiuOo5R+58bDmexATX0jWxcQSQBvsNgK 7DJWoobPVJaJyQwo+Q3sXwmwNkTm8JLuWxernzB0mic6aaCnSQKzWvOenJJzkG/w0Y72mVueOfL+/ nuE1exFgundpAfb3Qyl7oP2OnhQhe2Ze5qyHXc1HHYPGyQqzVhI3/vzfCUfQ+tzLBJ+8PRx317yoZ pxVBLP2gk3iX6dubaLIFipQRRc5bFmR9CvFinBFE/VpMXexkM7ydndXKeeul8uJ2JRqY2mmx3JuyG pfB3gGyw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ePjif-0000Db-C4; Fri, 15 Dec 2017 06:43:41 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ePji4-0007nj-AZ for linux-arm-kernel@bombadil.infradead.org; Fri, 15 Dec 2017 06:43:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=fN6yrS2u/VGOTuDDMwV3iUcyKmXp/h6f04NltewaJHM=; b=mQMWfXHNNxeb34uEzpEFNJgq/ zg2pH2aQWXxAqvlS1Z7mGkjKYh/k0QXSsdvrP2LgHxTAiZVWKaEVkLl/ffLeg0rxyq5NOXueeXndt 6W5oTRLVdve3d43UDBaBUQuoaOVZYuQKhezU7mXT9gQLpcoMmurRuIpM9ZSuKd69++2xur/xetGB2 rQ0OsVoU57CJ6Yyo5sAYfg5DMTwCddczcWEPq1UpqkEVprWzBQ5atQBke2gwZ4aYpCxNot/0lvhHz xv9e0EcQ5lIGgROLUkRNNTA54c81Ntub6D0SaqVyd2TRiAl1NiyRfy7Ikl/YOCmWCXWZhbmj7UhCD 6ZFS0y28g==; Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ePjRp-0001XW-R0 for linux-arm-kernel@lists.infradead.org; Fri, 15 Dec 2017 06:26:20 +0000 Received: by mail-pf0-x241.google.com with SMTP id u19so5476081pfa.12 for ; Thu, 14 Dec 2017 22:25:57 -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=fN6yrS2u/VGOTuDDMwV3iUcyKmXp/h6f04NltewaJHM=; b=UY+FjTTAUeb3H3N85taxXNGosFAzX3iF3Isv0ADE7PrLpu57xoqfLWnR3TTwE6I5li 5t3dCH5ruuP4CX9ko/fr+FXNgrnWNCtpu/hipPqehb7HNMdmPEMkWgjt931ABts1oL9f xCtaAYSgrBi6wjzvtFgfy2mGFAFtagCQmALBRiAn00BxyHlR/Id8fu5OK3sz+vnZnDaO Uywd2Y9AFjMwcTA2Eu8RQH9tnp07ePtvZSL/mKU4oRPtSPxIJwbB1TNuRVKpxelWLwqS nTKV/bLIl9QUdNmS/kGjSSh0zFriIAiCMj/ekN1uO4XSaoIFQhXs6l+8K5uec/2gD6nw r0Jg== 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=fN6yrS2u/VGOTuDDMwV3iUcyKmXp/h6f04NltewaJHM=; b=SqlbWYarijNzHuOPDtAAGFHikc5S+wq8dMZdrh6dBE97Py/ox2VVu21ckVLjiT3ola puOMN4awhYM6uqjeBOFJSfz/laakdz7M944MWZcqCxx45guwPl9ZFziJ0Xaj5WQ89ZaP vEiqNkon5TSIFLebItZYKw2Ty0cN0I3/2Iqh/sx/7QQt0W7h4RYRwuJgMb+qCYDoAnoZ nkXgI2NV6O1KhJuI/ZYsbuWu4LoeS+cZqT3OqMJvcQvNie0QuUH0BpcCYRpcyvNfMht3 Fru/Pg3lW9Y0R6FE7aDifOLJtdQb20Rz/omaky564VF13N85ZqmI7wEYQFmh1+5AaYnf fQzA== X-Gm-Message-State: AKGB3mJB4jm9pidYw9mQDgFHpZXrwt6sASkwiKLWeEHtWmhi+k6RGYIq tF1tgtDFBALznoEOyzeGceE= X-Google-Smtp-Source: ACJfBou7d5SqgkSCaJyGB9TkqETzNLR7oERVP4HhlAtfPoFvCSDM9CPZelfj3UoVhlx9C/jqFOXpcA== X-Received: by 10.84.244.9 with SMTP id g9mr12469492pll.192.1513319155914; Thu, 14 Dec 2017 22:25:55 -0800 (PST) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id x6sm10074083pgq.57.2017.12.14.22.25.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Dec 2017 22:25:54 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Fri, 15 Dec 2017 16:55:45 +1030 From: Joel Stanley To: Rob Herring , Mark Rutland , Arnd Bergmann , Andrew Jeffery , Patrick Venture , Xo Wang , Lei YU Subject: [PATCH v2 05/19] ARM: dts: aspeed: Add MAC clocks Date: Fri, 15 Dec 2017 16:54:29 +1030 Message-Id: <20171215062443.23059-6-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171215062443.23059-1-joel@jms.id.au> References: <20171215062443.23059-1-joel@jms.id.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171215_062618_016383_93566D23 X-CRM114-Status: UNSURE ( 9.97 ) 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 c87883a7f250..cf407b4db630 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -91,6 +91,7 @@ compatible = "aspeed,ast2400-mac", "faraday,ftgmac100"; reg = <0x1e660000 0x180>; interrupts = <2>; + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; status = "disabled"; }; @@ -98,6 +99,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 90bc09d93ea6..ab26156d6822 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -125,6 +125,7 @@ compatible = "aspeed,ast2500-mac", "faraday,ftgmac100"; reg = <0x1e660000 0x180>; interrupts = <2>; + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; status = "disabled"; }; @@ -132,6 +133,7 @@ compatible = "aspeed,ast2500-mac", "faraday,ftgmac100"; reg = <0x1e680000 0x180>; interrupts = <3>; + clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>; status = "disabled"; };