Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3850149pxb; Tue, 26 Jan 2021 06:27:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQeSJarwsl0bY3OGGjkR8XvakgRQIQ/39n8bkOy6VVjfFel3bt+U2Trex7FB6+6a89oGip X-Received: by 2002:a05:6402:2289:: with SMTP id cw9mr4743609edb.319.1611671220325; Tue, 26 Jan 2021 06:27:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611671220; cv=none; d=google.com; s=arc-20160816; b=LR9NkmJpyZ4IO79PuSYgW66S5hupfjV+3ozclKWCB4T8bhM/J17D+erLXxwnofoK3i /6pKajAFjgESmOHf8vAQgripwBbL1/Ru21nf3Ce4LLT/ca5bA0Kxxtq2MigCqJTZLteW RcRiB8ngrUzR9zhGAYDSFAF2u67qiO8YV5+3raJq/eYyZLe0v3KJYDHGvJkbK8k4FXBm tA7wUN4etsuIh20XaDTA12gPRLr5nir6vd6FSCQb20loOjPnNRCDR7hJcQsVt50ToE6H L/cXDo2thWFj2qR9XjMgf/k/PNJxPNKBlzNGE5nMt+aChhiAM9ZfK6MaW6kn7DM901Ez 1s9w== 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=axjbhnXCKxndX5heRgG9bfkNzBVanx1RIl7Tm+Zp6jA=; b=Mz4GH1jj860Zc/sF5Ei7ZBVVgBUN5A0HTxsbqSx+z5FpQ0xdurUidWv3qw6fU66R6X farWzgZDcwR1Tr4zDrkIaHRFwFmekFY8baqcRj+qYZXfDTIjkfkpATONMG/KUeZ6x9Kk bpmrz5wKxHc6b6+OVIfxwFFNnyEDZ3kCCZQm2Jnq8KxzFRkS/otrDONxeeX1UITJ4X68 y9K5O2wBobGiukHlm33lJZFOoTL8k3K1FCw9dPdtlpSDQtmWQDjNVcd1adC0OcOCcZbj kcQERhBKNAMBgnWl/DUNgxjr9OCCYKRT04sKGA5wHhr2EyiKg3GjWlUA8we5jwkOtDM1 Kuww== 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 t3si8228617edw.266.2021.01.26.06.26.25; Tue, 26 Jan 2021 06:27:00 -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 S1731245AbhAZOVq (ORCPT + 99 others); Tue, 26 Jan 2021 09:21:46 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:52462 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2405790AbhAZOT4 (ORCPT ); Tue, 26 Jan 2021 09:19:56 -0500 X-UUID: fcd4be705a884c9a8f7bacc97382811f-20210126 X-UUID: fcd4be705a884c9a8f7bacc97382811f-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 1333734675; Tue, 26 Jan 2021 22:19:09 +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 22:19:08 +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 22:19:07 +0800 From: Mason Zhang To: Rob Herring , Matthias Brugger CC: , , , , , Mason Zhang , Mason Zhang Subject: [PATCH v1 1/1] arm64: dts: mt6779: add spi host dts nodes Date: Tue, 26 Jan 2021 22:02:59 +0800 Message-ID: <20210126140257.20328-2-mason.zhang@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210126140257.20328-1-mason.zhang@mediatek.com> References: <20210126140257.20328-1-mason.zhang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 4CE4E7E32D4DB09CE34C1EE0767A23B90274359C5A26A0CE1F30E79B405E97AF2000:8 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mason Zhang This patch adds spi dts nodes for mt6779 IC. 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