Received: by 10.192.165.156 with SMTP id m28csp469401imm; Wed, 11 Apr 2018 02:05:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx48DKT2C9Y0gLbBopTaxYcFrCkyB8MuiLKXda2Yr35eiGw3qNV1s/uYYWFap10kuUFKl7+CS X-Received: by 2002:a17:902:7042:: with SMTP id h2-v6mr4123985plt.249.1523437518537; Wed, 11 Apr 2018 02:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523437518; cv=none; d=google.com; s=arc-20160816; b=OhflT8eAKkk/HrU6dpioAtPQ3aziHj8w7/d4SSEz8XpbWw1lUjTEk6U+5lkyEBLOCT g3SPwvUocMgdTboJMYQNeLn8cfTQ0A/wMwDbeoNCJfxQab9nZ+a3EqLZ8y+Kz+6em8oL PiKQvAfgwwT9rcetE/QWRaDfK5ar4bKnJ9heO+n9UnmwrFllEpT9NpjV3XWK4h34FLsQ o++lXN9isRWv8V4guKEXdW60wqFfAONAIO4Is1VCQ0bR5TjfjKf/Vxmd1CmdGYcSZeVj 1HwCeQeeXqUjhn97YVEvrTn9F8WWYlWYWOfhpEByY9WSoTaK90q2ipkIAkGmMypImVYV A2/w== 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=alr+LMkj61q0rzO+df0043wpqjUpKH7Naq5I+ac6QxQ=; b=k/04bSUy/tK+z5gIKuOPYWAJn+fkL4x9J5Vw4soZy9J4551llhp2ylpYSw8+A53iZ2 83A27f6tWHpBVEN90ZSrgJMMgxU0AC0l+6HnXvGc2xTPuBbvdZl8RTJAaLjlk6oaR+WR 7guiLRvwvBVxYwucM7S5SI9BACesezgDQFwZQVO7Vy0vqLcnWOAur2SAYDXiaJEy24vk dLvlpCsQTtWAlbsfnVfQg3RkuaQIRuDkhsnZ7TRGbPLoN1wmxEmQsmCTu3JVSboYq30o qIr85A0qZX48143lsv4q+tl5Y3EwrVjUI9NLWAs83RwuJI5cXBVjDPhiMPTO4UK/JQ6j MYDg== 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 a90-v6si698491plc.732.2018.04.11.02.04.41; Wed, 11 Apr 2018 02:05:18 -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 S1753122AbeDKI6B (ORCPT + 99 others); Wed, 11 Apr 2018 04:58:01 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:32951 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752140AbeDKIyP (ORCPT ); Wed, 11 Apr 2018 04:54:15 -0400 X-UUID: 821c23e144dc4b558808f36223761c7a-20180411 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 830218489; Wed, 11 Apr 2018 16:54:09 +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 06/12] arm: dts: mt7623: add BTIF, HSDMA and SPI-NOR device nodes Date: Wed, 11 Apr 2018 16:53:59 +0800 Message-ID: <39294f68b1f9e65341f94a989347da81a26c878d.1523434758.git.sean.wang@mediatek.com> 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 BTIF, HSDMA and SPI-NOR device nodes and enable it on relevant boards 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 b9b5619..8cf3d26 100644 --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (c) 2017 MediaTek Inc. + * Copyright (c) 2017-2018 MediaTek Inc. * Author: John Crispin * Sean Wang * @@ -486,6 +486,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"; @@ -511,6 +523,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"; @@ -867,6 +891,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 71023a6..1fd6f55 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) */ @@ -114,6 +114,10 @@ }; }; +&btif { + status = "okay"; +}; + &cir { pinctrl-names = "default"; pinctrl-0 = <&cir_pins_a>; -- 2.7.4