summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2016-02-28 22:47:20 +0300
committerJoachim Eastwood <manabian@gmail.com>2016-03-29 22:56:34 +0300
commit5f2d9d18b2400590ffa1253a689fc22c87e58302 (patch)
tree6d8af8d012fa079fe32476966b3046e7472b9db9 /arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
parent8c938004f529b954db1d8e7b2800d728f4de8667 (diff)
downloadlinux-5f2d9d18b2400590ffa1253a689fc22c87e58302.tar.xz
ARM: dts: lpc4357-ea4357: add adc0
Enable adc0 on EA4357 dev kit. This kit has a 22k potentiometer (R94) connected on ADC0 channel 3. Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/lpc4357-ea4357-devkit.dts')
-rw-r--r--arch/arm/boot/dts/lpc4357-ea4357-devkit.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
index 079d3cf8c00b..bbc70b94d1c3 100644
--- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
+++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
@@ -38,6 +38,13 @@
reg = <0x28000000 0x2000000>; /* 32 MB */
};
+ vcc: vcc_fixed {
+ compatible = "regulator-fixed";
+ regulator-name = "3v3-supply";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
/* vmmc is controlled by sdmmc host internally */
vmmc: vmmc_fixed {
compatible = "regulator-fixed";
@@ -461,6 +468,11 @@
};
};
+&adc0 {
+ status = "okay";
+ vref-supply = <&vcc>;
+};
+
&i2c0 {
status = "okay";
pinctrl-names = "default";