From mboxrd@z Thu Jan 1 00:00:00 1970 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 6AB17C04A95 for ; Sat, 22 Oct 2022 11:23:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7EB3684F39; Sat, 22 Oct 2022 13:23:05 +0200 (CEST) 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="R59wUA3Z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CE2E684F5E; Sat, 22 Oct 2022 13:23:02 +0200 (CEST) Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) (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 0F0C884F11 for ; Sat, 22 Oct 2022 13:22:59 +0200 (CEST) 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-x2b.google.com with SMTP id 586e51a60fabf-12c8312131fso6648789fac.4 for ; Sat, 22 Oct 2022 04:22:58 -0700 (PDT) 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=A8kxYkCeR8Htlvqn0/0/RC2Zd9f/JfUOuxfWa/FA+NY=; b=R59wUA3ZxNcdbVxcB+h7AleJA+vN4+mliZMvQINfMozOuqVwDhzFXBs2nCq9SgVs2t XWfyDzLUvsIflDaLBYPNuO1fTaQYi/IY2XTyt5qG+rLYMy9z+oJrnT6Jb2tn+exQ2nnd T9zHZcFQ0cjc5paCPw43cZ7ERmGQCtk+FQNp6mWqWp5UAb6OVFD7sauxbQ4J4BHou8zM 3ertoKMYbyzBOh2iC9qWRXgpQYT/maTZxzE07UY/C3NAqvVTdhqxpLaYBLh0NQS+YKM7 u70Qp2qjEJSqzaeEIXJ/Y7swlqRNbTChQez+wlqU8E2LVk7xGB6R62bnwGYgkas7jI+P qGhg== 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=A8kxYkCeR8Htlvqn0/0/RC2Zd9f/JfUOuxfWa/FA+NY=; b=si+hXtxxuo51D0bxpsNj3P5VEfUwxxz+uTQEaLOrZ/1wgkZl1GaXBSvKmFmXN+Yxbk ttk+so68WOy3CMs6Wf2hqhoA+WNPMlnZrn1OsvNcczuCywyJF5cTTcaYmB/A5n08JU4O L5yGsix9n5yg76cBXva2z9ibmrJqW3vrLkT1gkJrMm7W2z7i6BJkgCxusGKUaLVfSGex bDxnr0mRUIaEqQ5Qx5IE0SDT1XQXywRhWqH57yrxyQTci1VoW8Lqu393yCPBv5eCQRyC vMicDISbA7dH9ceUeewrJucJJ7BSefe2C1jyFtRgClDYnb1PD6HAQRP6RrZHDOqCTahU orqA== X-Gm-Message-State: ACrzQf3nRH1mCY3VxlpDLOiOn44wTyLnGjvo44rcWsXxtgRLy7q483U8 ysFYJjSxgNxKDBaCX0R7PNY= X-Google-Smtp-Source: AMsMyM5+pjYFmHd6Llhsu+8LTEYogWZLoqvZfFFNJkqhkedwjqN70TtBWjLkQCKIsBBk9W2VCuc18g== X-Received: by 2002:a05:6870:961d:b0:137:1434:2fd3 with SMTP id d29-20020a056870961d00b0013714342fd3mr14845061oaq.148.1666437777670; Sat, 22 Oct 2022 04:22:57 -0700 (PDT) Received: from localhost.localdomain ([2804:431:d77f:85c3:275d:de25:1b8d:dc9]) by smtp.gmail.com with ESMTPSA id c62-20020a9d27c4000000b00661b46cc26bsm2157203otb.9.2022.10.22.04.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Oct 2022 04:22:57 -0700 (PDT) From: Fabio Estevam To: sbabic@denx.de Cc: marcel.ziswiler@toradex.com, lukma@denx.de, u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH] imx28-xea: Add missing imx28-lwe.dtsi Date: Sat, 22 Oct 2022 08:22:51 -0300 Message-Id: <20221022112251.2114680-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 The following build error is seen when building imx28_xea_defconfig: arch/arm/dts/.imx28-xea.dtb.pre.tmp:8:10: fatal error: imx28-lwe.dtsi: No such file or directory This happens because commit ebcca534f557 ("imx28: synchronise device tree with linux") missed to import the imx28-lwe.dtsi file from Linux. Fix it by importing the file from Linux 6.1-rc1. Fixes: ebcca534f557 ("imx28: synchronise device tree with linux") Signed-off-by: Fabio Estevam --- This applies against u-boot-imx master-next branch. arch/arm/dts/imx28-lwe.dtsi | 170 ++++++++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 arch/arm/dts/imx28-lwe.dtsi diff --git a/arch/arm/dts/imx28-lwe.dtsi b/arch/arm/dts/imx28-lwe.dtsi new file mode 100644 index 000000000000..bb971e660db8 --- /dev/null +++ b/arch/arm/dts/imx28-lwe.dtsi @@ -0,0 +1,170 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2021 + * Lukasz Majewski, DENX Software Engineering, lukma@denx.de + */ + +/dts-v1/; +#include "imx28.dtsi" + +/ { + aliases { + spi2 = &ssp3; + }; + + chosen { + bootargs = "root=/dev/mmcblk0p2 rootfstype=ext4 ro rootwait console=ttyAMA0,115200 panic=1"; + }; + + memory@40000000 { + reg = <0x40000000 0x08000000>; + }; + + reg_3v3: regulator-reg-3v3 { + compatible = "regulator-fixed"; + regulator-name = "3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + reg_usb_5v: regulator-reg-usb-5v { + compatible = "regulator-fixed"; + regulator-name = "usb_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + reg_fec_3v3: regulator-reg-fec-3v3 { + compatible = "regulator-fixed"; + regulator-name = "fec-phy"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&duart { + pinctrl-names = "default"; + pinctrl-0 = <&duart_pins_a>; + status = "okay"; +}; + +&i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins_a>; + status = "okay"; +}; + +&saif0 { + pinctrl-names = "default"; + pinctrl-0 = <&saif0_pins_a>; + #sound-dai-cells = <0>; + assigned-clocks = <&clks 53>; + assigned-clock-rates = <12000000>; + status = "okay"; +}; + +&saif1 { + pinctrl-names = "default"; + pinctrl-0 = <&saif1_pins_a>; + fsl,saif-master = <&saif0>; + #sound-dai-cells = <0>; + status = "okay"; +}; + +&spi3_pins_a { + fsl,pinmux-ids = < + MX28_PAD_AUART2_RX__SSP3_D4 + MX28_PAD_AUART2_TX__SSP3_D5 + MX28_PAD_SSP3_SCK__SSP3_SCK + MX28_PAD_SSP3_MOSI__SSP3_CMD + MX28_PAD_SSP3_MISO__SSP3_D0 + MX28_PAD_SSP3_SS0__SSP3_D3 + MX28_PAD_AUART2_TX__GPIO_3_9 + >; +}; + +&ssp0 { + compatible = "fsl,imx28-mmc"; + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_8bit_pins_a>; + bus-width = <8>; + vmmc-supply = <®_3v3>; + non-removable; + status = "okay"; +}; + +&ssp2 { + compatible = "fsl,imx28-spi"; + pinctrl-names = "default"; + pinctrl-0 = <&spi2_pins_a>; + status = "okay"; +}; + +&ssp3 { + compatible = "fsl,imx28-spi"; + pinctrl-names = "default"; + pinctrl-0 = <&spi3_pins_a>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + spi-max-frequency = <40000000>; + reg = <0>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "u-boot"; + reg = <0 0x80000>; + read-only; + }; + + partition@80000 { + label = "env0"; + reg = <0x80000 0x10000>; + }; + + partition@90000 { + label = "env1"; + reg = <0x90000 0x10000>; + }; + + partition@100000 { + label = "kernel"; + reg = <0x100000 0x400000>; + }; + + partition@500000 { + label = "swupdate"; + reg = <0x500000 0x800000>; + }; + }; + }; +}; + +&usb0 { + vbus-supply = <®_usb_5v>; + pinctrl-names = "default"; + pinctrl-0 = <&usb0_pins_b>, <&usb0_id_pins_a>; + dr_mode = "host"; + status = "okay"; +}; + +&usbphy0 { + status = "okay"; +}; + +&usb1 { + vbus-supply = <®_usb_5v>; + pinctrl-names = "default"; + pinctrl-0 = <&usb1_pins_b>; + dr_mode = "host"; + status = "okay"; +}; + +&usbphy1 { + status = "okay"; +}; -- 2.25.1