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 CC660C6FD1F for ; Wed, 22 Mar 2023 19:59:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B1B5885D94; Wed, 22 Mar 2023 20:59:42 +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="aHvm8l+3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3C9A285AA0; Wed, 22 Mar 2023 20:59:40 +0100 (CET) Received: from mail-oa1-x2e.google.com (mail-oa1-x2e.google.com [IPv6:2001:4860:4864:20::2e]) (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 5C11D85D62 for ; Wed, 22 Mar 2023 20:59:37 +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-oa1-x2e.google.com with SMTP id 586e51a60fabf-1755e639b65so20601973fac.3 for ; Wed, 22 Mar 2023 12:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679515176; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Nwa5nFejP8okTk6PTu8s5eUy5rOlOt0gKttAtD/ZLLY=; b=aHvm8l+3syBGJ4jA+1haZFKgY5Juk8I5TiSeqdqTyuy7x7gJvnu/ul0YLY+/ku2Qij WaNiP6QBA2SGP4d/A7TI0FLzJz7nQ4mm9k/+JcmsulKGIkQxKNZDCLhIkgO5p7HxOF2x 4m9/wWWZNEa+13dse/dWNkPxw/nS7mCCVgBncAa/D9F5NbZ5GEW5eXKQlPEaU9lPOtzp eIxolMFQ9VKYuTg3BwA5hdZYXtAgbwrh956RNyx35MOZzNoEkA/BNJYxQVzLn9ygCsMI lMeHqjf++Zs0EaJVWBqC5wpyo+uhU2TC9m6Kt6w9AeUril927TF7VcXQ9sEs0kZk8EL5 L09w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679515176; 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=Nwa5nFejP8okTk6PTu8s5eUy5rOlOt0gKttAtD/ZLLY=; b=PwZnC1roinFSpVx7a8/VH3FIqlODXtWNms4sBOOhKqn3ys17c4UYDL09jLc9B8ndsE w+SCUwF61QQFlzxocaPmHbCzrTUlCPeoWtr15Ww/+bj01zIr3olKK43u2pcHcdvrirkM 4l6x/QsLQ3WTGJ2RrDRWczqwVWnvYyFLSET04Dmv3LGTUpo3yiu++gnZqfVF2DpJNleG J3kGKmvTnBfGkJnV9okRj1NAtdR7L31xx79eie3pG6Fq4OLZpWTs2vAKgPK4M5jwR4zI 5gdflFom4zG9NRFrxn5c30bYiK0gqMEi29AupE/EQiYnNh+dNRnyasMHEg99CMLU48N8 tMOQ== X-Gm-Message-State: AO0yUKUembRKwrfp5dVz8egCWqt0ZIntxS57vY5c/xKAhDUg6G4W7kf9 zLIioYbOgigdbqjBQj8NSnc= X-Google-Smtp-Source: AK7set8Iyy+EUeEZe3pqXJl49AAGhQ2d6z+xrfVWJ8MKqVHmFvura3ztVrELcrFeA5efui/+/bShWg== X-Received: by 2002:a05:6870:4152:b0:17a:d300:fd1a with SMTP id r18-20020a056870415200b0017ad300fd1amr4433521oad.2.1679515175824; Wed, 22 Mar 2023 12:59:35 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b69:cd4b:f231:afb3:599c]) by smtp.gmail.com with ESMTPSA id yo7-20020a05687c018700b001777244e3f9sm5580943oab.8.2023.03.22.12.59.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 12:59:35 -0700 (PDT) From: Fabio Estevam To: sbabic@denx.de Cc: u-boot@lists.denx.de, trini@konsulko.com, pbrobinson@gmail.com, Fabio Estevam Subject: [PATCH] imx6sx-udoo-neo-basic: Introduce the u-boot.dtsi Date: Wed, 22 Mar 2023 16:59:31 -0300 Message-Id: <20230322195931.3298951-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.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.8 at phobos.denx.de X-Virus-Status: Clean From: Fabio Estevam After the conversion to DM_SERIAL in commit 01f372d8d62b ("udoo_neo: Select DM_SERIAL and drop iomux board level init") the SPL log is gone and the U-Boot proper log becomes incomplete: Core: 80 devices, 18 uclasses, devicetree: separate MMC: FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In: serial@2020000 Out: serial@2020000 Err: serial@2020000 Net: eth0: ethernet@2188000 Hit any key to stop autoboot: 0 Introduce the u-boot.dtsi file that passes the u-boot,dm-pre-reloc properties to the relevant nodes so that UART can be used early in SPL. With this change, the complete SPL and U-Boot messages are seen again. Signed-off-by: Fabio Estevam --- arch/arm/dts/imx6sx-udoo-neo-basic-u-boot.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 arch/arm/dts/imx6sx-udoo-neo-basic-u-boot.dtsi diff --git a/arch/arm/dts/imx6sx-udoo-neo-basic-u-boot.dtsi b/arch/arm/dts/imx6sx-udoo-neo-basic-u-boot.dtsi new file mode 100644 index 000000000000..cb9e83fde6b7 --- /dev/null +++ b/arch/arm/dts/imx6sx-udoo-neo-basic-u-boot.dtsi @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0+ + +&soc { + u-boot,dm-pre-reloc; +}; + +&aips1 { + u-boot,dm-pre-reloc; +}; + +&pinctrl_uart1 { + u-boot,dm-pre-reloc; +}; + +&uart1 { + u-boot,dm-pre-reloc; +}; -- 2.34.1