Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3825317pxb; Tue, 26 Jan 2021 05:55:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2UAh6+CnQT6g1ayXEWse3kZRAuEssoQVrE+97ybCem9nCJlS/eSUr89wpYNwUXBJvlaHT X-Received: by 2002:a17:906:3685:: with SMTP id a5mr3393790ejc.544.1611669321709; Tue, 26 Jan 2021 05:55:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611669321; cv=none; d=google.com; s=arc-20160816; b=NzKH6rvdZCP2IHx1eJLUOy8sMVoOSY/O9x4cCiL29z1wX4inq3poo2F3vIEyAv2O+c /+zek33Q7JdcPSpt4T4vi50BGrnrqzTWTCSr8g4VEoPE+DaANGHDq2oKgPZ5RVddoTks ti08NMQ/kQRQoXf9oJy6LdKIDMbL8PzUu9A2eAEEQ3Bq3SH9MD66K1t/0rpv5smMn5G5 qdU/IMpQk+rnVJZR+W0zUNTCjW86vuCq6xyJtXavORwUxz6NDsc6r3IdzJtGO7rIqkgF SNGdV6Nq7Gw/8ha+4iOOHTUIAx6ppnoWRtVZyrjVRVSaA52eUh86/FUL0IC7dooGnly9 OU0g== 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=TGL9UdegNqFCfHMNEg4hO/C74/52rPgamWE24xgQNVE=; b=EnUPUepDTwzhlEsbYO5JRR2cIsNsRWogI2I3BfCSY+iUSCiOkg6iquICpWkNsgz8SS nRqwy5BOGSPUDCqxPwuBNgx8QUpF4apS/4qJf6/CKyVBxkF1OZgd5SNnh36LS5AVC9+A 8HcVecbNwEj2eSSF6WYmIW4vfaq+d3sDetANjjValOy1AepYbZFSoJbqjnIxa/uixMNu RqBFGyNc/NXPotl6ZIjRjgo41jAmLq/iRQYC4XRAqmo1ZlrF4eSftX4xSEdwXtNP/ZZu 3Zuyy20zqeoobacAVNeL+PZd0PgxIXqPBsV6FjnaXR5KGtlEP9m1iHbpMmc9E20yW5ie 9G+w== 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 q19si8504573edv.94.2021.01.26.05.54.57; Tue, 26 Jan 2021 05:55:21 -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 S2405501AbhAZNuk (ORCPT + 99 others); Tue, 26 Jan 2021 08:50:40 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:36931 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2405443AbhAZNue (ORCPT ); Tue, 26 Jan 2021 08:50:34 -0500 X-UUID: 190dfdc93a5040ea87bbc400ae3243c3-20210126 X-UUID: 190dfdc93a5040ea87bbc400ae3243c3-20210126 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] 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 1714495659; Tue, 26 Jan 2021 21:49:51 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 Jan 2021 21:49:49 +0800 Received: from localhost.localdomain (10.15.20.246) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 26 Jan 2021 21:49:49 +0800 From: Mason Zhang To: Rob Herring , Matthias Brugger CC: , , , , , Mason Zhang Subject: [PATCH v1 1/1] arm64: dts: mt6779: add spi host dts nodes Date: Tue, 26 Jan 2021 21:35:34 +0800 Message-ID: <20210126133531.32253-2-mason.zhang@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210126133531.32253-1-mason.zhang@mediatek.com> References: <20210126133531.32253-1-mason.zhang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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