From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) by mx.groups.io with SMTP id smtpd.web10.7378.1625809897801336110 for ; Thu, 08 Jul 2021 22:51:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=NI+yIGK0; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.219.47, mailfrom: gjb@semihalf.com) Received: by mail-qv1-f47.google.com with SMTP id d2so4041654qvh.2 for ; Thu, 08 Jul 2021 22:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EfYrUF4x3EOUe/y4KJJqVhf1Kihn73lXh43RtpC55vA=; b=NI+yIGK0v/CWR1sPzUWaMWDdyL7FNgnHEvzk9rQ7o78fgOC9/sb25SWmBIz4U0kvAx vNTil/MYdRn8gl/NYmgDc/b22gnJANwoUUi86CX6FzwWMOORrUZlv6DNkwMFT072AANh YG/RnfCLOBt34jrE93hyAabDsSO8sxXtHQoooWaiGLKmi+q3TjE+cV9mjq6HK6rvv6kk PsP+ylODtKqK+ZBjuI6wbHj6E97lcgn8AHCtITeDXUpg4Gzf0kQIzB9GYcluPZ5CPOi/ WRO4TvOnb24j1zhzIAYBAY+GCMLkxHcuIdjchll0R/Xs2S7fzhXrcTCTQpkdR+kwtElT 0F3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EfYrUF4x3EOUe/y4KJJqVhf1Kihn73lXh43RtpC55vA=; b=JzIknjzdWKEUsK98mS/+vlhmxpg/uWWRGYdiNp1UdTFqERBNdHG1lvbQKW8ROUu/sD UNCQybdetFGovA7s+kwbAav6bsdO6Aw0KxVCP4RUKgkJYffXDXaZwfK+VzagZVBA/kq6 +HUzdK0tDR0yD31huVrqltZ5VhdOO66TDj3CgDb+IIUwcdVd1zlQFRyo5IFy+tFMNc6R 2Fite3Fi2HcIgw12sCJsMVxQvk1MMe4GaL5v/REUec43N4Co/ZRJX2iQNcfv8V/x2pAp MrU8LepjI5zgz+uqnpSVdsfwzK7GVDchWDa7NcIPU+gsp2mlzgQgv5H9x+708gzfrUtZ 3hyw== X-Gm-Message-State: AOAM5333fDHKCN1SEvebOHWVqB7xMMffAPLYtL2hfRbUStICGcOaoYCz J1jd2Q8dYijBz4nQAtmAHn85BiHkvq5pKTUoLRsDXQ== X-Google-Smtp-Source: ABdhPJxczYpYlqMJ18OvNShE+ngGXXyZjSp/2zHIq4VVNEDR9OoZVXpvo+OzPYZLkTzfH6Ck4Dr+N46v3XopQuf4WHE= X-Received: by 2002:a0c:d68f:: with SMTP id k15mr34192167qvi.14.1625809897049; Thu, 08 Jul 2021 22:51:37 -0700 (PDT) MIME-Version: 1.0 References: <20210613181631.2247221-1-mw@semihalf.com> <20210613181631.2247221-2-mw@semihalf.com> In-Reply-To: <20210613181631.2247221-2-mw@semihalf.com> From: "Grzegorz Bernacki" Date: Fri, 9 Jul 2021 07:51:26 +0200 Message-ID: Subject: Re: [edk2-platforms PATCH 1/4] SolidRun/Armada80x0McBin: Add ACPI MDIO description To: Marcin Wojtas Cc: devel@edk2.groups.io, leif@nuviainc.com, ardb+tianocore@kernel.org, Grzegorz Jaszczyk , upstream@semihalf.com, Samer El-Haj-Mahmoud , jon@solid-run.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Tested-by: Grzegorz Bernacki regards, greg niedz., 13 cze 2021 o 20:17 Marcin Wojtas napisa=C5=82(a)= : > > As the MDIO ACPI binding in DSDT is now established, > add description for the SMI and XSMI controllers, along > with the 10G and 1G PHYs. > > Signed-off-by: Marcin Wojtas > --- > Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl | 53 ++++= ++++++++++++++++ > 1 file changed, 53 insertions(+) > > diff --git a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.a= sl b/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl > index bdc32983d3..d26945d933 100644 > --- a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl > +++ b/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl > @@ -228,6 +228,56 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "A= RMADA8K", 3) > }) > } > > + Device (SMI0) > + { > + Name (_HID, "MRVL0100") // _HID:= Hardware ID > + Name (_UID, 0x00) // _UID:= Unique ID > + Name (_CRS, ResourceTemplate () > + { > + Memory32Fixed (ReadWrite, > + 0xf212a200, // Addre= ss Base > + 0x00000010, // Addre= ss Length > + ) > + }) > + Device (PHY0) > + { > + Name (_ADR, 0x0) > + } > + } > + > + Device (XSMI) > + { > + Name (_HID, "MRVL0101") // _HID:= Hardware ID > + Name (_UID, 0x00) // _UID:= Unique ID > + Name (_CRS, ResourceTemplate () > + { > + Memory32Fixed (ReadWrite, > + 0xf212a600, // Addre= ss Base > + 0x00000010, // Addre= ss Length > + ) > + }) > + Device (PHY0) > + { > + Name (_ADR, 0x0) > + Name (_DSD, Package () { > + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), > + Package () { > + Package () { "compatible", "ethernet-phy-ieee802= .3-c45" }, > + } > + }) > + } > + Device (PHY8) > + { > + Name (_ADR, 0x8) > + Name (_DSD, Package () { > + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), > + Package () { > + Package () { "compatible", "ethernet-phy-ieee802= .3-c45" }, > + } > + }) > + } > + } > + > Device (PP20) > { > Name (_HID, "MRVL0110") // _HID:= Hardware ID > @@ -261,6 +311,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "AR= MADA8K", 3) > Package () { "port-id", 0 }, > Package () { "gop-port-id", 0 }, > Package () { "phy-mode", "10gbase-kr"}, > + Package () { "phy-handle", \_SB.XSMI.PHY0}, > } > }) > } > @@ -299,6 +350,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "AR= MADA8K", 3) > Package () { "port-id", 0 }, > Package () { "gop-port-id", 0 }, > Package () { "phy-mode", "10gbase-kr"}, > + Package () { "phy-handle", \_SB.XSMI.PHY8}, > } > }) > } > @@ -318,6 +370,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "AR= MADA8K", 3) > Package () { "port-id", 1 }, > Package () { "gop-port-id", 2 }, > Package () { "phy-mode", "sgmii"}, > + Package () { "phy-handle", \_SB.SMI0.PHY0}, > } > }) > } > -- > 2.29.0 >