Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3814572pxb; Tue, 26 Jan 2021 05:37:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVwnvEjmka0Dxl5Y9+Pc60b4K4Ls79bCodYdCCHaJm9CBtcsBk8T9iPF+HjL1riZHZWkYV X-Received: by 2002:aa7:dcc9:: with SMTP id w9mr4528845edu.22.1611668260814; Tue, 26 Jan 2021 05:37:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611668260; cv=none; d=google.com; s=arc-20160816; b=kvBNRZext3bNQ7riN7qfh+Wf+5+wKL3j09YImwJwWhs9xr3dHqfLQnhlLC+5VBepNc acFX1mwxi21gsb8P9giPqtaZwYW1nWhbwdsd5XEsdAPbmXN1Idii856h7xQBYEHHSktN EgCNuwkYqPqzMarrB4O5yA9aIpGdW85n3GNQm0PHtFsPmp9sUBAkTgV4Ni5i5QjLCJqb fQJKfQHH06yUB/wUv6z8sfFZtwn6m78Leb/r+ap/Jss5RUEXsoM1LwpMRy1iS1TVni3R xn0DdE8ixlzKKW2fv6+4owCY+Aeqtf9YYrPOMpFCA0FOe3Jc6RwQG1yb52fOSqlSO/cw g/WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=vAdPLJr1PhWug3Ks91FVSrzDWliE5cpurbA3Ob+rtIw=; b=M9xORRnGCfs7tofwuc2qlaoCgdYWgJoo5i1sl7rt++eTU3rwQ+oRolY6B/k2/qfeLB hJpy7Kxlr61EI+Myd72jPuEM154YevMIIV4Vxur3wqPW6x1/Uw6KdCDXg129YuC2iFn5 At5AunhPWizybqEBEBjIYr0R10mRFr1Kvau2iqSQsTtVF0LBNon71uNWSWQjw10uP5hm q6pCqFTHVfwVjMq3mR+rnINsxwdMvCaqPjIObTEkxsu+zYoZH+5LJAHoIttVkeEBMt3C 3B5UHm2MXvkv7+HTmrCI/ABPpl/GKS3Ni9GNbakgGEQ8rNahQJvW6IGwKfiHEklO56eq gY5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gg14si7337152ejb.367.2021.01.26.05.37.15; Tue, 26 Jan 2021 05:37:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404473AbhAZNdG (ORCPT + 99 others); Tue, 26 Jan 2021 08:33:06 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:55618 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2404444AbhAZNcH (ORCPT ); Tue, 26 Jan 2021 08:32:07 -0500 X-UUID: 1c850dbb11be4f359ea5f03d2d240bd8-20210126 X-UUID: 1c850dbb11be4f359ea5f03d2d240bd8-20210126 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1390792882; Tue, 26 Jan 2021 21:31:20 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 Jan 2021 21:31:18 +0800 Received: from localhost.localdomain (10.15.20.246) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 26 Jan 2021 21:31:18 +0800 From: Mason Zhang To: Rob Herring , Matthias Brugger CC: , , , , , mtk22786 , Mason Zhang Subject: [PATCH v1 1/1] arm64: dts: mt6779: add spi host dts nodes Date: Tue, 26 Jan 2021 21:18:39 +0800 Message-ID: <20210126131839.2168-2-mason.zhang@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210126131839.2168-1-mason.zhang@mediatek.com> References: <20210126131839.2168-1-mason.zhang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 3CEE20003B000953DADB1DA8BE2D11D7441859CF93F43EF4A6FEB6449928E85B2000:8 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: mtk22786 this patch add spi host dts nodes for mt6779 IC. Change-Id: If4a3cbb09843f472210b390352db4b9886f5c00c Signed-off-by: Mason Zhang --- arch/arm64/boot/dts/mediatek/mt6779.dtsi | 96 ++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi index 370f309d32de..272f4346d35e 100644 --- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi @@ -219,6 +219,102 @@ status = "disabled"; }; + spi0: spi0@1100a000 { + compatible = "mediatek,mt6779-spi", + "mediatek,mt6765-spi"; + mediatek,pad-select = <0>; + reg = <0 0x1100a000 0 0x1000>; + interrupts = ; + clocks = <&topckgen CLK_TOP_MAINPLL_D5_D2>, + <&topckgen CLK_TOP_SPI>, + <&infracfg_ao CLK_INFRA_SPI0>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + }; + + spi1: spi1@11010000 { + compatible = "mediatek,mt6779-spi", + "mediatek,mt6765-spi"; + mediatek,pad-select = <0>; + reg = <0 0x11010000 0 0x1000>; + interrupts = ; + clocks = <&topckgen CLK_TOP_MAINPLL_D5_D2>, + <&topckgen CLK_TOP_SPI>, + <&infracfg_ao CLK_INFRA_SPI1>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + }; + + spi2: spi2@11012000 { + compatible = "mediatek,mt6779-spi", + "mediatek,mt6765-spi"; + mediatek,pad-select = <0>; + reg = <0 0x11012000 0 0x1000>; + interrupts = ; + clocks = <&topckgen CLK_TOP_MAINPLL_D5_D2>, + <&topckgen CLK_TOP_SPI>, + <&infracfg_ao CLK_INFRA_SPI2>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + }; + + spi3: spi3@11013000 { + compatible = "mediatek,mt6779-spi", + "mediatek,mt6765-spi"; + mediatek,pad-select = <0>; + reg = <0 0x11013000 0 0x1000>; + interrupts = ; + clocks = <&topckgen CLK_TOP_MAINPLL_D5_D2>, + <&topckgen CLK_TOP_SPI>, + <&infracfg_ao CLK_INFRA_SPI3>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + }; + + spi4: spi4@11018000 { + compatible = "mediatek,mt6779-spi", + "mediatek,mt6765-spi"; + mediatek,pad-select = <0>; + reg = <0 0x11018000 0 0x1000>; + interrupts = ; + clocks = <&topckgen CLK_TOP_MAINPLL_D5_D2>, + <&topckgen CLK_TOP_SPI>, + <&infracfg_ao CLK_INFRA_SPI4>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + }; + + spi5: spi5@11019000 { + compatible = "mediatek,mt6779-spi", + "mediatek,mt6765-spi"; + mediatek,pad-select = <0>; + reg = <0 0x11019000 0 0x1000>; + interrupts = ; + clocks = <&topckgen CLK_TOP_MAINPLL_D5_D2>, + <&topckgen CLK_TOP_SPI>, + <&infracfg_ao CLK_INFRA_SPI5>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + }; + + spi6: spi6@1101d000 { + compatible = "mediatek,mt6779-spi", + "mediatek,mt6765-spi"; + mediatek,pad-select = <0>; + reg = <0 0x1101d000 0 0x1000>; + interrupts = ; + clocks = <&topckgen CLK_TOP_MAINPLL_D5_D2>, + <&topckgen CLK_TOP_SPI>, + <&infracfg_ao CLK_INFRA_SPI6>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + }; + + spi7: spi7@1101e000 { + compatible = "mediatek,mt6779-spi", + "mediatek,mt6765-spi"; + mediatek,pad-select = <0>; + reg = <0 0x1101e000 0 0x1000>; + interrupts = ; + clocks = <&topckgen CLK_TOP_MAINPLL_D5_D2>, + <&topckgen CLK_TOP_SPI>, + <&infracfg_ao CLK_INFRA_SPI7>; + clock-names = "parent-clk", "sel-clk", "spi-clk"; + }; + audio: clock-controller@11210000 { compatible = "mediatek,mt6779-audio", "syscon"; reg = <0 0x11210000 0 0x1000>; -- 2.18.0