Skip to content

Commit

Permalink
board: x86: rpl: add acpi device nodes for uart
Browse files Browse the repository at this point in the history
add device nodes for uart with acpi base device resource enumeration.

Signed-off-by: Najumon B.A <[email protected]>
  • Loading branch information
najumon1980 committed Sep 18, 2023
1 parent cec74fa commit 53c187b
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions dts/x86/intel/raptor_lake.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "skeleton.dtsi"
#include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
#include <zephyr/dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/acpi/acpi.h>
#include <zephyr/dt-bindings/pcie/pcie.h>
#include <zephyr/dt-bindings/gpio/gpio.h>

Expand Down Expand Up @@ -44,6 +45,25 @@
#address-cells = <1>;
};

acpi0: acpi0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "intel,acpi";
ranges;

uart_ec_0: uart_ec_0 {
compatible = "ns16550";
hardware-id = "PNP0501";
unique-id = "2";
clock-frequency = <1843200>;
interrupt-parent = <&intc>;
interrupts = <ACPI_IRQ_DETECT ACPI_IRQ_FLAG_DETECT 3>;
reg-shift = <0>;
io-mapped;
status = "okay";
};
};

pcie0: pcie0 {
#address-cells = <1>;
#size-cells = <1>;
Expand Down Expand Up @@ -312,17 +332,6 @@
status = "okay";
};

uart_ec_0: uart@3f8 {
compatible = "ns16550";
reg = <0x000003f8 0x100>;
clock-frequency = <1843200>;
interrupts = <4 IRQ_TYPE_LOWEST_EDGE_RISING 3>;
interrupt-parent = <&intc>;
reg-shift = <0>;
io-mapped;
status = "okay";
};

gpio_0_i: gpio@e06e0700 {
compatible = "intel,gpio";
reg = <0xe06e0700 0x1000>;
Expand Down

0 comments on commit 53c187b

Please sign in to comment.