File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 317
317
clk-source = <2>;
318
318
status = "disabled";
319
319
};
320
+
321
+ vref: regulator@4a000 {
322
+ compatible = "nxp,vref";
323
+ regulator-name = "mcxw71-vref";
324
+ reg = <0x4a000 0x20>;
325
+ #nxp,reference-cells = <1>;
326
+ nxp,buffer-startup-delay-us = <400>;
327
+ nxp,bandgap-startup-time-us = <20>;
328
+ regulator-min-microvolt = <1000000>;
329
+ regulator-max-microvolt = <2100000>;
330
+ nxp,current-compensation-en;
331
+ status = "disabled";
332
+ };
320
333
};
321
334
322
335
&fast_peripheral0 {
Original file line number Diff line number Diff line change @@ -158,6 +158,10 @@ static ALWAYS_INLINE void clock_init(void)
158
158
if (IS_ENABLED (CONFIG_CAN_MCUX_FLEXCAN )) {
159
159
CLOCK_EnableClock (kCLOCK_Can0 );
160
160
}
161
+
162
+ if (DT_NODE_HAS_COMPAT_STATUS (DT_NODELABEL (vref ), nxp_vref , okay )) {
163
+ CLOCK_EnableClock (kCLOCK_Vref0 );
164
+ }
161
165
}
162
166
163
167
static void vbat_init (void )
You can’t perform that action at this time.
0 commit comments