mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 19:59:34 -04:00
arm64: dts: colibri-imx8x: Add analog inputs
Add adc nodes for analog inputs support for all Colibri-iMX8X carrier boards. Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
committed by
Shawn Guo
parent
53f7fe5070
commit
7f6b48a663
@@ -3,6 +3,11 @@
|
||||
* Copyright 2018-2021 Toradex
|
||||
*/
|
||||
|
||||
/* Colibri Analogue Inputs */
|
||||
&adc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&colibri_gpio_keys {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -19,6 +19,11 @@ clk16m: clock-16mhz {
|
||||
};
|
||||
};
|
||||
|
||||
/* Colibri Analogue Inputs */
|
||||
&adc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&colibri_gpio_keys {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -17,6 +17,11 @@ reg_3v3: regulator-3v3 {
|
||||
};
|
||||
};
|
||||
|
||||
/* Colibri Analogue Inputs */
|
||||
&adc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&colibri_gpio_keys {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -38,6 +38,13 @@ reg_module_3v3: regulator-module-3v3 {
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
reg_module_vref_1v8: regulator-module-vref-1v8 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-name = "vref-1v8";
|
||||
};
|
||||
|
||||
reg_usbh_vbus: regulator-usbh-vbus {
|
||||
compatible = "regulator-fixed";
|
||||
pinctrl-names = "default";
|
||||
@@ -50,7 +57,12 @@ reg_usbh_vbus: regulator-usbh-vbus {
|
||||
};
|
||||
};
|
||||
|
||||
/* TODO Analogue Inputs */
|
||||
/* Colibri Analogue Inputs */
|
||||
&adc0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_adc0>;
|
||||
vref-supply = <®_module_vref_1v8>;
|
||||
};
|
||||
|
||||
/* TODO Cooling maps for DX */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user