Skip to content

Commit caead9f

Browse files
akanisetticfriedt
authored andcommitted
tests: drivers: Add PTL-h overlays to support two applications
Added support for disk_access and I2C with bme280 application for ptl-h platform. -samples/sensor/bme280 -tests/drivers/disk Signed-off-by: Anisetti Avinash Krishna <[email protected]>
1 parent e200719 commit caead9f

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_I2C=y
2+
CONFIG_I2C_DW=y
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* Copyright (c) 2025 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&i2c1 {
8+
status = "okay";
9+
bme280@76 {
10+
compatible = "bosch,bme280";
11+
reg = <0x76>;
12+
status = "okay";
13+
};
14+
};
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 = <0x1B36>; /* Subject to change based on hardware used */
13+
device-id = <0x0010>; /* Subject to change based 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+
};

0 commit comments

Comments
 (0)