From 0b91c7f23ed09903b1f8d7ddfa1ef0c9e3ce2c9c Mon Sep 17 00:00:00 2001 From: Vijayakannan Ayyathurai Date: Thu, 10 Jul 2025 21:55:54 +0800 Subject: [PATCH] dts: x86: Add i226 device-tree config for Intel Alderlake Foxville LM (0x125B) i226 variant and Intel Alder Lake platform was used for developing and stabilizing the i226 Ethernet device driver. However, users can reuse the provided device tree models as a reference when enabling the support for other i226 variants and platforms. This device-tree model include essential configurations for the i226 Ethernet controller, such as PCIe settings, interrupt mappings, Phy MDIO, and DMA descriptor configurations. Signed-off-by: Vijayakannan Ayyathurai --- dts/x86/intel/alder_lake.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/dts/x86/intel/alder_lake.dtsi b/dts/x86/intel/alder_lake.dtsi index 110cc238729..ba0312f4ec8 100644 --- a/dts/x86/intel/alder_lake.dtsi +++ b/dts/x86/intel/alder_lake.dtsi @@ -362,6 +362,33 @@ status = "okay"; }; + + ethernet0: ethernet0 { + compatible = "intel,eth-plat"; + interrupt-parent = <&intc>; + vendor-id = <0x8086>; + device-id = <0x125b>; + + igc0: igc0 { + compatible = "intel,igc-mac"; + local-mac-address = [aa 14 04 85 11 22]; + phy-handle = <ðphy0>; + status = "okay"; + }; + + mdio0: mdio0 { + compatible = "intel,igc-mdio"; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy"; + reg = <0x0>; + status = "okay"; + }; + }; + }; }; soc {