ARM: dts: vf610-twr: Add ADC support
vf610 has two ADC controllers, and vf610-twr board ADC0_SE5 pin connect to sliding rheostat for ADC test, other ADC pins connect to connectors for future use. Add support for ADC0_SE5. CC: Jonathan Cameron <jic23@kernel.org> CC: Mark Rutland <mark.rutland@arm.com> CC: Otavio Salvador <otavio@ossystems.com.br> CC: Peter Meerwald <pmeerw@pmeerw.net> CC: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
parent
3048fa3fc5
commit
64436ff667
|
@ -47,6 +47,14 @@
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reg_vcc_3v3_mcu: regulator@1 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
reg = <1>;
|
||||||
|
regulator-name = "vcc_3v3_mcu";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sound {
|
sound {
|
||||||
|
@ -79,6 +87,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&adc0 {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_adc0_ad5>;
|
||||||
|
vref-supply = <®_vcc_3v3_mcu>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&dspi0 {
|
&dspi0 {
|
||||||
bus-num = <0>;
|
bus-num = <0>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
@ -128,6 +143,12 @@
|
||||||
|
|
||||||
&iomuxc {
|
&iomuxc {
|
||||||
vf610-twr {
|
vf610-twr {
|
||||||
|
pinctrl_adc0_ad5: adc0ad5grp {
|
||||||
|
fsl,pins = <
|
||||||
|
VF610_PAD_PTC30__ADC0_SE5 0xa1
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl_dspi0: dspi0grp {
|
pinctrl_dspi0: dspi0grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
VF610_PAD_PTB19__DSPI0_CS0 0x1182
|
VF610_PAD_PTB19__DSPI0_CS0 0x1182
|
||||||
|
|
|
@ -183,6 +183,15 @@
|
||||||
clock-names = "pit";
|
clock-names = "pit";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
adc0: adc@4003b000 {
|
||||||
|
compatible = "fsl,vf610-adc";
|
||||||
|
reg = <0x4003b000 0x1000>;
|
||||||
|
interrupts = <0 53 0x04>;
|
||||||
|
clocks = <&clks VF610_CLK_ADC0>;
|
||||||
|
clock-names = "adc";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
wdog@4003e000 {
|
wdog@4003e000 {
|
||||||
compatible = "fsl,vf610-wdt", "fsl,imx21-wdt";
|
compatible = "fsl,vf610-wdt", "fsl,imx21-wdt";
|
||||||
reg = <0x4003e000 0x1000>;
|
reg = <0x4003e000 0x1000>;
|
||||||
|
@ -326,6 +335,15 @@
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
adc1: adc@400bb000 {
|
||||||
|
compatible = "fsl,vf610-adc";
|
||||||
|
reg = <0x400bb000 0x1000>;
|
||||||
|
interrupts = <0 54 0x04>;
|
||||||
|
clocks = <&clks VF610_CLK_ADC1>;
|
||||||
|
clock-names = "adc";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
fec0: ethernet@400d0000 {
|
fec0: ethernet@400d0000 {
|
||||||
compatible = "fsl,mvf600-fec";
|
compatible = "fsl,mvf600-fec";
|
||||||
reg = <0x400d0000 0x1000>;
|
reg = <0x400d0000 0x1000>;
|
||||||
|
|
Loading…
Reference in New Issue