Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp189517pxj; Wed, 23 Jun 2021 19:28:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+OpPqDw94fcVfH7BlHfAROsYRuwt0Cgnqc7NhMlyfewLWl4g2lLhZgQuLanmHoGA0uxpz X-Received: by 2002:a17:906:7f1a:: with SMTP id d26mr2900533ejr.449.1624501725826; Wed, 23 Jun 2021 19:28:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624501725; cv=none; d=google.com; s=arc-20160816; b=b1G10axXzMHH/JpGKzZB6CkrU8/Vek7tY/5P0NOs5nM3yNWChTObUOUXZaAclOZhNV G2FZ+cus8r3mlViz0cDMRn8UWUm0Ex0bnl7C0UCeShIAKH6Un7RwYS5/hv50WPD3vb14 0P3ZCB7VMMDDd9QRPYVtgizOjIPSZCE/3iNzx741oghlP+LQgayrEqAKz37jcT6p81em novLdxm/65TfUdzPY56ltak0BX9mcBKz6AdUyLxBhIlfQ1kWYuDAwk3ZAIo8tLO+/wc4 yYKwiGGtWEdp+/ytMRHaZmcQYQpaaYeaO6oYa/SChzmhqP/1Hi1D5Dpmhhiw8RT9mnhC Vn2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=mrGrbxFC9tEoPKHseY7kTPRHOLJ6/ABowqIUKCSjyYI=; b=zrHMHd8+qp/b4sZJ8E5nJq9M+y6CqgynEiaOr3P0cnTUGeXyx25hU7zsKQ7OZocFvw r6D+lU8m3lMgdmdlDRX+v18utPmiF2Ez33jQKvx2Np4gyB6fdtNxMODbQFw3XwxV9Irm j0bmGwDFsx8xccFsaEccBmrLS0/iNzAQkx91bczr5yFT3NgoYOGlEBPRYSotBmOrkbzG HxwqBlrayODi6wtOIdzloOV9ixUWKwV5hNSxUQxNwMhJ84oM2F5W9iq9YBOPWvXc0XOR I8b80dNh/E80GTaVgnklXnIggQzSnB1fOC/9p7knbAa/Q521DD5gCCxI1CqYDYwy5tPb 3Q6g== 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 mm19si1393828ejb.237.2021.06.23.19.28.22; Wed, 23 Jun 2021 19:28:45 -0700 (PDT) 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 S229822AbhFXC3J (ORCPT + 99 others); Wed, 23 Jun 2021 22:29:09 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:42296 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229759AbhFXC3I (ORCPT ); Wed, 23 Jun 2021 22:29:08 -0400 X-UUID: 48bcc90410ff4655987c24af4b22e157-20210624 X-UUID: 48bcc90410ff4655987c24af4b22e157-20210624 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 343488418; Thu, 24 Jun 2021 10:26:45 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Jun 2021 10:26:44 +0800 Received: from localhost.localdomain (10.15.20.246) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 24 Jun 2021 10:26:43 +0800 From: Mason Zhang To: Rob Herring , Matthias Brugger CC: , , , , , Mason Zhang Subject: [PATCH v4 1/1] arm64: dts: mediatek: add MT6779 spi master dts node Date: Thu, 24 Jun 2021 10:11:37 +0800 Message-ID: <20210624021137.11513-1-mason.zhang@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mason Zhang This patch add spi master dts node for MT6779 SOC. Signed-off-by: Mason Zhang --- arch/arm64/boot/dts/mediatek/mt6779.dtsi | 112 +++++++++++++++++++++++ 1 file changed, 112 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi index 370f309d32de..c81e76865d1b 100644 --- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi @@ -219,6 +219,118 @@ status = "disabled"; }; + spi0: spi0@1100a000 { + compatible = "mediatek,mt6779-spi", + "mediatek,mt6765-spi"; + #address-cells = <1>; + #size-cells = <0>; + 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"; + #address-cells = <1>; + #size-cells = <0>; + 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"; + #address-cells = <1>; + #size-cells = <0>; + 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"; + #address-cells = <1>; + #size-cells = <0>; + 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"; + #address-cells = <1>; + #size-cells = <0>; + 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"; + #address-cells = <1>; + #size-cells = <0>; + 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"; + #address-cells = <1>; + #size-cells = <0>; + 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"; + #address-cells = <1>; + #size-cells = <0>; + 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