Commit 5f2d9d18 authored by Joachim Eastwood's avatar Joachim Eastwood

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: default avatarJoachim Eastwood <manabian@gmail.com>
parent 8c938004
...@@ -38,6 +38,13 @@ memory { ...@@ -38,6 +38,13 @@ memory {
reg = <0x28000000 0x2000000>; /* 32 MB */ 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 is controlled by sdmmc host internally */
vmmc: vmmc_fixed { vmmc: vmmc_fixed {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
...@@ -461,6 +468,11 @@ usb0_pwr_fault { ...@@ -461,6 +468,11 @@ usb0_pwr_fault {
}; };
}; };
&adc0 {
status = "okay";
vref-supply = <&vcc>;
};
&i2c0 { &i2c0 {
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment