Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1299562
| Path | csiph.com!goblin1!goblin.stu.neva.ru!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Leilk Liu <leilk.liu@mediatek.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/4] dts: mt2701: add spi dts for mt2701 |
| Date | Thu, 31 Dec 2015 04:00:02 +0100 |
| Message-ID | <qLBD4-6P9-29@gated-at.bofh.it> (permalink) |
| References | <qLBD4-6P9-11@gated-at.bofh.it> |
| X-Original-To | Mark Brown <broonie@kernel.org> |
| X-Listener-Flag | 11101 |
| X-Mailer | git-send-email 1.7.9.5 |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Mtk | N |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 63 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Mark Rutland <mark.rutland@arm.com>, Matthias Brugger <matthias.bgg@gmail.com>, Sascha Hauer <s.hauer@pengutronix.de>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-spi@vger.kernel.org>, <linux-mediatek@lists.infradead.org>, Leilk Liu <leilk.liu@mediatek.com> |
| X-Original-Date | Thu, 31 Dec 2015 10:59:02 +0800 |
| X-Original-Message-ID | <1451530743-8995-4-git-send-email-leilk.liu@mediatek.com> |
| X-Original-References | <1451530743-8995-1-git-send-email-leilk.liu@mediatek.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1299562 |
Show key headers only | View raw
This patch adds dtsi node of spi for mt2701.
Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index bd88ae9..9ccd1f0 100644
--- a/arch/arm/boot/dts/mt2701.dtsi
+++ b/arch/arm/boot/dts/mt2701.dtsi
@@ -194,4 +194,43 @@
clocks = <&uart_clk>;
status = "disabled";
};
+
+ spi0: spi@1100a000 {
+ compatible = "mediatek,mt2701-spi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0 0x1100a000 0 0x100>;
+ interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&topckgen CLK_TOP_SYSPLL3_D2>,
+ <&topckgen CLK_TOP_SPI0_SEL>,
+ <&pericfg CLK_PERI_SPI0>;
+ clock-names = "parent-clk", "sel-clk", "spi-clk";
+ status = "disabled";
+ };
+
+ spi1: spi@11016000 {
+ compatible = "mediatek,mt2701-spi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0 0x11016000 0 0x100>;
+ interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&topckgen CLK_TOP_SYSPLL3_D2>,
+ <&topckgen CLK_TOP_SPI1_SEL>,
+ <&pericfg CLK_PERI_SPI1>;
+ clock-names = "parent-clk", "sel-clk", "spi-clk";
+ status = "disabled";
+ };
+
+ spi2: spi@11017000 {
+ compatible = "mediatek,mt2701-spi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0 0x11017000 0 0x1000>;
+ interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&topckgen CLK_TOP_SYSPLL3_D2>,
+ <&topckgen CLK_TOP_SPI2_SEL>,
+ <&pericfg CLK_PERI_SPI2>;
+ clock-names = "parent-clk", "sel-clk", "spi-clk";
+ status = "disabled";
+ };
};
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/4] SPI: support mt2701 IC Leilk Liu <leilk.liu@mediatek.com> - 2015-12-31 04:00 +0100
[PATCH 4/4] Document: spi: Add bindings for mediatek MT2701 soc platform Leilk Liu <leilk.liu@mediatek.com> - 2015-12-31 04:00 +0100
Re: [PATCH 4/4] Document: spi: Add bindings for mediatek MT2701 soc platform Mark Brown <broonie@kernel.org> - 2015-12-31 23:10 +0100
Re: [PATCH 4/4] Document: spi: Add bindings for mediatek MT2701 soc platform Rob Herring <robh@kernel.org> - 2015-12-31 23:20 +0100
[PATCH 1/4] spi: mediatek: merge all identical compat to mtk_common_compat Leilk Liu <leilk.liu@mediatek.com> - 2015-12-31 04:00 +0100
Re: [PATCH 1/4] spi: mediatek: merge all identical compat to mtk_common_compat Matthias Brugger <matthias.bgg@gmail.com> - 2015-12-31 09:40 +0100
[PATCH 3/4] dts: mt2701: add spi dts for mt2701 Leilk Liu <leilk.liu@mediatek.com> - 2015-12-31 04:00 +0100
csiph-web