Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2353875imm; Thu, 16 Aug 2018 08:28:22 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwguGkDbq9wFBnKmVgoJ6Auagk7sI4hTA15cC8puWGI+W4m559IBUlINPny9UkAurMCwo+j X-Received: by 2002:a17:902:6f10:: with SMTP id w16-v6mr10709363plk.216.1534433302542; Thu, 16 Aug 2018 08:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534433302; cv=none; d=google.com; s=arc-20160816; b=LtchQcb1HXa79QLjUlTPNzOznlN5H2AiwSzQMHCULVaC8CVpf4Ef+vcKjY+LiBiJRG zTQRjoqYwYMU/P5dSgtE7GXJoYp0SHjVLVpAf0VYKLNehPdPoTC4LZLB00KugTWAxtAH DvqTCawY8Lo1RSniACke+lDjVfbUZkmLgKdIuBPwQS72x6kmliKqD3JZka6zSnwr/KRR rNa2dx/xzijHC87RQyHIPkkChP+rgSH8AXl/Geoy5FYFpC+kd7nlem1iLU3YZDhIjHI8 ltx6lW8JWTM8SZLMVfon7n6Z4s0mkyzfjLhXHx61qZklJOGwHnUouOit7sDyEhNtBo6S H/0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=Fp2+v8FTvNvCTyPHWAyTP0KWcFkROx1jPBkrfareHhY=; b=u5mkxwFvoodnn4wyHSRs5rwCktPgl3G9mX3UcW/yY2tdofSGewrmuonXkZgATO4Ero LqkhFZBY7M8bKQHdq4ZnzghopEtGcML2ch1XTPU4q8nUBZ5JkMYcH3osHMyDKDRFt6T4 DVS1ER82vlUPsLAVycu83IytQU8ZEVkkWKc2UNfz7605eO7HfXGEYcuJUvtVQkyxf5rv 978xzPEOq92CKqH+Ysn5mIx3fpqG+dYzrsap+IdJ7gH9BQ6cdnuYaEy6sOroO1ni6bM2 YCgQ/DWzDxfkfR3NgzX2y1pNECEdsdvZUw88AWXDZ70LI3KHKetjWx3CgIZXLsFmA/AZ Hfiw== 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 o24-v6si22182785pll.247.2018.08.16.08.27.50; Thu, 16 Aug 2018 08:28:22 -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 S2389818AbeHPLEp (ORCPT + 99 others); Thu, 16 Aug 2018 07:04:45 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:47521 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725749AbeHPLEo (ORCPT ); Thu, 16 Aug 2018 07:04:44 -0400 X-UUID: bee019e1bbb74cd28b212e7eb78a3d66-20180816 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 828814701; Thu, 16 Aug 2018 16:07:53 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 16 Aug 2018 16:07:46 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Thu, 16 Aug 2018 16:07:46 +0800 Message-ID: <1534406866.31978.47.camel@mtkswgap22> Subject: Re: [PATCH 3/5] arm64: dts: mt7622: fix ram size for rfb1 From: Sean Wang To: Ryder Lee CC: Matthias Brugger , Rob Herring , Roy Luo , Weijie Gao , , , , Date: Thu, 16 Aug 2018 16:07:46 +0800 In-Reply-To: <3be2ef51a1dffed93538d256273bdecfc59cdea5.1534130854.git.ryder.lee@mediatek.com> References: <68c4ca0158518d6bf50f2f7becfcb87ff3ce158a.1534130854.git.ryder.lee@mediatek.com> <3be2ef51a1dffed93538d256273bdecfc59cdea5.1534130854.git.ryder.lee@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-08-15 at 13:18 +0800, Ryder Lee wrote: > Fix ram size and sort nodes in alphabetical order. > The size of the ram should be selective range from 512 megabytes to 2 gigabytes depending on what the specific application is being run on the Soc and I actually thought 512 megabytes should be the better value for the base of rfb1, so Acked-by: Sean Wang > Signed-off-by: Ryder Lee > --- > arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 196 +++++++++++++-------------- > 1 file changed, 98 insertions(+), 98 deletions(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts > index b783764..033d7d1 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts > +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts > @@ -51,7 +51,7 @@ > }; > > memory { > - reg = <0 0x40000000 0 0x3F000000>; > + reg = <0 0x40000000 0 0x20000000>; > }; > > reg_1p8v: regulator-1p8v { > @@ -81,6 +81,103 @@ > }; > }; > > +&bch { > + status = "disabled"; > +}; > + > +&btif { > + status = "okay"; > +}; > + > +&cir { > + pinctrl-names = "default"; > + pinctrl-0 = <&irrx_pins>; > + status = "okay"; > +}; > + > +ð { > + pinctrl-names = "default"; > + pinctrl-0 = <ð_pins>; > + status = "okay"; > + > + gmac1: mac@1 { > + compatible = "mediatek,eth-mac"; > + reg = <1>; > + phy-handle = <&phy5>; > + }; > + > + mdio-bus { > + #address-cells = <1>; > + #size-cells = <0>; > + > + phy5: ethernet-phy@5 { > + reg = <5>; > + phy-mode = "sgmii"; > + }; > + }; > +}; > + > +&i2c1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c1_pins>; > + status = "okay"; > +}; > + > +&i2c2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c2_pins>; > + status = "okay"; > +}; > + > +&mmc0 { > + pinctrl-names = "default", "state_uhs"; > + pinctrl-0 = <&emmc_pins_default>; > + pinctrl-1 = <&emmc_pins_uhs>; > + status = "okay"; > + bus-width = <8>; > + max-frequency = <50000000>; > + cap-mmc-highspeed; > + mmc-hs200-1_8v; > + vmmc-supply = <®_3p3v>; > + vqmmc-supply = <®_1p8v>; > + assigned-clocks = <&topckgen CLK_TOP_MSDC30_0_SEL>; > + assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>; > + non-removable; > +}; > + > +&mmc1 { > + pinctrl-names = "default", "state_uhs"; > + pinctrl-0 = <&sd0_pins_default>; > + pinctrl-1 = <&sd0_pins_uhs>; > + status = "okay"; > + bus-width = <4>; > + max-frequency = <50000000>; > + cap-sd-highspeed; > + r_smpl = <1>; > + cd-gpios = <&pio 81 GPIO_ACTIVE_LOW>; > + vmmc-supply = <®_3p3v>; > + vqmmc-supply = <®_3p3v>; > + assigned-clocks = <&topckgen CLK_TOP_MSDC30_1_SEL>; > + assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>; > +}; > + > +&nandc { > + pinctrl-names = "default"; > + pinctrl-0 = <¶llel_nand_pins>; > + status = "disabled"; > +}; > + > +&nor_flash { > + pinctrl-names = "default"; > + pinctrl-0 = <&spi_nor_pins>; > + status = "disabled"; > + > + flash@0 { > + compatible = "jedec,spi-nor"; > + reg = <0>; > + }; > +}; > + > &pcie { > pinctrl-names = "default"; > pinctrl-0 = <&pcie0_pins>; > @@ -344,103 +441,6 @@ > }; > }; > > -&bch { > - status = "disabled"; > -}; > - > -&btif { > - status = "okay"; > -}; > - > -&cir { > - pinctrl-names = "default"; > - pinctrl-0 = <&irrx_pins>; > - status = "okay"; > -}; > - > -ð { > - pinctrl-names = "default"; > - pinctrl-0 = <ð_pins>; > - status = "okay"; > - > - gmac1: mac@1 { > - compatible = "mediatek,eth-mac"; > - reg = <1>; > - phy-handle = <&phy5>; > - }; > - > - mdio-bus { > - #address-cells = <1>; > - #size-cells = <0>; > - > - phy5: ethernet-phy@5 { > - reg = <5>; > - phy-mode = "sgmii"; > - }; > - }; > -}; > - > -&i2c1 { > - pinctrl-names = "default"; > - pinctrl-0 = <&i2c1_pins>; > - status = "okay"; > -}; > - > -&i2c2 { > - pinctrl-names = "default"; > - pinctrl-0 = <&i2c2_pins>; > - status = "okay"; > -}; > - > -&mmc0 { > - pinctrl-names = "default", "state_uhs"; > - pinctrl-0 = <&emmc_pins_default>; > - pinctrl-1 = <&emmc_pins_uhs>; > - status = "okay"; > - bus-width = <8>; > - max-frequency = <50000000>; > - cap-mmc-highspeed; > - mmc-hs200-1_8v; > - vmmc-supply = <®_3p3v>; > - vqmmc-supply = <®_1p8v>; > - assigned-clocks = <&topckgen CLK_TOP_MSDC30_0_SEL>; > - assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>; > - non-removable; > -}; > - > -&mmc1 { > - pinctrl-names = "default", "state_uhs"; > - pinctrl-0 = <&sd0_pins_default>; > - pinctrl-1 = <&sd0_pins_uhs>; > - status = "okay"; > - bus-width = <4>; > - max-frequency = <50000000>; > - cap-sd-highspeed; > - r_smpl = <1>; > - cd-gpios = <&pio 81 GPIO_ACTIVE_LOW>; > - vmmc-supply = <®_3p3v>; > - vqmmc-supply = <®_3p3v>; > - assigned-clocks = <&topckgen CLK_TOP_MSDC30_1_SEL>; > - assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>; > -}; > - > -&nandc { > - pinctrl-names = "default"; > - pinctrl-0 = <¶llel_nand_pins>; > - status = "disabled"; > -}; > - > -&nor_flash { > - pinctrl-names = "default"; > - pinctrl-0 = <&spi_nor_pins>; > - status = "disabled"; > - > - flash@0 { > - compatible = "jedec,spi-nor"; > - reg = <0>; > - }; > -}; > - > &pwm { > pinctrl-names = "default"; > pinctrl-0 = <&pwm7_pins>;