File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
#include <arm/armv8-m.dtsi>
8
+ #include <zephyr/dt-bindings/adc/adc.h>
8
9
#include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h>
9
10
#include <zephyr/dt-bindings/gpio/gpio.h>
10
11
#include <zephyr/dt-bindings/i2c/i2c.h>
319
320
status = "okay";
320
321
};
321
322
323
+ adc0: adc@a0000 {
324
+ compatible = "nxp,lpc-lpadc";
325
+ reg = <0xa0000 0x1000>;
326
+ interrupts = <22 0>;
327
+ status = "disabled";
328
+ clk-divider = <8>;
329
+ clk-source = <0>;
330
+ voltage-ref= <1>;
331
+ calibration-average = <128>;
332
+ power-level = <0>;
333
+ offset-value-a = <10>;
334
+ offset-value-b = <10>;
335
+ #io-channel-cells = <1>;
336
+ clocks = <&syscon MCUX_LPADC1_CLK>;
337
+ };
338
+
322
339
usbhs: usbhs@94000 {
323
340
compatible = "nxp,lpcip3511";
324
341
reg = <0x94000 0x1000>;
You can’t perform that action at this time.
0 commit comments