Received: by 10.213.65.16 with SMTP id m16csp260232imf; Mon, 12 Mar 2018 02:54:42 -0700 (PDT) X-Google-Smtp-Source: AG47ELvpUS1VF3JSHga2G8zxQdirex+RgOfBkzd1NyxjLQ0NYnwnDsp/U7Lwb+1hZ6Ke7VtvPlTL X-Received: by 2002:a17:902:9882:: with SMTP id s2-v6mr7471537plp.196.1520848481963; Mon, 12 Mar 2018 02:54:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520848481; cv=none; d=google.com; s=arc-20160816; b=dEazNflSTqPddLuITf/sobo9RAvomDzZLVATlY4gNj19kpAlcyTIlpwmBXp+OrraLD ES7OV8+h+1KSU+ZY9ipLrzF38ZG4+hdWB3vDFBFuwRziPjzSRsH4zdtDkSPxDKgfmMNZ 6fFvXcaqE5N4Cb/ZXJ2WT7E253lAt5eOFEfkeDsIudQk0eiocX0enqW0Fo9DVuwit3IH ku2V42BZZosiwD4o5HTT9+0c8Hs6818CjneJPI5Vjd17I2yFZJpwuSeq29zl30Bq+xN3 tPmeS3snxdMgG9ZIS6NWhMhWgukotD8ZBKM0rzhiWWNZWmKGBNu4iSBI5ApxQVLSUrRF 02ag== 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=gSQiHiqfAKhuFBLx8dm3gmw92guI4IPS0YFFZJPhPJo=; b=U1Mo6wxkwi/T+Mw6J7LUIDVxC5cATEAJBTX6TtGTLfTXVCBl3KcJzq9YIvrDhLpPnL kYiJJn+HDTM/3iHE4YL7xeiepTXBDW8ntipj/kcawpagJGHmTBhEYMRc98CEdyWt5tw3 Qsiqu33LBY3eNdW0TvZ/P9CfzQaogjxuLRVZ4LRgYsU7kVjWmwQe94CASriH2PNty6C6 Jrm3Gfag1VbH8pUTrCRL+Nmtm5qFoQg/QDQuyRYzlXQyWaWmLt+20qMAQpsuIv+oDlGX PDnE+P9InifzvDjoYjdyOF/g2QPyD5ZBgjICsbZUs6q/GM1zEkpkI4DhNdbFrwnmqpCY lDSQ== 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 q87si5455277pfa.385.2018.03.12.02.54.27; Mon, 12 Mar 2018 02:54:41 -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 S932421AbeCLJxU (ORCPT + 99 others); Mon, 12 Mar 2018 05:53:20 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:31333 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932386AbeCLJxS (ORCPT ); Mon, 12 Mar 2018 05:53:18 -0400 X-UUID: 662b5191c4f44b2c9837948b2ea1ef6f-20180312 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 814224067; Mon, 12 Mar 2018 17:53:14 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 12 Mar 2018 17:53:12 +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; Mon, 12 Mar 2018 17:53:07 +0800 Message-ID: <1520848387.27000.0.camel@mtkswgap22> Subject: Re: [PATCH v1 05/19] arm: dts: mt7623: add BTIF, HSDMA and SPI-NOR device nodes From: Sean Wang To: Matthias Brugger CC: , , , , , Date: Mon, 12 Mar 2018 17:53:07 +0800 In-Reply-To: References: 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 Mon, 2018-03-12 at 10:40 +0100, Matthias Brugger wrote: > > On 02/23/2018 11:16 AM, sean.wang@mediatek.com wrote: > > From: Sean Wang > > > > add BTIF, HSDMA and SPI-NOR device nodes and enable it on relevant boards > > AFAIK hsdma controller is not upstream yet. > Please resubmit when at least the binding got merged. > Sure, I will drop the node for HSDMA in the next version. > Thanks, > Matthias > > > > > Signed-off-by: Sean Wang > > --- > > arch/arm/boot/dts/mt7623.dtsi | 36 ++++++++++++++++++++++++++- > > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 6 ++++- > > 2 files changed, 40 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi > > index 91317a1..da56c54 100644 > > --- a/arch/arm/boot/dts/mt7623.dtsi > > +++ b/arch/arm/boot/dts/mt7623.dtsi > > @@ -1,5 +1,5 @@ > > /* > > - * Copyright (c) 2017 MediaTek Inc. > > + * Copyright (c) 2017-2018 MediaTek Inc. > > * Author: John Crispin > > * Sean Wang > > * > > @@ -483,6 +483,18 @@ > > nvmem-cell-names = "calibration-data"; > > }; > > > > + btif: serial@1100c000 { > > + compatible = "mediatek,mt7623-btif", > > + "mediatek,mtk-btif"; > > + reg = <0 0x1100c000 0 0x1000>; > > + interrupts = ; > > + clocks = <&pericfg CLK_PERI_BTIF>; > > + clock-names = "main"; > > + reg-shift = <2>; > > + reg-io-width = <4>; > > + status = "disabled"; > > + }; > > + > > nandc: nfi@1100d000 { > > compatible = "mediatek,mt7623-nfc", > > "mediatek,mt2701-nfc"; > > @@ -508,6 +520,18 @@ > > status = "disabled"; > > }; > > > > + nor_flash: spi@11014000 { > > + compatible = "mediatek,mt7623-nor", > > + "mediatek,mt8173-nor"; > > + reg = <0 0x11014000 0 0x1000>; > > + clocks = <&pericfg CLK_PERI_FLASH>, > > + <&topckgen CLK_TOP_FLASH_SEL>; > > + clock-names = "spi", "sf"; > > + #address-cells = <1>; > > + #size-cells = <0>; > > + status = "disabled"; > > + }; > > + > > spi1: spi@11016000 { > > compatible = "mediatek,mt7623-spi", > > "mediatek,mt2701-spi"; > > @@ -861,6 +885,16 @@ > > #reset-cells = <1>; > > }; > > > > + hsdma: dma-controller@1b007000 { > > + compatible = "mediatek,mt7623-hsdma"; > > + reg = <0 0x1b007000 0 0x1000>; > > + interrupts = ; > > + clocks = <ðsys CLK_ETHSYS_HSDMA>; > > + clock-names = "hsdma"; > > + power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; > > + #dma-cells = <1>; > > + }; > > + > > eth: ethernet@1b100000 { > > compatible = "mediatek,mt7623-eth", > > "mediatek,mt2701-eth", > > diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > > index 3efecc5..ec11e14 100644 > > --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > > +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > > @@ -1,5 +1,5 @@ > > /* > > - * Copyright 2017 Sean Wang > > + * Copyright 2017-2018 Sean Wang > > * > > * SPDX-License-Identifier: (GPL-2.0+ OR MIT) > > */ > > @@ -86,6 +86,10 @@ > > }; > > }; > > > > +&btif { > > + status = "okay"; > > +}; > > + > > &cir { > > pinctrl-names = "default"; > > pinctrl-0 = <&cir_pins_a>; > >