Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1299562
| From | Leilk Liu <leilk.liu@mediatek.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/4] dts: mt2701: add spi dts for mt2701 |
| Date | 2015-12-31 04:00 +0100 |
| Message-ID | <qLBD4-6P9-29@gated-at.bofh.it> (permalink) |
| References | <qLBD4-6P9-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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