From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by mx.groups.io with SMTP id smtpd.web12.20170.1623608232100732807 for ; Sun, 13 Jun 2021 11:17:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=eTL8Jnag; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.167.49, mailfrom: mw@semihalf.com) Received: by mail-lf1-f49.google.com with SMTP id m21so17108724lfg.13 for ; Sun, 13 Jun 2021 11:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mlISv7PkAUGx/s+jXRAYe6J7SYIP5TUB1vuRPVdJp9U=; b=eTL8JnagchoBDF5Ygb5ko4oLYX2D1TQ147ALZ3YHjzSmjNJpJ/l704wWc0zwktk8lw 0N1jf7z6sPoE3QtlytvP+EzhDXkA6ri1VAM0x1ZGOq4PT0ZmkTNSG9MVi9CgTUFzhgM4 qmprA6hi2HIRLy+AEDBVW+REYMIqnN1AmUfDOlgfbGcw006TgikddkW6njyDAF/rWpgE Co0ZGgysBw6VPfxWRlS3pgkXsI5dmTliz2PQ3FTuaXIKMqKhFcysfI4PCUIrARJgkAAn i8vQ1RXU7ZPOiWKSEPkbwMbWHQ4J5ELzdaWhzE9nYIeAqyWycFztcsttTo+LNpCWnMJb P//Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mlISv7PkAUGx/s+jXRAYe6J7SYIP5TUB1vuRPVdJp9U=; b=btPbScu9Ilg7Pn4fKD2kuRfA6UiCRhqvdOftgyTENnRx6McfoY5cVtmGq1T9OHdLrP 31qFRXkyOGk/j8bCsLNjWwrgK7i60RtBQpNE73DArDNPFq+CVxWY1/WakzKbmNg2/HuS 7E5bFfrIVukcqcSZBMUTvpaDdQMcenbU9RsSBBetVKJvNcZp4d28o+pdQx7wuB8IrjgI tVOAeSAEBPs9D3ItDJBdfud+GLHGAXpt6ut0cEuqKZJVIFeu6zyGuo3ZfmhuNYnq3Bkb /U8VTcSG4qBsvTtmgz/vqj2ImTs+D5SJkcaLgIVovuo7kCL3/4vnNAWbxpyLENJb2nbN 5lZg== X-Gm-Message-State: AOAM533oQLDcPrcQWKPkH9Tlyx9n5haXrYWN0RWccGFpIVy9IksMzp8j BXeIq0+IPpYEi6WE4J65n0VX81NgRIFtYQ== X-Google-Smtp-Source: ABdhPJx6AEcrB5yLFA564dJOqcRHILbUKPyJsPANvsoc+k4cgnCMc8LtjOV0wgGfAaLgX4XoKZ/kag== X-Received: by 2002:ac2:4a7a:: with SMTP id q26mr9283296lfp.395.1623608230175; Sun, 13 Jun 2021 11:17:10 -0700 (PDT) Return-Path: Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id s16sm1521813ljh.139.2021.06.13.11.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Jun 2021 11:17:09 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, jaz@semihalf.com, gjb@semihalf.com, upstream@semihalf.com, Samer.El-Haj-Mahmoud@arm.com, jon@solid-run.com, Marcin Wojtas Subject: [edk2-platforms PATCH 1/4] SolidRun/Armada80x0McBin: Add ACPI MDIO description Date: Sun, 13 Jun 2021 20:16:28 +0200 Message-Id: <20210613181631.2247221-2-mw@semihalf.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20210613181631.2247221-1-mw@semihalf.com> References: <20210613181631.2247221-1-mw@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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.asl= 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 ", "ARM= ADA8K", 3) })=0D }=0D =0D + Device (SMI0)=0D + {=0D + Name (_HID, "MRVL0100") // _HID: H= ardware ID=0D + Name (_UID, 0x00) // _UID: U= nique ID=0D + Name (_CRS, ResourceTemplate ()=0D + {=0D + Memory32Fixed (ReadWrite,=0D + 0xf212a200, // Address= Base=0D + 0x00000010, // Address= Length=0D + )=0D + })=0D + Device (PHY0)=0D + {=0D + Name (_ADR, 0x0)=0D + }=0D + }=0D +=0D + Device (XSMI)=0D + {=0D + Name (_HID, "MRVL0101") // _HID: H= ardware ID=0D + Name (_UID, 0x00) // _UID: U= nique ID=0D + Name (_CRS, ResourceTemplate ()=0D + {=0D + Memory32Fixed (ReadWrite,=0D + 0xf212a600, // Address= Base=0D + 0x00000010, // Address= Length=0D + )=0D + })=0D + Device (PHY0)=0D + {=0D + Name (_ADR, 0x0)=0D + Name (_DSD, Package () {=0D + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),=0D + Package () {=0D + Package () { "compatible", "ethernet-phy-ieee802.3= -c45" },=0D + }=0D + })=0D + }=0D + Device (PHY8)=0D + {=0D + Name (_ADR, 0x8)=0D + Name (_DSD, Package () {=0D + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),=0D + Package () {=0D + Package () { "compatible", "ethernet-phy-ieee802.3= -c45" },=0D + }=0D + })=0D + }=0D + }=0D +=0D Device (PP20)=0D {=0D Name (_HID, "MRVL0110") // _HID: H= ardware ID=0D @@ -261,6 +311,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA8K", 3) Package () { "port-id", 0 },=0D Package () { "gop-port-id", 0 },=0D Package () { "phy-mode", "10gbase-kr"},=0D + Package () { "phy-handle", \_SB.XSMI.PHY0},=0D }=0D })=0D }=0D @@ -299,6 +350,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA8K", 3) Package () { "port-id", 0 },=0D Package () { "gop-port-id", 0 },=0D Package () { "phy-mode", "10gbase-kr"},=0D + Package () { "phy-handle", \_SB.XSMI.PHY8},=0D }=0D })=0D }=0D @@ -318,6 +370,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA8K", 3) Package () { "port-id", 1 },=0D Package () { "gop-port-id", 2 },=0D Package () { "phy-mode", "sgmii"},=0D + Package () { "phy-handle", \_SB.SMI0.PHY0},=0D }=0D })=0D }=0D --=20 2.29.0