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 491D6C433EF for ; Tue, 8 Feb 2022 10:38:59 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 482F683C79; Tue, 8 Feb 2022 11:38:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ltec.ch Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id A664A83C79; Tue, 8 Feb 2022 11:38:54 +0100 (CET) Received: from mail.ltec.ch (mail.ltec.ch [95.143.48.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 92ABA83A42 for ; Tue, 8 Feb 2022 11:38:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ltec.ch Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=fb@ltec.ch Received: from nebula.ltec ([172.27.11.2] helo=pulsar.ltec) by mail.ltec.ch with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nHNtZ-006FWU-4p; Tue, 08 Feb 2022 11:38:49 +0100 From: Felix Brack To: u-boot@lists.denx.de Cc: Dario Binacchi , Felix Brack , Tom Rini Subject: [PATCH] arm: pdu001: Fix dt to work with the current am33xx dtsi files Date: Tue, 8 Feb 2022 11:38:39 +0100 Message-Id: <20220208103839.33907-1-fb@ltec.ch> 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.5 at phobos.denx.de X-Virus-Status: Clean The changes introduced with commit 6337d53fdf45 ("arm: dts: sync am33xx with Linux 5.9-rc7") prevent the PDU001 from operating correctly. This patch fixes the configuration of the pin multiplexer and uart3. Signed-off-by: Felix Brack --- arch/arm/dts/am335x-pdu001-u-boot.dtsi | 20 ++++++++++++++------ configs/am335x_pdu001_defconfig | 4 ++++ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/am335x-pdu001-u-boot.dtsi b/arch/arm/dts/am335x-pdu001-u-boot.dtsi index 686a152fd9..f1860ee3e4 100644 --- a/arch/arm/dts/am335x-pdu001-u-boot.dtsi +++ b/arch/arm/dts/am335x-pdu001-u-boot.dtsi @@ -5,17 +5,25 @@ #include "am33xx-u-boot.dtsi" -/ { - ocp { - u-boot,dm-pre-reloc; - }; -}; - &l4_wkup { u-boot,dm-pre-reloc; + segment@200000 { + + target-module@10000 { + u-boot,dm-pre-reloc; + }; + }; }; &l4_per { + u-boot,dm-pre-reloc; + segment@100000 { + u-boot,dm-pre-reloc; + + target-module@a6000 { + u-boot,dm-pre-reloc; + }; + }; segment@300000 { diff --git a/configs/am335x_pdu001_defconfig b/configs/am335x_pdu001_defconfig index 1c4c711858..1381cc7f9c 100644 --- a/configs/am335x_pdu001_defconfig +++ b/configs/am335x_pdu001_defconfig @@ -35,8 +35,10 @@ CONFIG_CMD_PMIC=y CONFIG_CMD_REGULATOR=y CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y +CONFIG_SPL_OF_TRANSLATE=y CONFIG_ENV_OVERWRITE=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_SYS_MALLOC_F_LEN=0x1200 # CONFIG_NET is not set CONFIG_SPL_DM=y CONFIG_SPL_DM_SEQ_ALIAS=y @@ -45,6 +47,8 @@ CONFIG_MMC_OMAP_HS=y CONFIG_MMC_SDHCI=y CONFIG_PINCTRL=y CONFIG_PINCTRL_SINGLE=y +CONFIG_CLK=y +CONFIG_CLK_TI_CTRL=y CONFIG_DM_PMIC=y CONFIG_DM_PMIC_TPS65910=y CONFIG_DM_REGULATOR=y -- 2.25.1