Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6832430imu; Mon, 3 Dec 2018 03:38:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/V4lTAjbJTuJs9NKcEhuRnzqKHh9oaQDjej8sDAvDNAQIrzeGf3I8i/wc2+xnAeoImhM5oD X-Received: by 2002:a63:104d:: with SMTP id 13mr12980868pgq.303.1543837125290; Mon, 03 Dec 2018 03:38:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543837125; cv=none; d=google.com; s=arc-20160816; b=VgWsfq90bQT7I9r4lgTrh5NeXeSOtdrtPjl9TcPmQhCqEsxNT/+ChCuNOBIqfw9Tle 67I9hliK47CsCRR4lkjdNZ+j2ZgFg5/uKg/iemoKz/NiVtsdHAGYf90SIwM5QjG3FNQX okymppjL5itsYlxFObLNFoR3W5JMCr15l8XaZXbcLnSSJhdwEE1DBawyxCehFvviBSL7 heVcZriDGE06mWX7nkkbg3dP8/rK61+eiUeHnWG/DVZ0ynwUWlDzoKkWsUA27e5gMNTo 86YslIay8BaE17Ez70oy5oC9Q0zsEaI1EgJ9hnAZ7YPiZ2uMhUoTNSQYfUU5qhTeqd9v SEqA== 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; bh=5Zxu/s2fu8nb9/58RXE4cgLE+BUPlZKIPOoNHh2oOnc=; b=FLceVU86/yuJE2FNOLRx+xEx7+VmXicrq4Uhy4Pmd90+/PInLS3qfzc63Ej+bkrGhQ VeJEz0wCCVEzZHhft6+lc45A/fEKnKmK4zIRUEBRE9jfSJ1OPU6ujq20zjLhFLIrji7J Xd3qktxdzc57PJ7hsVEe2nAifGzjCMZYrjnBqp/H4TV9fqWbtls/4FbXyjSKSI8KGvde gaYK+LRNmLTWi8zf7dpDWLdyvTtwnInAUQcU6HfXRS+a/klSu1Ql3pt01IwpEVZvpf1V 03BoQiOy264dZojnCftIUHeD1qO1G3tnRbIvnFiAGOQhkL/GxR4BsaxFvB+Ib0rMWphj f6LA== 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 a26si12686305pgl.282.2018.12.03.03.38.30; Mon, 03 Dec 2018 03:38: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 S1726440AbeLCLhN (ORCPT + 99 others); Mon, 3 Dec 2018 06:37:13 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:46067 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726146AbeLCLhN (ORCPT ); Mon, 3 Dec 2018 06:37:13 -0500 X-UUID: 9cd2eccea8954489abae62ad8260c66d-20181203 X-UUID: 9cd2eccea8954489abae62ad8260c66d-20181203 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 714875319; Mon, 03 Dec 2018 19:36:28 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs03n2.mediatek.inc (172.21.101.182) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 3 Dec 2018 19:36:26 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 3 Dec 2018 19:36:26 +0800 From: YT Shen To: Matthias Brugger CC: Rob Herring , Mark Rutland , , , , , , YT Shen Subject: [PATCH 4/8] arm64: dts: add spi nodes for MT2712 Date: Mon, 3 Dec 2018 19:35:58 +0800 Message-ID: <1543836962-18293-5-git-send-email-yt.shen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1543836962-18293-1-git-send-email-yt.shen@mediatek.com> References: <1543836962-18293-1-git-send-email-yt.shen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: E2A0513212962A709977EADCA740F84B8B21384915524F0B04FB52814DD1B4F42000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 65 +++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 7bac8b6..4843376 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -463,6 +463,19 @@ status = "disabled"; }; + spi0: spi@1100a000 { + compatible = "mediatek,mt2712-spi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0 0x1100a000 0 0x100>; + interrupts = ; + clocks = <&topckgen CLK_TOP_UNIVPLL2_D4>, + <&topckgen CLK_TOP_SPI_SEL>, + <&pericfg CLK_PERI_SPI0>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + status = "disabled"; + }; + i2c3: i2c@11010000 { compatible = "mediatek,mt2712-i2c"; reg = <0 0x11010000 0 0x90>, @@ -508,6 +521,58 @@ status = "disabled"; }; + spi2: spi@11015000 { + compatible = "mediatek,mt2712-spi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0 0x11015000 0 0x100>; + interrupts = ; + clocks = <&topckgen CLK_TOP_UNIVPLL2_D4>, + <&topckgen CLK_TOP_SPI_SEL>, + <&pericfg CLK_PERI_SPI2>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + status = "disabled"; + }; + + spi3: spi@11016000 { + compatible = "mediatek,mt2712-spi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0 0x11016000 0 0x100>; + interrupts = ; + clocks = <&topckgen CLK_TOP_UNIVPLL2_D4>, + <&topckgen CLK_TOP_SPI_SEL>, + <&pericfg CLK_PERI_SPI3>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + status = "disabled"; + }; + + spi4: spi@10012000 { + compatible = "mediatek,mt2712-spi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0 0x10012000 0 0x100>; + interrupts = ; + clocks = <&topckgen CLK_TOP_UNIVPLL2_D4>, + <&topckgen CLK_TOP_SPI_SEL>, + <&infracfg CLK_INFRA_AO_SPI0>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + status = "disabled"; + }; + + spi5: spi@11018000 { + compatible = "mediatek,mt2712-spi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0 0x11018000 0 0x100>; + interrupts = ; + clocks = <&topckgen CLK_TOP_UNIVPLL2_D4>, + <&topckgen CLK_TOP_SPI_SEL>, + <&pericfg CLK_PERI_SPI5>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + status = "disabled"; + }; + uart4: serial@11019000 { compatible = "mediatek,mt2712-uart", "mediatek,mt6577-uart"; -- 1.9.1