soc: nxp: MCXW71: Add LPADC node + clocking
Add DT entry and default clocking for ADC0 on MCXW71. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
66ae0096a2
commit
4b3d88e82e
2 changed files with 22 additions and 0 deletions
|
@ -318,6 +318,22 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
adc0: adc@47000 {
|
||||
compatible = "nxp,lpc-lpadc";
|
||||
reg = <0x47000 0x1000>;
|
||||
interrupts = <71 0>;
|
||||
clocks = <&scg SCG_K4_FIRC_CLK 0x11c>;
|
||||
voltage-ref= <1>;
|
||||
calibration-average = <128>;
|
||||
/* pwrlvl 0 is slow speed low power, 1 is opposite */
|
||||
power-level = <0>;
|
||||
offset-value-a = <0>;
|
||||
offset-value-b = <0>;
|
||||
#io-channel-cells = <1>;
|
||||
nxp,references = <&vref 1800>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
vref: regulator@4a000 {
|
||||
compatible = "nxp,vref";
|
||||
regulator-name = "mcxw71-vref";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue