Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6FB22C4332F for ; Sat, 10 Dec 2022 21:32:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A54578535B; Sat, 10 Dec 2022 22:32:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TBkDslUw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3CB3F8536A; Sat, 10 Dec 2022 22:32:01 +0100 (CET) Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E489485359 for ; Sat, 10 Dec 2022 22:31:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=festevam@gmail.com Received: by mail-ot1-x32d.google.com with SMTP id p10-20020a9d76ca000000b0066d6c6bce58so5019025otl.7 for ; Sat, 10 Dec 2022 13:31:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RRGlsPzJebExA3pesRYmKJ3IakU1DLFfEZeBJ4IiJyc=; b=TBkDslUwVr3NbPfADo1GjdLuaPw9SRqJe95MS+NOwCS99EeZapJYz9TuuUEZCNlE/B mPswL0dj3IvQL5TOka3zbZ9JLLdh4YbXxr/tqfB8w80HfI+p/kb2IowHJpzUkeXLc1K8 2cKlNH/9ovETZbwcSVnP43p8PJ4BH9Uxt+Qr1Eg/Ii9s+oY2TFnNNLc2+ngs6tmtj82e 3Awe7I6V1NETncDUmtzCYiT6+K1SFgxWAz3egg8StzvKsUFzbWmiN1fURSO8oi8DBDXV E2OaBkG3FhnB0JadYhoVpFPDFmIo9xCqjma7y4rzSEj7bVVCw2GLbV72ubcbpE1FjtWc B7Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RRGlsPzJebExA3pesRYmKJ3IakU1DLFfEZeBJ4IiJyc=; b=IQdxicCwh72SRDxfXyBMLd52v7M53SLpgUmsrp+xRDwaD8EoDTDgmjmBsr/qg9WTMo O9d+qSNdPLAqT+lKT3LjbMYsZ9Mw7uKbtsjRWjcHB4T7iMX/KnmwyA0TfP6IjNm8pPd2 D3pkMb/ccx8RbztHoQJY5bQFLaW+a6YiAIgY2mhBUKFzC0EEIXMyJzO7LioM4fdTLNpD jqW4Thk8vWcqSdjSynf+QkoA1yiDagt1Gwx9rRB+V8TIXRKXErDntIztBLqgTs0dD8DT 98hdP3la4S+YXswhtS6W6kg4cucC0iQ8Sy4L8SCKIG49WCo3eO9iU+wHPHmdCTPzj1wV kQNw== X-Gm-Message-State: ANoB5pll2epBoMe3QyMVyl0K3baNKaJHTFR+71yLBunfD2qZNsh8jllJ cku/FlttrO4CdbMFU1kI76o= X-Google-Smtp-Source: AA0mqf7CbLtz8/rd2bYlWxj/CLM9TCGYuFjYOEMEU4W4LgKNbxmZowhc2x/Rw6s/ir+gw1AqiMa/5w== X-Received: by 2002:a05:6830:608:b0:66e:8640:16c3 with SMTP id w8-20020a056830060800b0066e864016c3mr4639438oti.19.1670707917333; Sat, 10 Dec 2022 13:31:57 -0800 (PST) Received: from localhost.localdomain ([2804:14c:485:4b69:4be7:8531:dd9c:7023]) by smtp.gmail.com with ESMTPSA id m19-20020a0568301e7300b00666a5b5d20fsm2254646otr.32.2022.12.10.13.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Dec 2022 13:31:56 -0800 (PST) From: Fabio Estevam To: sbabic@denx.de Cc: uboot-imx@nxp.com, dv@pseudoterminal.org, otavio@ossystems.com.br, u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH] imx6qdl-sabresd: Pass mmc alias Date: Sat, 10 Dec 2022 18:31:19 -0300 Message-Id: <20221210213119.1148051-1-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean From: Fabio Estevam Originally, the mmc aliases node was present in imx6qdl-sabresd.dtsi. After the sync with Linux in commit d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux"), the aliases node is gone as the upstream version does not have it. This causes a regression in which the SD card cannot be found anymore. Fix it by passing the alias node in the u-boot.dtsi file to restore the original behaviour where the SD card (esdhc3) was mapped to mmc1. Fixes: d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux") Reported-by: Carlos Rafael Giani Signed-off-by: Fabio Estevam --- arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi b/arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi index 45f02b19c7ee..cbb856fba3f3 100644 --- a/arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi +++ b/arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi @@ -5,6 +5,12 @@ #include "imx6qdl-u-boot.dtsi" +/ { + aliases { + mmc1 = &usdhc3; + }; +}; + &usdhc3 { u-boot,dm-spl; }; -- 2.25.1