From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mx.groups.io with SMTP id smtpd.web08.20077.1623608233841631977 for ; Sun, 13 Jun 2021 11:17:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=YKvtktuv; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.167.42, mailfrom: mw@semihalf.com) Received: by mail-lf1-f42.google.com with SMTP id q20so2312384lfo.2 for ; Sun, 13 Jun 2021 11:17:13 -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=SO++kLJVwjJLmdwl2VocFBNeluhM8VIBTk/h1HjMIDk=; b=YKvtktuvdwf5q4Te9xPHiHu7X0p4trcw4fXgmrNarXiUWCFHj6+N6uiv+uqnJVOiEl nIfu10+dvaJAIi1Vnj3FmiyjZuXmAfngQxPJmioWK2fUuPNS9JFlizJ13c/LOQvA00e2 opM8Dgyrnv3mQ8XR3MR/HfHbCQR9GdhhIfVHbOfZC56AhNqYTnUNB+jZtsXk6tUb4ixu g3Wa5y8hoyHvMGgDlVFLv+qwXF9mB4J6Aw0WF42yRfaSyXVawWDHbj135Iz6u6Q9j6QD KW51/hoxbScx4JnnauUq5eLIHVIpYJ+HsGrgyFqMMKBNOxhJZGgfhUZzSEpR55FGw96O K9RA== 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=SO++kLJVwjJLmdwl2VocFBNeluhM8VIBTk/h1HjMIDk=; b=e4CzGriFOuhFk9efsQ4CDzD11qRrOS1d5DM87Tm1bRfl2W917TCUxji6mci+47wLgQ KEtcZ8iSTumVL3wmRSDVR9KHVBqrVs7phz/plBsZ/fkt2UDZSmF6soDffRWmlqPu7qKJ kFATpkcmBHuggiHI4QqRiEZYFZBLwEHmgqmkzBgS1RlrGOq4wXt37GknsIdzWKYy2T7Q PMZY2HDuVW60fLhWj3FnwSdH1NEWXygyTxtqZ4pSpcjZwnLMZctaouqx2WvP2tNBsjCU 6MS26lf4t55nLTRuLEFX7UgweDXouhSf7wlaUi3gSDsfLZxmGwvooiMianPruALb/tpq 8D3g== X-Gm-Message-State: AOAM530SmvPWnfjjryayPbzitzCXhoFoyYGSn+GqgL0g/v2yWHlbKRLb DnsHotOApGPRJ3/4l9/0J/OyVRgTXubrFQ== X-Google-Smtp-Source: ABdhPJwzrp2jFo4AyQsBrtotPg3ADNhqY22gwfYpahVXU3OHvEaMZ7VWP+Ukvbr8f8i6Mb8+tDt1Fg== X-Received: by 2002:ac2:551d:: with SMTP id j29mr9433197lfk.319.1623608232040; Sun, 13 Jun 2021 11:17:12 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Jun 2021 11:17:11 -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 3/4] Marvell/Armada70x0Db: Add ACPI MDIO description Date: Sun, 13 Jun 2021 20:16:30 +0200 Message-Id: <20210613181631.2247221-4-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 controller, along with the 1G PHYs. Add also a missing 'managed' property to the 10G port. Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl | 24 +++++++++= +++++++++++ 1 file changed, 24 insertions(+) diff --git a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl b/= Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl index d4902652ec..345c1e4dd6 100644 --- a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl +++ b/Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl @@ -182,6 +182,27 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARM= ADA7K", 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 + Device (PHY1)=0D + {=0D + Name (_ADR, 0x1)=0D + }=0D + }=0D +=0D Device (PP20)=0D {=0D Name (_HID, "MRVL0110") // _HID: H= ardware ID=0D @@ -215,6 +236,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA7K", 3) Package () { "port-id", 0 },=0D Package () { "gop-port-id", 0 },=0D Package () { "phy-mode", "10gbase-kr"},=0D + Package () { "managed", "in-band-status"},=0D }=0D })=0D }=0D @@ -234,6 +256,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA7K", 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 @@ -253,6 +276,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA7K", 3) Package () { "port-id", 2 },=0D Package () { "gop-port-id", 3 },=0D Package () { "phy-mode", "rgmii-id"},=0D + Package () { "phy-handle", \_SB.SMI0.PHY1},=0D }=0D })=0D }=0D --=20 2.29.0