Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1318647imm; Mon, 9 Jul 2018 23:00:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdcGJQSg6vnoOnkGNZH+TRaXyvWduFcjvNLHnVcezzxDx3IPxQjLOzbSU1E4LQz/0c3G8GY X-Received: by 2002:a62:4add:: with SMTP id c90-v6mr22467986pfj.23.1531202424721; Mon, 09 Jul 2018 23:00:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531202424; cv=none; d=google.com; s=arc-20160816; b=Na7erp3LO50r9xX4n+zbhLMRtia/7zvterI5/9b1DdACnLuFu7E3zgcpTUQBQP0aOl USPRrQHjfWrrulyiv+ojKalehfqLkr0wWipnDqMfw0fwyJerDH7ldZejV4wkNN5EbgfU lwHq0rO+GNHTz3tkCFDFaTN3axNXfxkRDnjC0cYaVboLqvJ45NQ2ZFMEVllfVLCiFcYf E4iyv+Oc3ZRi0+QMYLfjktd1Er1sbSXcXrrc2Scj9Jnd9JW+wl2Lxf8bRjN3xKjGNRzc rcwQtoPuKRGTIvHPfjvryeh5sFqdMW6g7YbIXr5mCrsBSXLiFPB1NdFLfJlaF6kOdt79 MYRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=xoyL0aQdx4DD8BO5NG5VtRDtNNlP8W5pUzre/gjuBcc=; b=SllGosEeQOUWsms5jcozTGFZd37T/fBrgzEXHUM5j3VoC/G4y334R+tZ2wT1to7gmI jCgammNBEdR8gUDO/OWyatClJFFgbYQoRAZ0J1tcrhhFd3ugD46QfUqFf8oyEQpgei99 IvKHlZIKYwW+muPJA9jGD2LmYFgCaHo4WQE8qvZmRNdWqGFmeWMSpiANPdR7YKlUAmZp ySrOVhDGsmy2D08Cz1aZRl+kBDHwEqo73eGXgqTBmaXZIVeSS0XiP0ucL7cFhbPMpSNf 4YgDE7oWl6CQ4IM/OtW+UvzV6PvV6EPaK7r2GeyaaxERDIG0F43PYscU6Yz+Prpa2IUc PJcg== 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 193-v6si15059904pgh.407.2018.07.09.23.00.09; Mon, 09 Jul 2018 23:00:24 -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 S1751806AbeGJF7O (ORCPT + 99 others); Tue, 10 Jul 2018 01:59:14 -0400 Received: from nbd.name ([46.4.11.11]:49510 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879AbeGJF7L (ORCPT ); Tue, 10 Jul 2018 01:59:11 -0400 Subject: Re: [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file To: Ryder Lee , Matthias Brugger Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Sean Wang References: <34e4c13bd1deeb8e090a74b4e7e9192512b3eff0.1531199139.git.ryder.lee@mediatek.com> From: John Crispin Message-ID: <24d6ffbf-0df1-bb8b-c180-b07e0eb9955a@phrozen.org> Date: Tue, 10 Jul 2018 07:59:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <34e4c13bd1deeb8e090a74b4e7e9192512b3eff0.1531199139.git.ryder.lee@mediatek.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/07/18 07:09, Ryder Lee wrote: > Normally, we didn't release this kind of baord to user. This specific > board exists only in the early stage of development inside MediaTek - > and that may confuse peoples. > > Hence this patch removes related files accordingly. > > Cc: John Crispin > Cc: Sean Wang > Signed-off-by: Ryder Lee Acked-by: John Crispin > --- > arch/arm/boot/dts/Makefile | 1 - > arch/arm/boot/dts/mt7623n-rfb-nand.dts | 73 ----------------------------- > arch/arm/boot/dts/mt7623n-rfb.dtsi | 86 ---------------------------------- > 3 files changed, 160 deletions(-) > delete mode 100644 arch/arm/boot/dts/mt7623n-rfb-nand.dts > delete mode 100644 arch/arm/boot/dts/mt7623n-rfb.dtsi > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 37a3de7..dde494e 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -1168,7 +1168,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ > mt7623a-rfb-emmc.dtb \ > mt7623a-rfb-nand.dtb \ > mt7623n-rfb-emmc.dtb \ > - mt7623n-rfb-nand.dtb \ > mt7623n-bananapi-bpi-r2.dtb \ > mt8127-moose.dtb \ > mt8135-evbp1.dtb > diff --git a/arch/arm/boot/dts/mt7623n-rfb-nand.dts b/arch/arm/boot/dts/mt7623n-rfb-nand.dts > deleted file mode 100644 > index 96ff3c9..0000000 > --- a/arch/arm/boot/dts/mt7623n-rfb-nand.dts > +++ /dev/null > @@ -1,73 +0,0 @@ > -// SPDX-License-Identifier: GPL-2.0 > -/* > - * Copyright (c) 2017 MediaTek Inc. > - * Author: John Crispin > - * > - */ > - > -/dts-v1/; > -#include "mt7623n-rfb.dtsi" > - > -/ { > - model = "MediaTek MT7623N NAND reference board"; > - compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623"; > -}; > - > -&bch { > - status = "okay"; > -}; > - > -&nandc { > - status = "okay"; > - pinctrl-names = "default"; > - pinctrl-0 = <&nand_pins_default>; > - > - nand@0 { > - reg = <0>; > - spare_per_sector = <64>; > - nand-ecc-mode = "hw"; > - nand-ecc-strength = <12>; > - nand-ecc-step-size = <1024>; > - > - partitions { > - compatible = "fixed-partitions"; > - #address-cells = <1>; > - #size-cells = <1>; > - > - partition@0 { > - label = "preloader"; > - reg = <0x0 0x40000>; > - }; > - > - partition@40000 { > - label = "uboot"; > - reg = <0x40000 0x80000>; > - }; > - > - partition@c0000 { > - label = "uboot-env"; > - reg = <0xC0000 0x40000>; > - }; > - > - partition@140000 { > - label = "bootimg"; > - reg = <0x140000 0x2000000>; > - }; > - > - partition@2140000 { > - label = "recovery"; > - reg = <0x2140000 0x2000000>; > - }; > - > - partition@4140000 { > - label = "rootfs"; > - reg = <0x4140000 0x1000000>; > - }; > - > - partition@5140000 { > - label = "usrdata"; > - reg = <0x5140000 0x1000000>; > - }; > - }; > - }; > -}; > diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi > deleted file mode 100644 > index 5c5cc7d..0000000 > --- a/arch/arm/boot/dts/mt7623n-rfb.dtsi > +++ /dev/null > @@ -1,86 +0,0 @@ > -// SPDX-License-Identifier: GPL-2.0 > -/* > - * Copyright (c) 2017 MediaTek Inc. > - * Author: John Crispin > - * Sean Wang > - * > - */ > - > -/dts-v1/; > -#include "mt7623.dtsi" > -#include "mt6323.dtsi" > - > -/ { > - aliases { > - serial0 = &uart0; > - serial1 = &uart1; > - serial2 = &uart2; > - }; > - > - chosen { > - stdout-path = "serial2:115200n8"; > - }; > - > - cpus { > - cpu0 { > - proc-supply = <&mt6323_vproc_reg>; > - }; > - > - cpu1 { > - proc-supply = <&mt6323_vproc_reg>; > - }; > - > - cpu2 { > - proc-supply = <&mt6323_vproc_reg>; > - }; > - > - cpu3 { > - proc-supply = <&mt6323_vproc_reg>; > - }; > - }; > - > - memory@80000000 { > - device_type = "memory"; > - reg = <0 0x80000000 0 0x40000000>; > - }; > - > - usb_p1_vbus: regulator-5v { > - compatible = "regulator-fixed"; > - regulator-name = "usb_vbus"; > - regulator-min-microvolt = <5000000>; > - regulator-max-microvolt = <5000000>; > - gpio = <&pio 135 GPIO_ACTIVE_HIGH>; > - enable-active-high; > - }; > -}; > - > -&mmc0 { > - vmmc-supply = <&mt6323_vemc3v3_reg>; > - vqmmc-supply = <&mt6323_vio18_reg>; > -}; > - > -&mmc1 { > - vmmc-supply = <&mt6323_vmch_reg>; > - vqmmc-supply = <&mt6323_vmc_reg>; > -}; > - > -&uart0 { > - status = "okay"; > -}; > - > -&uart1 { > - status = "okay"; > -}; > - > -&uart2 { > - status = "okay"; > -}; > - > -&usb1 { > - vbus-supply = <&usb_p1_vbus>; > - status = "okay"; > -}; > - > -&u3phy1 { > - status = "okay"; > -};