Skip to content

Commit

Permalink
boards: x86/acrn: add devicetree PCIe controller node
Browse files Browse the repository at this point in the history
Commit 940c66f added a bunch of
ACPI PNP ID to x86 boards but skipped those for ACRN. And commit
34a2fbf changed the behavior of
PCIe controller to looking for PNP ID, it results in compilation
error due to build asserts. So add the PCIe controller node to
the ACRN base DTS file.

Fixes #68956

(cherry picked from commit fe8fe27)

Original-Signed-off-by: Daniel Leung <daniel.leung@intel.com>
GitOrigin-RevId: fe8fe27
Change-Id: I647c06c44137719ccdca48cf65b38ea931d9c848
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5295752
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: Fabio Baltieri <fabiobaltieri@google.com>
  • Loading branch information
dcpleung authored and Chromeos LUCI committed Feb 14, 2024
1 parent 759338d commit 1261570
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions boards/x86/acrn/acrn.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};

pcie0: pcie0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "pcie-controller";
acpi-hid = "PNP0A08";
ranges;
};
};

&uart0 {
Expand Down

0 comments on commit 1261570

Please sign in to comment.