[coreboot - Support #534] Enable Ethernet (LAN) on ADL-P Custom Board

Mahesh Kilumu <[email protected]>
Newsgroups gmane.linux.bios
Message-ID <[email protected]>
Issue #534 has been updated by Mahesh Kilumu.

Category deleted (coreboot common code)

----------------------------------------
Support #534: Enable Ethernet (LAN) on ADL-P Custom Board 
https://ticket.coreboot.org/issues/534#change-1796

* Author: Mahesh Kilumu
* Status: New
* Priority: Normal
* Target version: 4.21
* Start date: 2024-03-21
----------------------------------------
Hi, With respect to the Alderlake-P RVP platform designed Custom Board.
i have been trying to implement the Ethernet(LAN) on my Custom Board. on RVP intel team used GBE PHY but on my custom board we have used the External Realtek RTL8111H controller over PCIe Root port7 for Ethernet. 

Below are the configuration details:
1) Devicetree.cb: 
 device ref pcie_rp7 on end
                 # Enable PCH PCIE RP 7 using CLK 6
                 register "pch_pcie_rp[PCH_RP(7)]" = "{
                .clk_src = 6,
                .clk_req = 6,
                .flags = PCIE_CLK_LAN
        }"

2) gpio.c:
        /* 19: PCIE SRCCLKREQ6- same as RVP */
        PAD_CFG_NF(GPP_F19, NONE, DEEP, NF1),
        /* 2: GPD_2_LAN_WAKE_N- same as RVP*/
        PAD_CFG_NF(GPD2, NONE, DEEP, NF1),    
        /* 21 : LAN_ISOLATE# -New Implementation */
        PAD_CFG_GPO(GPP_A21, 1, DEEP),

from the logs observed that,
Root port got enabled ->> [SPEW ]  PCI: 00:00:1c.6: enabled 1

But observed the few Error & warnings in the log with respect to the above configuration
[WARN ]  Missing root port clock structure definition
[ERROR]  PCI: 00:00:1c.6 missing read_resources

full log details : 
https://pastebin.com/zWcsEZvL 



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: https://ticket.coreboot.org/my/account
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.