File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
tests/drivers/spi/spi_loopback Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2024 NXP
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ &pinctrl {
8
+ dspi0_default: dspi0_default {
9
+ group1 {
10
+ pinmux = <LVDS_DSPI_10_SOUT>, <LVDS_DSPI_10_SCK>;
11
+ output-enable;
12
+ nxp,current-reference-control;
13
+ nxp,termination-resistor;
14
+ };
15
+ group2 {
16
+ pinmux = <LVDS_DSPI_10_SIN>;
17
+ input-enable;
18
+ nxp,current-reference-control;
19
+ nxp,termination-resistor;
20
+ };
21
+ };
22
+ };
23
+
24
+ &dspi0 {
25
+ pinctrl-0 = <&dspi0_default>;
26
+ pinctrl-names = "default";
27
+ status = "okay";
28
+
29
+ slow@0 {
30
+ compatible = "test-spi-loopback-slow";
31
+ reg = <0>;
32
+ spi-max-frequency = <500000>;
33
+ };
34
+
35
+ fast@0 {
36
+ compatible = "test-spi-loopback-fast";
37
+ reg = <0>;
38
+ spi-max-frequency = <16000000>;
39
+ };
40
+ };
Original file line number Diff line number Diff line change @@ -204,3 +204,9 @@ tests:
204
204
drivers.spi.max32_dma.loopback :
205
205
extra_args : EXTRA_CONF_FILE="overlay-max32-spi-dma.conf"
206
206
filter : CONFIG_SOC_FAMILY_MAX32
207
+ drivers.spi.s32z_dspi.loopback :
208
+ extra_args :
209
+ - DTC_OVERLAY_FILE=boards/s32z2xxdc2_s32z270_dspi.overlay
210
+ platform_allow :
211
+ - s32z2xxdc2/s32z270/rtu0
212
+ - s32z2xxdc2/s32z270/rtu1
You can’t perform that action at this time.
0 commit comments