boards/qemu_x86: Add a dts entry for the e1000 Ethernet controller
With approriate fixups. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
This commit is contained in:
parent
a804a4f119
commit
6ebc766043
|
@ -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 */
|
|
@ -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>;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue