Received: by 10.223.185.116 with SMTP id b49csp510394wrg; Fri, 23 Feb 2018 02:18:45 -0800 (PST) X-Google-Smtp-Source: AH8x227ENzc/FADAyvMdfKuXQAKQe9E92ne5mkpb82gy5W/SYWWUNTt5w9EzhNNoDe1Fkji+lV/C X-Received: by 10.99.56.77 with SMTP id h13mr1066912pgn.1.1519381125285; Fri, 23 Feb 2018 02:18:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519381125; cv=none; d=google.com; s=arc-20160816; b=RXl7Sno+FXdGnt7lie732Vpife8l8nxDBW9fjL7+ROM36scdnsselfdmBpXwsbhkyg 2viGv4d0GuvCUpEdeNQIU5U7qzMF9aML/I6dNjGB9gmtujBtO6M57Zz9Mh2Leoo/iwng FjuEcc0uaUF8SbSg9P68u+JzIFv7tV0DcUVda0rTApYxDZFjcqvn4l3Gr4cfKXmYZsjH +jWHkrXn6nCMze4moMscUUXPeOtM59duFjIxgD4KPBpi21CkxVHune1s63sZEX69blep 3boM8VkZbCvlHOoiVH6Y8E53N+Sy3T2frGsCxFZFKKrTeBStMZoIW5NWH8CekyAh90+P qzQw== 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=xs/Gz02VOEXRIejbiwPAumgKKx7fjigzR5uG/jk9StE=; b=rr6HVm/hiPcnU4uZwO9YtkxOQ/NFM+EGKJQ7Z71Mk66QXl4i7LFIJeDz1D/RdLAbFh XG71G8iHNNLCJQQOuoljqLU4VzbUSQgLCKvUI4LLpjhwP14qPnLAcJ6V6tQ2a3zOMHY1 K6LCOWX+A/EEFPbf/jgf61XqEq9AIX9Di7gFtN/yA3D5dMNlvuGSJ4LDFwhEWW1u4rAX xOL5iSNqX+oiihI0G+WfaCfo1ektaphoajFmjDGtsA/+KiL0+VHsPc66smjzbAxldU5L rdgc4Rag0MrPvuhqsKPOxZ0GJrVAwaYk6p6WYSf7dzii8zGWUoyZpXUZnAx5knWsgZXc uJWQ== 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 f20-v6si1579002plj.254.2018.02.23.02.18.31; Fri, 23 Feb 2018 02:18:45 -0800 (PST) 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 S1751730AbeBWKRD (ORCPT + 99 others); Fri, 23 Feb 2018 05:17:03 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:43407 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751582AbeBWKQy (ORCPT ); Fri, 23 Feb 2018 05:16:54 -0500 X-UUID: b3ef7d0292ec430a9ab442d8a0bbdef0-20180223 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1460415008; Fri, 23 Feb 2018 18:16:49 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 23 Feb 2018 18:16:49 +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; Fri, 23 Feb 2018 18:16:49 +0800 From: To: , , , , CC: , , Sean Wang Subject: [PATCH v1 05/19] arm: dts: mt7623: add BTIF, HSDMA and SPI-NOR device nodes Date: Fri, 23 Feb 2018 18:16:25 +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 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 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>; -- 2.7.4