From patchwork Mon Jul 26 10:14:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 12399031 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DD1BC4338F for ; Mon, 26 Jul 2021 10:17:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2F30860F22 for ; Mon, 26 Jul 2021 10:17:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2F30860F22 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=AcyFnGzeEJpHYj/x28YJVxwMWA37U1DtlswI5Rf6RIk=; b=QOcEy6FGAEmWyT 4bZ0iXPIl9FA/hAm5PWm9S9KNnhJ+Cp7HClISsBctOnn/IAXK8EYgudvEfn8WuJBNspaN9zbLsXYq lBMbHMgRwXd9ljrClcBUvqUsMINrZzX1a2Qa3OFV9dQkmkvE2JJGhcZvcw+57+3KH9Zn+n4n2n9oK 55ZHXqGPJH+rKMy8uECvGOI2+e4f9bGZI/75e7M+z4vWUkGMoMxIdkpPcEjjOLT5O7dAOIES5xSWi PZJb6ZacjEifLuMGORDG5A7S8OOeel6PgeWPtuduH3hkXSmi9Q9yx4yvqA/6hfQtEUW9e3T5NCuw5 pCsMAJR1p0Gm/imZnIOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7xdg-00Ag8B-88; Mon, 26 Jul 2021 10:15:12 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7xdS-00Ag2t-TF for linux-arm-kernel@lists.infradead.org; Mon, 26 Jul 2021 10:15:00 +0000 Received: by mail-pj1-x102b.google.com with SMTP id ds11-20020a17090b08cbb0290172f971883bso19026011pjb.1 for ; Mon, 26 Jul 2021 03:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6cNmNVuZ2BFsOuXfbpUCz3MMqhnpAF9Cx6jU51cYVSc=; b=iS8JuFmAyRhk2OXIxVLoTABTcrtYVlLLYlc5yayhHOjjC4scqJ44arnzWJs0djA6WT dcOq8G9yWeMvmiFKETVhPMDfXwtmDHq5z2Fw64kHbvSG1VxaexSCFNhrdWqdyFKcltxF iI6sT0SeGMVhw4L80z/0sbZE77iX38IZGU+9I= 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:mime-version :content-transfer-encoding; bh=6cNmNVuZ2BFsOuXfbpUCz3MMqhnpAF9Cx6jU51cYVSc=; b=sn3WPNTHQk0+8cUVZt29qE3kBOUPNldyu/OZJu97bmeGsriQ60Klb2JoN6l36fUkqf u20fAwBebcMNevLbEFW5a/IfnZlZhdVDM68jAclOR66FKhAbIz4WYMbrQzUUlLzqDHld 3k3OwBzDNbUzN8l9XSyiBKAxx8CiCxpS2SPMFd0qWtHD5bdiWXj0z3NO8t7YRAFybYQ/ InzCvMBElb3UZ1bw8aVKIUkK+XIGenAVune3QfN18TLH71TVJ32TRutVisWviha3YExq mpZLTmTQkQz7S9yq4EbDmMUgDbYgtc3SRFXA5Q9LYG/KKlOP65aVxHrBvNgWpkeHt6ae aHaA== X-Gm-Message-State: AOAM531tPWM2FmXGG7R23ULWyfLnblibQd0HP5Rw/8RVfvlAbyv5UFQi a60gZ0wnKBJ5mx7yGUoB0vj9cg== X-Google-Smtp-Source: ABdhPJwtbzs9Py71e1eLFU81oGgxRo1XzTbjigdfghgMbb6gBQkjM9Zc8+T1twmwN0Dq1lmRa8I5jw== X-Received: by 2002:a62:154f:0:b029:331:b0d6:9adc with SMTP id 76-20020a62154f0000b0290331b0d69adcmr17505047pfv.73.1627294497090; Mon, 26 Jul 2021 03:14:57 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:24d6:d449:2832:1652]) by smtp.gmail.com with ESMTPSA id az15sm7289913pjb.57.2021.07.26.03.14.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 03:14:56 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger Cc: Rob Herring , Enric Balletbo Serra , eizan@chromium.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: mt8173: elm: Use aliases to mmc nodes Date: Mon, 26 Jul 2021 18:14:51 +0800 Message-Id: <20210726101451.2118076-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.32.0.432.gabb21c7263-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210726_031459_017170_BED0AFF5 X-CRM114-Status: GOOD ( 11.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use aliases to mmc nodes so the partition name for eMMC and SD card will be consistent across boots. Signed-off-by: Hsin-Yi Wang --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index 21452c51a20a8..be21740d682d0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -10,6 +10,13 @@ #include "mt8173.dtsi" / { + aliases { + mmc0 = &mmc0; + mmc1 = &mmc1; + mmc2 = &mmc2; + mmc3 = &mmc3; + }; + memory@40000000 { device_type = "memory"; reg = <0 0x40000000 0 0x80000000>;