AnsweredAssumed Answered

Device node for Ethernet

Question asked by VARADA PAVANI on May 6, 2019
Latest reply on Jul 14, 2019 by Yiping Wang

Hi Team,


We are using phy(88E1512) chip in ls2088a based custom board with sgmii interface. Added a device node sgmii in flexbuild_lsdk1809/packages/linux/linux/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi .

&sgmii {
status ="okay";
#address-cells = <1>;
#size-cells = <0>;
phy0@1 {
device_type = "ethernet-phy";
compatible = "marvell,88e1512";
reg = <0x1>;
phy1@0 {
device_type = "ethernet-phy";
compatible = "marvell,88e1512";
reg = <0x0>;

while compiling linux kernel getting the following error.

Error: /home/user/tar/flexbuild_lsdk1809/packages/linux/linux/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi:113.1-7 Label or path sgmii not found
FATAL ERROR: Syntax error parsing input tree


Do i need to add sgmii in any other files? can anyone help me how to add phy details in device tree?