Skip to content

Commit

Permalink
ARM: dts: lpc4357-ea4357: add adc0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
manabian committed Mar 29, 2016
1 parent 8c93800 commit 5f2d9d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -461,6 +468,11 @@
};
};

&adc0 {
status = "okay";
vref-supply = <&vcc>;
};

&i2c0 {
status = "okay";
pinctrl-names = "default";
Expand Down

0 comments on commit 5f2d9d1

Please sign in to comment.