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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 A9B3EC11F68 for ; Fri, 2 Jul 2021 11:20:32 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DFEC861425 for ; Fri, 2 Jul 2021 11:20:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DFEC861425 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4B78F82054; Fri, 2 Jul 2021 13:20:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="BgZjniTp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DE397829BA; Fri, 2 Jul 2021 13:19:59 +0200 (CEST) Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9E7B182015 for ; Fri, 2 Jul 2021 13:19:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1625224789; x=1627816789; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lFhwSxrpzCUSbge0K+39lrCNqsEQFoD0INJj5uRBfeU=; b=BgZjniTpl1d0qHI4+6I2xVYpZ5zwoxvXqg2qFmZpMZE3kVCBLTZiRmhWggwyfrNu OATi7tLvzok5ihzEliVc9dFS2zy9wOZfLXqqQmIl00k2Igo/ip5ErzKDbNynB5SC RwQoN1PKAyMYFpjeom9TIrv7vDs1BmvBoRUZNfZfI5Y=; X-AuditID: c39127d2-a77bc70000001c5e-8a-60def6554b5a Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 55.B1.07262.556FED06; Fri, 2 Jul 2021 13:19:49 +0200 (CEST) Received: from augenblix3.phytec.de ([172.16.0.233]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021070213194922-1081544 ; Fri, 2 Jul 2021 13:19:49 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki , Heiko Schocher Subject: [PATCH v2 4/9] board: phytec: phycore_imx8mp: Change debug UART Date: Fri, 2 Jul 2021 11:19:43 +0000 Message-Id: <20210702111948.2197868-5-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210702111948.2197868-1-t.remmet@phytec.de> References: <20210702111948.2197868-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 02.07.2021 13:19:49, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 02.07.2021 13:19:49 X-TNEFEvaluated: 1 Content-Transfer-Encoding: quoted-printable X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLLMWRmVeSWpSXmKPExsWyRoCBSzf0270Eg4dPlCweXvW32HHnPrPF l00T2Cx+rPrCatF+ysfi7d5Odospj9ezO7B7rP14n9Vj3qwTLB47Z91l9zh7Zwejx8Z3O5gC WKO4bFJSczLLUov07RK4Mu5vbGUpuCtW8WqDQAPjVuEuRg4OCQETiX+PlboYOTmEBLYxShx/ o9PFyAVkX2CUeNf5hRkkwSagIfF0xWkmEFtEQELiV/9VRpAiZoHrjBKT158ASwgLeEjsWH0D zGYRUJG4cXEBO4jNK2ApsXHZfzYQW0JAXmLmpe9gcU4BK4nO1pVsEJstJX79bGaDqBeUODnz CQvIAgmBK4wSBw++YIZoFpI4vfgsmM0soC2xbOFr5gmMArOQ9MxCklrAyLSKUSg3Mzk7tSgz W68go7IkNVkvJXUTIzCID09Uv7SDsW+OxyFGJg7GQ4wSHMxKIryh8+4lCPGmJFZWpRblxxeV 5qQWH2KU5mBREufdwFsSJiSQnliSmp2aWpBaBJNl4uCUamAUsc7el3KAUZrPxN3KSXcDl/zq Bc+ELv8XchDdcueSU6bJ2h2mF1VKTn6drL2kZdd7H29Bje0cPo8me+z92P/kfef05F/cfe6/ Nmi19nGaTFTSVFO8vZKptFtzFqNZzeql/7NfcG/ekq1ty/Wr8YPoP6G+9OZlehqLL13dph3m sdjPsN6nr1WJpTgj0VCLuag4EQCsmhWQUAIAAA== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean With the first redesign the debug UART had changed from UART2 to UART1. As the first hardware revision is considered as alpha and will not be supported in future. The old setup will not be preserved. Signed-off-by: Teresa Remmet --- arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi | 4 ++-- board/phytec/phycore=5Fimx8mp/spl.c | 6 +++--- include/configs/phycore=5Fimx8mp.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi b/arch/arm= /dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi index 6c1528934a98..32ed037e3721 100644 --- a/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi +++ b/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi @@ -18,7 +18,7 @@ u-boot,dm-spl; }; =20 -&pinctrl=5Fuart2 { +&pinctrl=5Fuart1 { u-boot,dm-spl; }; =20 @@ -54,7 +54,7 @@ u-boot,dm-spl; }; =20 -&uart2 { +&uart1 { u-boot,dm-spl; }; =20 diff --git a/board/phytec/phycore=5Fimx8mp/spl.c b/board/phytec/phycore=5Fi= mx8mp/spl.c index f9fa8d1e1281..0bc4c7693b06 100644 --- a/board/phytec/phycore=5Fimx8mp/spl.c +++ b/board/phytec/phycore=5Fimx8mp/spl.c @@ -80,8 +80,8 @@ int board=5Ffit=5Fconfig=5Fname=5Fmatch(const char *name) #define WDOG=5FPAD=5FCTRL (PAD=5FCTL=5FDSE6 | PAD=5FCTL=5FODE | PAD=5FCT= L=5FPUE | PAD=5FCTL=5FPE) =20 static iomux=5Fv3=5Fcfg=5Ft const uart=5Fpads[] =3D { - MX8MP=5FPAD=5FUART2=5FRXD=5F=5FUART2=5FDCE=5FRX | MUX=5FPAD=5FCTRL(UART= =5FPAD=5FCTRL), - MX8MP=5FPAD=5FUART2=5FTXD=5F=5FUART2=5FDCE=5FTX | MUX=5FPAD=5FCTRL(UART= =5FPAD=5FCTRL), + MX8MP=5FPAD=5FUART1=5FRXD=5F=5FUART1=5FDCE=5FRX | MUX=5FPAD=5FCTRL(UART= =5FPAD=5FCTRL), + MX8MP=5FPAD=5FUART1=5FTXD=5F=5FUART1=5FDCE=5FTX | MUX=5FPAD=5FCTRL(UART= =5FPAD=5FCTRL), }; =20 static iomux=5Fv3=5Fcfg=5Ft const wdog=5Fpads[] =3D { @@ -107,7 +107,7 @@ void board=5Finit=5Ff(ulong dummy) =20 arch=5Fcpu=5Finit(); =20 - init=5Fuart=5Fclk(1); + init=5Fuart=5Fclk(0); =20 board=5Fearly=5Finit=5Ff(); =20 diff --git a/include/configs/phycore=5Fimx8mp.h b/include/configs/phycore= =5Fimx8mp.h index 04900498507a..e24f223c21d3 100644 --- a/include/configs/phycore=5Fimx8mp.h +++ b/include/configs/phycore=5Fimx8mp.h @@ -39,7 +39,7 @@ =20 #define CONFIG=5FEXTRA=5FENV=5FSETTINGS \ "image=3DImage\0" \ - "console=3Dttymxc1,115200\0" \ + "console=3Dttymxc0,115200\0" \ "fdt=5Faddr=3D0x48000000\0" \ "fdt=5Ffile=3D" CONFIG=5FDEFAULT=5FFDT=5FFILE "\0" \ "mmcdev=3D" =5F=5Fstringify(CONFIG=5FSYS=5FMMC=5FENV=5FDEV) "\0" \ @@ -87,7 +87,7 @@ #define PHYS=5FSDRAM=5FSIZE 0x80000000 =20 /* UART */ -#define CONFIG=5FMXC=5FUART=5FBASE UART2=5FBASE=5FADDR +#define CONFIG=5FMXC=5FUART=5FBASE UART1=5FBASE=5FADDR =20 /* Monitor Command Prompt */ #define CONFIG=5FSYS=5FCBSIZE SZ=5F2K --=20 2.25.1