Skip to content

Commit 274519c

Browse files
committed
tests: drivers: Add overlays for intel wcl boards
This commit introduces overlay files for intel Wildcat lake boards Signed-off-by: S Swetha <s.swetha@intel.com>
1 parent 9de5940 commit 274519c

File tree

7 files changed

+102
-0
lines changed

7 files changed

+102
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_NVME=y
2+
CONFIG_PCIE_MSI=y
3+
CONFIG_PCIE_MSI_X=y
4+
CONFIG_PCIE_MSI_MULTI_VECTOR=y
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
* Copyright (c) 2025 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
pcie0 {
9+
nvme0: nvme0 {
10+
compatible = "nvme-controller";
11+
12+
vendor-id = <0x1344>; /* Subjected to change base on Hardware used */
13+
device-id = <0x5415>; /* Subjected to change base on Hardware used */
14+
15+
status = "okay";
16+
};
17+
};
18+
19+
ramdisk0 {
20+
compatible = "zephyr,ram-disk";
21+
disk-name = "RAM";
22+
sector-size = <512>;
23+
sector-count = <192>;
24+
};
25+
};
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* Copyright (c) 2025 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
/*
7+
* Connect loopback between GPP_B_22 and GPP_B_23.
8+
* BIOS settings to mark these two pins as GPIO
9+
* Under Intel Advanced Menu > PCH-IO Configuration
10+
* Enable Timed GPIO0 > Disable
11+
* Enable Timed GPIO1 > Disable
12+
* ISH Configuration > GP_5 > Unchecked [ ]
13+
* ISH Configuration > GP_6 > Unchecked [ ]
14+
*/
15+
16+
&gpio_b {
17+
status = "okay";
18+
};
19+
20+
/ {
21+
resources {
22+
compatible = "test-gpio-basic-api";
23+
24+
out-gpios = <&gpio_b 22 0>;
25+
in-gpios = <&gpio_b 23 0>;
26+
};
27+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_SPI=y
2+
CONFIG_SPI_ASYNC=n
3+
CONFIG_GPIO=y
4+
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* Copyright (c) 2025 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&spi0 {
8+
pw,cs-mode = <0>;
9+
pw,cs-output = <0>;
10+
status = "okay";
11+
12+
slow@0 {
13+
compatible = "test-spi-loopback-slow";
14+
reg = <0>;
15+
spi-max-frequency = <500000>;
16+
};
17+
18+
fast@0 {
19+
compatible = "test-spi-loopback-fast";
20+
reg = <0>;
21+
spi-max-frequency = <16000000>;
22+
};
23+
};
24+
25+
&gpio_e {
26+
status = "okay";
27+
};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_UART_INTERRUPT_DRIVEN=y
2+
CONFIG_TEST_USERSPACE=n
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
dut: &uart1 {
8+
status = "okay";
9+
};
10+
11+
&uart1_dma {
12+
status = "okay";
13+
};

0 commit comments

Comments
 (0)