Skip to content

Commit

Permalink
snippets: tests: all drivers: gpio: add SC18IS604
Browse files Browse the repository at this point in the history
Support the SC18IS604 chip on build all GPIO driver test.

Signed-off-by: Stephan Linz <[email protected]>
  • Loading branch information
rexut committed Jul 27, 2024
1 parent d20266f commit f97cda5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions snippets/tstdrv-bldall-gpio-adj/tstdrv-bldall-gpio-adj.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@

/* one entry for every devices */
cs-gpios = <&test_gpio_adj 0 0>,
<&test_gpio_adj 0 0>,
<&test_gpio_adj 0 0>,
<&test_gpio_adj 0 0>,
<&test_gpio_adj 0 0>;
Expand Down Expand Up @@ -243,6 +244,23 @@
offset = <24>;
};
};

test_spi_sc18is604: sc18is604-spi@4 {
compatible = "nxp,sc18is604";
status = "okay";
reg = <0x4>;
spi-max-frequency = <650000>;
reset-gpios = <&test_gpio_adj 0 0>;
interrupt-gpios = <&test_gpio_adj 0 0>;

test_spi_sc18is604_gpio: sc18is604-spi-gpio {
compatible = "nxp,sc18is604-gpio";
status = "okay";
gpio-controller;
#gpio-cells = <2>;
ngpios = <5>;
};
};
};

test_uart_adj: uart@eeeeffff {
Expand Down

0 comments on commit f97cda5

Please sign in to comment.