From nobody Mon Feb 9 03:12:53 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+74257+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+74257+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1618822174; cv=none; d=zohomail.com; s=zohoarc; b=ifx3Jh+EL3lefnuQyU9kgs68gbQtw17OP5d0ea+DsH9Eieg8lGgI0QJdWxmIicR8Ka192IQPCzt/MAqAL20hnJNfXCI38wHUbwsZRK9+VhLlVjILug2dgm+oKAoXSOT0FvGgH2p8HnQNCv36G5Df9tUu4KXEpqEJqV3P91zFggs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618822174; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=vYflX7cIx+5PH6HBChNsFIFX8HNJicCZFM8ITTDmM9c=; b=jixXBmY4JHLN1oXZIW2hC83FT7P3dMG21/kudvRyOK+EWvLvFO8lP9RkmiRC9cKJyirue9HRoe+cepxZcfn7lWhrgvptg9EKEmmskQMyxgCDIWskRIN/ONjF7exPK4y0TU+DcGmPVP7Y8ZnrpyQizgjfBC07ya7vkbIGniIBMaA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+74257+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1618822174543208.95982975437084; Mon, 19 Apr 2021 01:49:34 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id CJh4YY1788612x6SU66YNBki; Mon, 19 Apr 2021 01:49:34 -0700 X-Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) by mx.groups.io with SMTP id smtpd.web12.6342.1618822173381816738 for ; Mon, 19 Apr 2021 01:49:33 -0700 X-Received: by mail-ed1-f47.google.com with SMTP id j12so14636059edy.3 for ; Mon, 19 Apr 2021 01:49:33 -0700 (PDT) X-Gm-Message-State: BECt8d8GrKCkQV1fnmioF7T4x1787277AA= X-Google-Smtp-Source: ABdhPJzu7/HqDdrI50+CpfBF0VZW9XAiUuwoztt02dBsB0kDTNJnDfxMbhxsCvbyPZGfr2sWEYYQCw== X-Received: by 2002:a50:e702:: with SMTP id a2mr24753757edn.3.1618822171957; Mon, 19 Apr 2021 01:49:31 -0700 (PDT) X-Received: from gilgamesh.semihalf.com (host-193.106.246.138.static.3s.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id z17sm12351102edx.36.2021.04.19.01.49.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Apr 2021 01:49:31 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, mw@semihalf.com, jaz@semihalf.com, kostap@marvell.com, upstream@semihalf.com Subject: [edk2-devel] [edk2-platforms PATCH 4/6] Marvell/Armada70x0Db: Introduce SD/MMC ACPI description Date: Mon, 19 Apr 2021 10:48:59 +0200 Message-Id: <20210419084901.380576-5-mw@semihalf.com> In-Reply-To: <20210419084901.380576-1-mw@semihalf.com> References: <20210419084901.380576-1-mw@semihalf.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1618822174; bh=8QzRmWTj3eKwSlxVHFa1UvpLIDV/o5NmtejP6U/hV1Y=; h=Cc:Date:From:Reply-To:Subject:To; b=XzXIfCSJSN2Fi4HyNMdhbqVI1aXl77u4C0dKqtEiT4PeKQd4ujyXume4KqecssxrL1n LAo0R4a9v0HTCuxTLKXdXMbp3otX4BHirQKBhYscASyTn0bQ8ug7B4btHVy5cLn0sZmxi saS5VYwkHoCIH8ZDRf7zKyE9MsmYEMK4mVo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" This patch adds a new description of the board's SD/MMC interfaces in DSDT table that can work with the newly introduced support in Linux. Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl | 56 +++++++++= +++++++++++ 1 file changed, 56 insertions(+) diff --git a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl b/= Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl index af6dbdaef0..d4902652ec 100644 --- a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl +++ b/Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl @@ -62,6 +62,62 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMAD= A7K", 3) }) } =20 + Device (MMC0) + { + Name (_HID, "MRVL0002") // _HID: Hardware ID + Name (_UID, 0x00) // _UID: Unique ID + Name (_CCA, 0x01) // _CCA: Cache Coherency Attribute + + Name (_CRS, ResourceTemplate () // _CRS: Current Resource Set= tings + { + Memory32Fixed (ReadWrite, + 0xF06E0000, // Address Base (MMIO) + 0x00000300, // Address Length + ) + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,= ,, ) + { + 48 + } + }) + Name (_DSD, Package () { + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), + Package () { + Package () { "clock-frequency", 400000000 }, + Package () { "bus-width", 4 }, + Package () { "marvell,xenon-phy-slow-mode", 0x1 }, + Package () { "no-1-8-v", 0x1 }, + Package () { "non-removable", 0x1 }, + } + }) + } + + Device (MMC1) + { + Name (_HID, "MRVL0004") // _HID: Hardware ID + Name (_UID, 0x01) // _UID: Unique ID + Name (_CCA, 0x01) // _CCA: Cache Coherency Attribute + + Name (_CRS, ResourceTemplate () // _CRS: Current Resource Set= tings + { + Memory32Fixed (ReadWrite, + 0xF2780000, // Address Base (MMIO) + 0x00000300, // Address Length + ) + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,= ,, ) + { + CP_GIC_SPI_CP0_SDMMC + } + }) + Name (_DSD, Package () { + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), + Package () { + Package () { "clock-frequency", 400000000 }, + Package () { "bus-width", 4 }, + Package () { "non-removable", 0x1 }, + } + }) + } + Device (XHC0) { Name (_HID, "PNP0D10") // _HID: Hardware ID --=20 2.29.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#74257): https://edk2.groups.io/g/devel/message/74257 Mute This Topic: https://groups.io/mt/82204168/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-