Received: by 10.192.165.156 with SMTP id m28csp468117imm; Wed, 11 Apr 2018 02:03:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Y5cRo4ePddHgDA7nU3mGRWzKFRYi+8qBuPycgtDCYO2/1LLC0VNg4LVDFht9kjkTysJ8p X-Received: by 2002:a17:902:8b84:: with SMTP id ay4-v6mr4079159plb.57.1523437426981; Wed, 11 Apr 2018 02:03:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523437426; cv=none; d=google.com; s=arc-20160816; b=kE/u0jUEEJlGkzFGqlVbkw8D8OfhZCNjc+uGVGrNNwodm7EgGyExX2Lys+KEdhNnAK 4IDv564RsSjGtydUZ9YF89ct+eUF8mDePQ7pIrwCTcdpnvNnnzSfNP2VhwFOS1HsT5X7 Uj4sviQBr71ttm+ig9JnxQdP79EPMNK0HtUP4bK8SxFv0HEXjMeOyxe/Nrns611IRcah rDOb7CvNphFV0sJMY400qjv5FmAm/dCuRtmomUv3xuFAp+T86bl0iEh6VFCNwkKcakUU l0u9Q+kt0STje1lIkm9TGjyMQzmega4EldQNz78QfDkjHg/S+MEFTAlBEfmHHJuvd8Z6 JYSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=VR6ioD7c7CrJFZe6zOJaSJlrNS/fRwk5YMbWFexuPVU=; b=rBaEhWEEIHiiGk1DnB6bP5xB7QVxSveLUbiGED3ptHdzlh0nurntF5x0vbi32PbLil EABNLAT3iyWejfFXJdbkIev22yeLyf1wNSMRSELh+UE9I3aDloOPo/FfIv6KbqndmknY 7izjrBiDa6UOK5s5ypO0UluuroxeYvYr44G5hxMr+e/YS+LZ/jmtpnyJigKAAmeoENJB qudGMuDIlSIwrKAyc+mklOqDbcfUsO14Dhq077l1UBPZl+IOdBDXO59wOiWS6k7yuj5O VGDvteq0hz/q2sp8/th5/En2Vz6o0BbA8wzFAN1YFiKv7MP1V2Wol+ruaLN/vphXf36F Kxtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q3-v6si693889pll.15.2018.04.11.02.03.10; Wed, 11 Apr 2018 02:03:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753146AbeDKI6D (ORCPT + 99 others); Wed, 11 Apr 2018 04:58:03 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:36151 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751983AbeDKIyP (ORCPT ); Wed, 11 Apr 2018 04:54:15 -0400 X-UUID: 6fe4200660d3468c9923d3007197565e-20180411 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 501894060; Wed, 11 Apr 2018 16:54:11 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 11 Apr 2018 16:54:09 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Wed, 11 Apr 2018 16:54:09 +0800 From: To: , , , , CC: , , Sean Wang Subject: [PATCH v2 10/12] arm: dts: mt7623: add MT7623A SoC level DTS Date: Wed, 11 Apr 2018 16:54:03 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang Add a common file for MT7623A SoC level DTS, indicating MT7623A only has a specific definition for power domain. That causes we need to change related consumers devices such as audio, ethernet, crypto, NAND, and USB controller to grasp its own power domain it should belong to. Signed-off-by: Sean Wang --- arch/arm/boot/dts/mt7623a.dtsi | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 arch/arm/boot/dts/mt7623a.dtsi diff --git a/arch/arm/boot/dts/mt7623a.dtsi b/arch/arm/boot/dts/mt7623a.dtsi new file mode 100644 index 0000000..0735a1fb8 --- /dev/null +++ b/arch/arm/boot/dts/mt7623a.dtsi @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2017-2018 MediaTek Inc. + * Author: Sean Wang + * + */ + +/dts-v1/; +#include +#include "mt7623.dtsi" + +&afe { + power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; +}; + +&crypto { + power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; +}; + +ð { + power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; +}; + +&nandc { + power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; +}; + +&pcie { + power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>; +}; + +&scpsys { + compatible = "mediatek,mt7623a-scpsys"; + clocks = <&topckgen CLK_TOP_ETHIF_SEL>; + clock-names = "ethif"; +}; + +&usb1 { + power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>; +}; + +&usb2 { + power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>; +}; -- 2.7.4