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 8BBC7C433FE for ; Sat, 22 Oct 2022 00:59:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B52A384FE1; Sat, 22 Oct 2022 02:59:25 +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="gO895mU7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5E56884F24; Sat, 22 Oct 2022 02:59:05 +0200 (CEST) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 A288A84FDF for ; Sat, 22 Oct 2022 02:58:53 +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=aford173@gmail.com Received: by mail-qt1-x82d.google.com with SMTP id h24so2715672qta.7 for ; Fri, 21 Oct 2022 17:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pc9Gm5DzeXGhrTGQrpgeXhIAvbOET+NpiSnNFcCxOQ0=; b=gO895mU7S9mAI2ifMAWiageB4sFM4eRPULrlLIfgElaAqoZRsXXT77CB3VnsthwBRN FkD6hfFO4M4tTvyAr+xVxthEM55IMOCkZwIfauDdD3mdWTd3qh/I6ZDISEoFA18cQD2m GLGI9XGF0mTHyi8WuDjhrh0NX6J04W+7GhfSGkTejOSrmIxMfdM2RP/bhXcLC/onYbcw R2JY2WZiR4bhY+aA9af/nFzrCvHiqkM4orOSJw2l1akbe4781piXXdDEQejJu2JfAgFO RhIWOY8WAWifzZgzoHBiI7M9VbaIOLW59bEol//B8Ce6NLAZAtC8pQ6K6UfmAqo/BtA3 DJmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pc9Gm5DzeXGhrTGQrpgeXhIAvbOET+NpiSnNFcCxOQ0=; b=sN1FRAED3Vz1u1Y9X+CLeFhFkBkksB5Y5HcIj3d2aw4a1NAbpPP7sGO6UjQrNhPQLf VLnjK/JD9cSmbT63kGWt0/PFYJEWSk/QVe3+8fkcei6bOW44LJ8A0Hhl7QS/DfGvo1Jd Fv0TMBrmytXEQDte8Y7LPpxGGWtuSvmmPorvXrd0dLLcVNKl+7xj41QC78k/MxHUfMMJ IVOXbdifpbVGEp4jsJKM4b4sInFqu95DltoL156gXjKOdcX6xWdCEagD7aZntUkbGs86 Wghf0+U7YmzVMeQtu2RspwDpVR9R36aBkEAwNtfGYBq0i3oMQFRE6BKh4nVuuYVSaXCh iLHQ== X-Gm-Message-State: ACrzQf16x0iEqHIsSj/s8i/68uful4qS8G90gtAKpcbQvBgTEcn6aJMN d0iN+8b5NElXpjMKs/lKjiHtZ2ZQ3Yw= X-Google-Smtp-Source: AMsMyM5wsLvlRYNWMh7mm0NT4Z2YDoOheF4SNVmF0kn3Za4yLQRMNZgMtnHhXe0AMJ6i1jwN2akAtw== X-Received: by 2002:ac8:7d81:0:b0:39c:d6ad:cce9 with SMTP id c1-20020ac87d81000000b0039cd6adcce9mr19920739qtd.81.1666400331905; Fri, 21 Oct 2022 17:58:51 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:447:d081:b229:10c8:126:4b77:a67d]) by smtp.gmail.com with ESMTPSA id b14-20020ac844ce000000b003434d3b5938sm8869620qto.2.2022.10.21.17.58.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 17:58:51 -0700 (PDT) From: Adam Ford To: u-boot@lists.denx.de Cc: Adam Ford , Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" , "Ariel D'Alessandro" , Michael Trimarchi , Tim Harvey Subject: [PATCH V2 4/7] arm: dts: imx8mn-ddr4-evk: Consolidate with imx8mn-u-boot Date: Fri, 21 Oct 2022 19:58:34 -0500 Message-Id: <20221022005837.170357-5-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221022005837.170357-1-aford173@gmail.com> References: <20221022005837.170357-1-aford173@gmail.com> 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 Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi index 3fdb20cb35..54f3ebe88b 100644 --- a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi @@ -3,66 +3,7 @@ * Copyright 2019, 2021 NXP */ -/ { - binman: binman { - multiple-images; - }; - - wdt-reboot { - compatible = "wdt-reboot"; - wdt = <&wdog1>; - u-boot,dm-spl; - }; - firmware { - optee { - compatible = "linaro,optee-tz"; - method = "smc"; - }; - }; -}; - -&{/soc@0} { - u-boot,dm-pre-reloc; - u-boot,dm-spl; -}; - -&spba1 { - u-boot,dm-spl; -}; - -&spba1 { - u-boot,dm-spl; -}; - -&clk { - u-boot,dm-spl; - u-boot,dm-pre-reloc; - /delete-property/ assigned-clocks; - /delete-property/ assigned-clock-parents; - /delete-property/ assigned-clock-rates; -}; - -&osc_24m { - u-boot,dm-spl; - u-boot,dm-pre-reloc; -}; - -&aips1 { - u-boot,dm-spl; - u-boot,dm-pre-reloc; -}; - -&aips2 { - u-boot,dm-spl; -}; - -&aips3 { - u-boot,dm-spl; -}; - -&iomuxc { - u-boot,dm-spl; -}; +#include "imx8mn-u-boot.dtsi" &pinctrl_reg_usdhc2_vmmc { u-boot,dm-spl; @@ -147,130 +88,3 @@ mmc-hs400-1_8v; mmc-hs400-enhanced-strobe; }; - -&wdog1 { - u-boot,dm-spl; -}; - -&binman { - u-boot-spl-ddr { - filename = "u-boot-spl-ddr.bin"; - pad-byte = <0xff>; - align-size = <4>; - align = <4>; - - u-boot-spl { - align-end = <4>; - }; - - ddr-1d-imem-fw { - filename = "ddr4_imem_1d_201810.bin"; - type = "blob-ext"; - align-end = <4>; - }; - - ddr-1d-dmem-fw { - filename = "ddr4_dmem_1d_201810.bin"; - type = "blob-ext"; - align-end = <4>; - }; - - ddr-2d-imem-fw { - filename = "ddr4_imem_2d_201810.bin"; - type = "blob-ext"; - align-end = <4>; - }; - - ddr-2d-dmem-fw { - filename = "ddr4_dmem_2d_201810.bin"; - type = "blob-ext"; - align-end = <4>; - }; - }; - - - spl { - filename = "spl.bin"; - - mkimage { - args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; - - blob { - filename = "u-boot-spl-ddr.bin"; - }; - }; - }; - - itb { - filename = "u-boot.itb"; - - fit { - description = "Configuration to load ATF before U-Boot"; - #address-cells = <1>; - fit,external-offset = ; - - images { - uboot { - description = "U-Boot (64-bit)"; - type = "standalone"; - arch = "arm64"; - compression = "none"; - load = ; - - uboot_blob: blob-ext { - filename = "u-boot-nodtb.bin"; - }; - }; - - atf { - description = "ARM Trusted Firmware"; - type = "firmware"; - arch = "arm64"; - compression = "none"; - load = <0x960000>; - entry = <0x960000>; - - atf_blob: blob-ext { - filename = "bl31.bin"; - }; - }; - - fdt { - description = "NAME"; - type = "flat_dt"; - compression = "none"; - - uboot_fdt_blob: blob-ext { - filename = "u-boot.dtb"; - }; - }; - }; - - configurations { - default = "conf"; - - conf { - description = "NAME"; - firmware = "uboot"; - loadables = "atf"; - fdt = "fdt"; - }; - }; - }; - }; - - imx-boot { - filename = "flash.bin"; - pad-byte = <0x00>; - - spl: blob-ext@1 { - offset = <0x0>; - filename = "spl.bin"; - }; - - uboot: blob-ext@2 { - offset = <0x58000>; - filename = "u-boot.itb"; - }; - }; -}; -- 2.34.1