Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1558131
| From | Erin Lo <erin.lo@mediatek.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 4/6] arm: dts: mt2701: Add auxadc device node. |
| Date | 2017-01-13 10:00 +0100 |
| Message-ID | <sZ5Si-79g-25@gated-at.bofh.it> (permalink) |
| References | <sZ5Sh-79g-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Zhiyong Tao <zhiyong.tao@mediatek.com>
Add auxadc device node for MT2701.
Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Signed-off-by: Erin Lo <erin.lo@mediatek.com>
---
arch/arm/boot/dts/mt2701-evb.dts | 4 ++++
arch/arm/boot/dts/mt2701.dtsi | 9 +++++++++
2 files changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts
index 879f1eb..a483798 100644
--- a/arch/arm/boot/dts/mt2701-evb.dts
+++ b/arch/arm/boot/dts/mt2701-evb.dts
@@ -24,6 +24,10 @@
};
};
+&auxadc {
+ status = "okay";
+};
+
&pio {
spi_pins_a: spi0@0 {
pins_spi {
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 1182c43..4f52019 100644
--- a/arch/arm/boot/dts/mt2701.dtsi
+++ b/arch/arm/boot/dts/mt2701.dtsi
@@ -208,6 +208,15 @@
<0 0x10216000 0 0x2000>;
};
+ auxadc: adc@11001000 {
+ compatible = "mediatek,mt2701-auxadc";
+ reg = <0 0x11001000 0 0x1000>;
+ clocks = <&pericfg CLK_PERI_AUXADC>;
+ clock-names = "main";
+ #io-channel-cells = <1>;
+ status = "disabled";
+ };
+
uart0: serial@11002000 {
compatible = "mediatek,mt2701-uart",
"mediatek,mt6577-uart";
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/6] Add some DT nodes for Mediatek MT2701 Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
[PATCH v2 6/6] arm: dts: mt2701: Add thermal device node. Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node. Matthias Brugger <matthias.bgg@gmail.com> - 2017-01-13 16:30 +0100
Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node. Dawei Chien <dawei.chien@mediatek.com> - 2017-01-16 04:50 +0100
Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node. Dawei Chien <dawei.chien@mediatek.com> - 2017-01-16 04:50 +0100
[PATCH v2 1/6] arm: dts: mt2701: Add spi device node Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
Re: [PATCH v2 1/6] arm: dts: mt2701: Add spi device node Matthias Brugger <matthias.bgg@gmail.com> - 2017-01-13 16:30 +0100
[PATCH v2 4/6] arm: dts: mt2701: Add auxadc device node. Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
Re: [PATCH v2 4/6] arm: dts: mt2701: Add auxadc device node. Matthias Brugger <matthias.bgg@gmail.com> - 2017-01-13 16:30 +0100
[PATCH v2 3/6] arm: dts: mt2701: Add nand device node Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
Re: [PATCH v2 3/6] arm: dts: mt2701: Add nand device node Matthias Brugger <matthias.bgg@gmail.com> - 2017-01-13 16:30 +0100
[PATCH v2 5/6] arm: dts: mt2701: Add ethernet device node. Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
Re: [PATCH v2 5/6] arm: dts: mt2701: Add ethernet device node. John Crispin <john@phrozen.org> - 2017-01-14 11:40 +0100
Re: [PATCH v2 5/6] arm: dts: mt2701: Add ethernet device node. Sean Wang <sean.wang@mediatek.com> - 2017-01-14 17:20 +0100
[PATCH v2 2/6] arm: dts: mt2701: Add iommu/smi device node Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
Re: [PATCH v2 2/6] arm: dts: mt2701: Add iommu/smi device node Matthias Brugger <matthias.bgg@gmail.com> - 2017-01-13 16:10 +0100
Re: [PATCH v2 2/6] arm: dts: mt2701: Add iommu/smi device node Honghui Zhang <honghui.zhang@mediatek.com> - 2017-01-16 04:00 +0100
csiph-web