Skip to content
Snippets Groups Projects
Commit 80000b5c authored by Nicola Sparnacci's avatar Nicola Sparnacci
Browse files

[C57][DTS][C57-64] Add ADC support

parent 8e4dbadf
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,12 @@
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <0>;
reg_adc_vref_1v8: adc_vref_1v8 {
compatible = "regulator-fixed";
regulator-name = "vref_1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
/*cn15 connector*/
reg_en_bckl1_drv: en_bckl_drv {
......@@ -550,6 +556,13 @@
IMX8QXP_MIPI_DSI0_I2C0_SDA_MIPI_DSI0_I2C0_SDA 0xc6000020
>;
};
pinctrl_adc0: adc0grp {
fsl,pins = <
IMX8QXP_ADC_IN4_ADMA_ADC_IN4 0x60
IMX8QXP_ADC_IN5_ADMA_ADC_IN5 0x60
>;
};
};
};
......@@ -904,6 +917,13 @@ gpio5: &lsio_gpio5 {
};
};
&adc0{
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_adc0>;
vref-supply = <&reg_adc_vref_1v8>;
status = "okay";
};
// Bluetooth
&sai0 {
#sound-dai-cells = <0>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment