From patchwork Mon Jul 26 10:24:42 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: 12399037 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 236F8C4338F for ; Mon, 26 Jul 2021 10:26:23 +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 DD0EF608FB for ; Mon, 26 Jul 2021 10:26:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DD0EF608FB 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=Ky/YI3ZC2gMV55IsY+j6uyFkGPRjPje6PRaPSaTiGlg=; b=wY+lSFhVoaRoWM ebD2OfI0T42TZ7rookofc0J2r2AhKpXjSwzZpWklB7aHZVe/EZKAp1e+nR32dEchVNA2zJkFMYmtT 2F/43z8AnjotbX32u/x0JXaDAwMbSA+o3jXgZkb3QaM6HE1/+iREbSa1suE0+B7TyFKypQSYsz04W YlK9noNXxHzwdYXYDVXZA21uz029hw7sW0Y4GScTRq6MaqBbFasBQVhA/cDUWE54Jhs4Swx1fjLDB WYbotJ03HF3hb5V2WKpDYcBxsU35OMaAAQcwRaq7X0VL4i0C6OokbwzcgvumMRyMG0oYg/8waOM6M 3M92ILItwKv7btP8bvVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7xn1-00AjWe-HX; Mon, 26 Jul 2021 10:24:51 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7xmy-00AjVk-GD for linux-arm-kernel@lists.infradead.org; Mon, 26 Jul 2021 10:24:49 +0000 Received: by mail-pj1-x1029.google.com with SMTP id mt6so12292118pjb.1 for ; Mon, 26 Jul 2021 03:24:47 -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=pW0eGkvQ6eOZmaZcz9mU5uP8ebeBjXUC4Tbu5TtON8I=; b=Pf/oHHWsyMOfHwINIhvXpjEhEwOeE9PeRie/VkzNGnEHP/KkrFliliN125xUn7Eyxf fyL3spoGDZaJT1UU4bqal9TEsW5j/iEToyQqoiBm1SM/cIHbZxiwnG5kKoSivqkP3hbA Kkqmey7iSxTWiVftZ89sZoYc3i4DRwUR+Qw9c= 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=pW0eGkvQ6eOZmaZcz9mU5uP8ebeBjXUC4Tbu5TtON8I=; b=eLU8aaGoY/Ut978phrq0OrVyLXLBUMIN/jpiAFpZVB0dEOPHBCgFf5Ix2Zi++SlSjs 2bXK4XKwOMdOb49F0zWEytUjt6xOQ962VsycULKQvVcqlFefKKZoSIEJncfRiDHE2CSy f0i0nWH40L0C/BVyg3H4RJ270X2OCBQpvc6JUjxyD3PGRPQTfWOq7k1JMdf2fHeM/6Jq jZBC1MPxqRM1itKTR/rD45H1r3MqKLKAJ6/4z9ClffyEsktEcjieUOBvR/Qdk2bXGJIH uqRl3CNxtHut1aeBJLO6eE68x/RnVX39YhBVj+akLGewFZH/7VR1Z9WTSlmKH8TeUdqf 1Itg== X-Gm-Message-State: AOAM533yufiFK2tE0WLf416DOHfcFBUn0hTcfTGcr4VmNA5LeS+9s5AB bfkG11URQoLU8TPz3UlhDuvejg== X-Google-Smtp-Source: ABdhPJxIOaGVeR+yfNUna6akEQLE7MrP5EeQC6pHrJ4jPJeZoRuVEcOBBRAUmwhUFQUABa/w1ZkkOA== X-Received: by 2002:a17:90a:5141:: with SMTP id k1mr24638415pjm.185.1627295087208; Mon, 26 Jul 2021 03:24:47 -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 z124sm3113262pgb.6.2021.07.26.03.24.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 03:24:46 -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 v2] arm64: dts: mt8173: elm: Use aliases to mmc nodes Date: Mon, 26 Jul 2021 18:24:42 +0800 Message-Id: <20210726102442.2119877-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_032448_585520_D7007A42 X-CRM114-Status: GOOD ( 11.52 ) 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 Reviewed-by: Chen-Yu Tsai --- v1->v2: skip unused mmc2. --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index 21452c51a20a8..d5a2cad39c9c7 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -10,6 +10,12 @@ #include "mt8173.dtsi" / { + aliases { + mmc0 = &mmc0; + mmc1 = &mmc1; + mmc2 = &mmc3; + }; + memory@40000000 { device_type = "memory"; reg = <0 0x40000000 0 0x80000000>;