File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
tests/drivers/spi/spi_loopback/boards Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ CONFIG_SPI_XMC4XXX_INTERRUPT=y
2
+ CONFIG_SPI_LOOPBACK_MODE_LOOP=y
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2022 Schlumberger
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ &spi_mosi_p1_5_u0c0 {
8
+ drive-strength = "strong-soft-edge";
9
+ hwctrl = "disabled";
10
+ };
11
+
12
+ &spi_miso_p1_4_u0c0 {
13
+ drive-strength = "strong-soft-edge";
14
+ hwctrl = "disabled";
15
+ };
16
+
17
+ &spi_sclk_p0_8_u0c0 {
18
+ drive-strength = "strong-soft-edge";
19
+ hwctrl = "disabled";
20
+ };
21
+
22
+ &usic0ch0 {
23
+ compatible = "infineon,xmc4xxx-spi";
24
+ pinctrl-0 = <&spi_mosi_p1_5_u0c0 &spi_miso_p1_4_u0c0 &spi_sclk_p0_8_u0c0>;
25
+ pinctrl-names = "default";
26
+ miso-src = "DX0B";
27
+ interrupts = <84 1>;
28
+ interrupt-names = "rx";
29
+
30
+ #address-cells = <1>;
31
+ #size-cells = <0>;
32
+ status = "okay";
33
+
34
+ slow@0 {
35
+ compatible = "test-spi-loopback-slow";
36
+ reg = <0>;
37
+ spi-max-frequency = <500000>;
38
+ };
39
+ fast@0 {
40
+ compatible = "test-spi-loopback-fast";
41
+ reg = <0>;
42
+ spi-max-frequency = <16000000>;
43
+ };
44
+ };
You can’t perform that action at this time.
0 commit comments