diff --git a/boards/x86/qemu_x86/dts.fixup b/boards/x86/qemu_x86/dts.fixup new file mode 100644 index 00000000000..42c1725040d --- /dev/null +++ b/boards/x86/qemu_x86/dts.fixup @@ -0,0 +1,8 @@ +/* Board level DTS fixup file */ + +#define CONFIG_ETH_E1000_BASE_ADDRESS INTEL_E1000_FEBC0000_BASE_ADDRESS +#define CONFIG_ETH_E1000_IRQ INTEL_E1000_FEBC0000_IRQ_0 +#define CONFIG_ETH_E1000_IRQ_PRIORITY INTEL_E1000_FEBC0000_IRQ_0_PRIORITY +#define CONFIG_ETH_E1000_IRQ_FLAGS INTEL_E1000_FEBC0000_IRQ_0_SENSE + +/* End of Board Level DTS fixup file */ diff --git a/boards/x86/qemu_x86/qemu_x86.dts b/boards/x86/qemu_x86/qemu_x86.dts index cef8c4a7a38..ae98f8c2f05 100644 --- a/boards/x86/qemu_x86/qemu_x86.dts +++ b/boards/x86/qemu_x86/qemu_x86.dts @@ -29,6 +29,18 @@ zephyr,uart-pipe = &uart1; zephyr,bt-mon-uart = &uart1; }; + + soc { + eth0: eth@febc0000 { + compatible = "intel,e1000"; + reg = <0xfebc0000 0x100>; + label = "eth0"; + interrupts = <11 IRQ_TYPE_EDGE_RISING 3>; + interrupt-parent = <&intc>; + + status = "ok"; + }; + }; }; &uart0 { @@ -40,4 +52,3 @@ status = "ok"; current-speed = <115200>; }; -