From patchwork Tue May 28 09:59:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emanuele Ghidoli X-Patchwork-Id: 1940380 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=aZ+asYfH; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VpSgX0lPSz20Pb for ; Tue, 28 May 2024 20:00:24 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 449FC88494; Tue, 28 May 2024 12:00:04 +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="aZ+asYfH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E774087C75; Tue, 28 May 2024 12:00:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 E7B178843D for ; Tue, 28 May 2024 12:00:00 +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=ghidoliemanuele@gmail.com Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a63359aaacaso73360366b.1 for ; Tue, 28 May 2024 03:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716890400; x=1717495200; darn=lists.denx.de; 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=5EvEiVOFrs4z6rXpWhwzsENvMSMZyz0DyRz34qm8nD4=; b=aZ+asYfHPz+8ItCjUap8HKLM7MgVkl8HdZhtPSsrlNWHeFvra83AnYrxL/TX8pWiGk Y24hh28Qh73Is/LIMwLmbTH0+gbQXSkYp8WZ1h3oFpUE73bSO9NyobNk6twGZJZhxhys 8gr93Fh6lBNXIppsWU4cqkoG4KIIspzg5NmrRhYX+CBxDYRObqnZspfYmjF5/IU/xRty 5f2sGs8NUImDtV4rXNza7lUq1WtKbZwwljzizDABmecoPZKgdnsk2gm/5AqRp/rUZX3s jSfnp9xFmaCNutTk5VWx1HRPc4AevEL//cJZpLVvwYzROy0iqVHjczAAWVvVO/vBv3Up Cc7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716890400; x=1717495200; 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=5EvEiVOFrs4z6rXpWhwzsENvMSMZyz0DyRz34qm8nD4=; b=AfFF4wLit+8vlxrugJypCHlokpC1bmerJFuUaIebzP8iRbeeNzqRl7DOzrJwehzQ6Z a/Xxn0tZl0p9qI8vkLNXKK1OtCG0EDtJJkNJVNLxUmEEFfwicLfW52dC1qIV2fQa151E Scoywuln/uArltE5vztm9JlHxnZAshR8TgBwaIH5DPlUT3+Az9u0FZLRRiPjzHPozWbg WBJKqgg6qf0n8Xk4yZL5wBZRlQV+R25vHbXnNxYfofdSt7AeK96qH7nABgNtvoWMKbQQ /yGlnCGH8HiaJsuqYSWHIB4PCS2O+wHKt5NZxNhtp2C6JF0t2ok+q5Xh8kkz3FpU2LR1 W1Bw== X-Forwarded-Encrypted: i=1; AJvYcCWgkCs3mHrTDaFZRJV+BDTSwoQ8JkeBCLcYNF4Lk1mKvlZg16vMYt6iqyOxnyy6hnmp6g+Rvz2JdX6PjOcdtDEfWSCykQ== X-Gm-Message-State: AOJu0YymiUsqQY+Y3HQPj27nXSjMLFwPSxdIM0zV70jf4p1pWXJFYmSA fews8HXQ7exI+CSZVTCZb1AxG7oMBacsmqgHsYtGCy0YupnNsDVI X-Google-Smtp-Source: AGHT+IFRUhc3AT6v8unG1G6bJC6rPLH2nm/Mvw5NbJ5IJkpSuQWDNVIv9GsJunSWTiir5BR36A55Bw== X-Received: by 2002:a17:906:c113:b0:a62:a9ca:2111 with SMTP id a640c23a62f3a-a62a9ca25admr715510566b.11.1716890400213; Tue, 28 May 2024 03:00:00 -0700 (PDT) Received: from emanuele-nb.corp.toradex.com (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a634da2e2absm33239266b.87.2024.05.28.02.59.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 02:59:59 -0700 (PDT) From: Emanuele Ghidoli To: Francesco Dolcini Cc: Emanuele Ghidoli , Marcel Ziswiler , u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH v1 1/5] board: toradex: verdin-imx8mm: add 4 GB lpddr4 memory support Date: Tue, 28 May 2024 11:59:37 +0200 Message-Id: <20240528095941.872693-2-ghidoliemanuele@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240528095941.872693-1-ghidoliemanuele@gmail.com> References: <20240528095941.872693-1-ghidoliemanuele@gmail.com> MIME-Version: 1.0 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: Emanuele Ghidoli Add support for MT53E512M32D1ZW-046 IT:C memory. This 4 GB memory has 17 row bits instead of 16 and requires 380 ns of tRFC (tRFCab) instead of 280 ns due to increased channel density to 16 Gb. Both modifications are retro-compatible with previous memories. Signed-off-by: Emanuele Ghidoli --- board/toradex/verdin-imx8mm/lpddr4_timing.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/board/toradex/verdin-imx8mm/lpddr4_timing.c b/board/toradex/verdin-imx8mm/lpddr4_timing.c index 4dfec679b116..eece226b5131 100644 --- a/board/toradex/verdin-imx8mm/lpddr4_timing.c +++ b/board/toradex/verdin-imx8mm/lpddr4_timing.c @@ -18,7 +18,7 @@ struct dram_cfg_param ddr_ddrc_cfg[] = { {0x3d400000, 0xa1080020}, {0x3d400020, 0x202}, {0x3d400024, 0x3a980}, - {0x3d400064, 0x2d00d2}, + {0x3d400064, 0x2d011d}, {0x3d4000d0, 0xc00305ba}, {0x3d4000d4, 0x940000}, {0x3d4000dc, 0xd4002d}, @@ -34,7 +34,7 @@ struct dram_cfg_param ddr_ddrc_cfg[] = { {0x3d40011c, 0x402}, {0x3d400130, 0x20600}, {0x3d400134, 0xc100002}, - {0x3d400138, 0xd8}, + {0x3d400138, 0x123}, {0x3d400144, 0x96004b}, {0x3d400180, 0x2ee0017}, {0x3d400184, 0x2605b8e}, @@ -56,7 +56,7 @@ struct dram_cfg_param ddr_ddrc_cfg[] = { {0x3d400204, 0x80808}, {0x3d400214, 0x7070707}, {0x3d400218, 0x7070707}, - {0x3d40021c, 0xf0f}, + {0x3d40021c, 0xf07}, {0x3d400250, 0x29001701}, {0x3d400254, 0x2c}, {0x3d40025c, 0x4000030}, @@ -71,7 +71,7 @@ struct dram_cfg_param ddr_ddrc_cfg[] = { {0x3d402020, 0x0}, {0x3d402024, 0x7d00}, {0x3d402050, 0x20d040}, - {0x3d402064, 0x6001c}, + {0x3d402064, 0x60026}, {0x3d4020dc, 0x840000}, {0x3d4020e0, 0x310000}, {0x3d4020e8, 0x66004d}, @@ -86,7 +86,7 @@ struct dram_cfg_param ddr_ddrc_cfg[] = { {0x3d40211c, 0x302}, {0x3d402130, 0x20300}, {0x3d402134, 0xa100002}, - {0x3d402138, 0x1d}, + {0x3d402138, 0x27}, {0x3d402144, 0x14000a}, {0x3d402180, 0x640004}, {0x3d402190, 0x3818200}, @@ -96,7 +96,7 @@ struct dram_cfg_param ddr_ddrc_cfg[] = { {0x3d403020, 0x0}, {0x3d403024, 0x1f40}, {0x3d403050, 0x20d040}, - {0x3d403064, 0x30007}, + {0x3d403064, 0x3000A}, {0x3d4030dc, 0x840000}, {0x3d4030e0, 0x310000}, {0x3d4030e8, 0x66004d}, @@ -111,7 +111,7 @@ struct dram_cfg_param ddr_ddrc_cfg[] = { {0x3d40311c, 0x302}, {0x3d403130, 0x20300}, {0x3d403134, 0xa100002}, - {0x3d403138, 0x8}, + {0x3d403138, 0xA}, {0x3d403144, 0x50003}, {0x3d403180, 0x190004}, {0x3d403190, 0x3818200}, From patchwork Tue May 28 09:59:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emanuele Ghidoli X-Patchwork-Id: 1940381 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=CLBa6W9n; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VpSgk5f5pz20Pb for ; Tue, 28 May 2024 20:00:34 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8D81E8845C; Tue, 28 May 2024 12:00:07 +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="CLBa6W9n"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D18AF884A1; Tue, 28 May 2024 12:00:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 0A5918845C for ; Tue, 28 May 2024 12:00:02 +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=ghidoliemanuele@gmail.com Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5789733769dso4125303a12.1 for ; Tue, 28 May 2024 03:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716890401; x=1717495201; darn=lists.denx.de; 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=zn4qHRIEXQRZCGdD33LaWO+TFK6M/LsyWODLoP7skpw=; b=CLBa6W9nTLi7xdje/HO5eW4aBuUIn1m8JzoDaAalzI+NAWf7TM3fx4M2IwtqKTueES jcxPN1MlB4cvfZD1Vjc2OnM1FJoz7CVevxE42FfV2wS98jMc6ZowlIRSX2ghN/+D1yId 9DEF3er2gWEBxOxlbM2GG+JIB9uKtVuNjeS0wiOwokYyd8kJr/nUOqkE6xrVzeR298Ur XNC1qioLK17i7xW0XL55EDDRRPG4daLkZc0wP5NlFJhQ2OOduojExOyPQqo6vwTM1ilY A1Cx7egwHy7n68Ljpv9kUvJFJctXORf47mEDJiP37iBHDYZE2BOuFwtjEVbUV1q0OvIZ Mzwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716890401; x=1717495201; 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=zn4qHRIEXQRZCGdD33LaWO+TFK6M/LsyWODLoP7skpw=; b=WgZVz8RqzlE2Y8CSxtXTIFAHaYYNo1x3lFr2RnAxDhUH7QCotG7Se3mKK1ZZQ6c9lv ZfN2TgrKfgqM3S3DPT0VkIjk907TeWlkaVTq0HD8BweKapzQV5a7rdaXBZ6BuJbg0Aoq +lccUP08fKDKpxR9yZrXLLiGFMi8W/wouoEPgvXH/HcP3ZIVxNoIdCYeKidPY810Ef10 8OVxyBzbvDStRdM4MFa+drSGosjlAnLYZw+NbJrtM/RRAqyjt2ZHwE6C+ojrdTPkATCb aMckSWMxvb8jIcsL/eJydWbYnsS5beYxpEqxHDyR6XH4L7SMJpNU7q7cQ51QGbjUZVTy 7F6A== X-Forwarded-Encrypted: i=1; AJvYcCX/4KQRAfWB6/qYItrf+yRaHSYnWyL9uOadstgP9RnPv1OsfPm22SaMmlUFhPaF+9kypBx0n1SS0l4M+UL/9q1fnSRZyw== X-Gm-Message-State: AOJu0YyC8uXUmS5mPgX9P3Om5o28I2EGUoTilrUKmBxC5FiAQnB7gosm tPKKcGmlVPzVpTuDzu5CzVQycLdG991ZrKbwJyzKlnpXVsttFw/D X-Google-Smtp-Source: AGHT+IHq68W5hWy5gSNJV9eVt2UuhEsG+jdfRkAp5sWz9kvs9tA0rKKQJAUY5ecPWrFbVCfVZWUEqA== X-Received: by 2002:a17:906:a04e:b0:a62:44e1:3f56 with SMTP id a640c23a62f3a-a6244e14068mr1159231466b.37.1716890401327; Tue, 28 May 2024 03:00:01 -0700 (PDT) Received: from emanuele-nb.corp.toradex.com (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a634da2e2absm33239266b.87.2024.05.28.03.00.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 03:00:00 -0700 (PDT) From: Emanuele Ghidoli To: Francesco Dolcini Cc: Emanuele Ghidoli , Marcel Ziswiler , u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH v1 2/5] board: toradex: verdin-imx8mm: increase maximum addressable ram to 4GB Date: Tue, 28 May 2024 11:59:38 +0200 Message-Id: <20240528095941.872693-3-ghidoliemanuele@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240528095941.872693-1-ghidoliemanuele@gmail.com> References: <20240528095941.872693-1-ghidoliemanuele@gmail.com> MIME-Version: 1.0 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: Emanuele Ghidoli Add support for SKUs with higher memory sizes. Actual memory size is auto-detected. Signed-off-by: Emanuele Ghidoli --- board/toradex/verdin-imx8mm/verdin-imx8mm.c | 2 +- include/configs/verdin-imx8mm.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c index 55c02653da68..31e8d5fb04b5 100644 --- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c +++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c @@ -117,7 +117,7 @@ int board_phys_sdram_size(phys_size_t *size) if (!size) return -EINVAL; - *size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE); + *size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE + PHYS_SDRAM_2_SIZE); return 0; } diff --git a/include/configs/verdin-imx8mm.h b/include/configs/verdin-imx8mm.h index 34238d3b505c..12d2b6823058 100644 --- a/include/configs/verdin-imx8mm.h +++ b/include/configs/verdin-imx8mm.h @@ -58,8 +58,10 @@ #define CFG_SYS_SDRAM_BASE 0x40000000 /* SDRAM configuration */ -#define PHYS_SDRAM 0x40000000 -#define PHYS_SDRAM_SIZE SZ_2G /* 2GB DDR */ +#define PHYS_SDRAM 0x40000000 +#define PHYS_SDRAM_SIZE (long)(SZ_2G + SZ_1G) +#define PHYS_SDRAM_2 0x100000000 +#define PHYS_SDRAM_2_SIZE (long)(SZ_1G) /* USB Configs */ #define CFG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) From patchwork Tue May 28 09:59:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emanuele Ghidoli X-Patchwork-Id: 1940382 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Xt3AKlIv; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VpSgx4qnfz20Pb for ; Tue, 28 May 2024 20:00:45 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EF0AB88489; Tue, 28 May 2024 12:00:07 +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="Xt3AKlIv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D6D968845C; Tue, 28 May 2024 12:00:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 AF7D08844E for ; Tue, 28 May 2024 12:00:02 +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=ghidoliemanuele@gmail.com Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-579cd80450fso3277742a12.0 for ; Tue, 28 May 2024 03:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716890402; x=1717495202; darn=lists.denx.de; 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=TUhgo7vzr5uWqNY/zLlafWR0bopXL1LEQh6Ai7ZHEFE=; b=Xt3AKlIvkL7D3XRzrCnnK3i1B1Oj1hqjHLX5I9cq/YGqVpg0S5KbYhK1oEg45C3/m5 Xzo3QMpRDFCe7boa57wIH6muWNl2WA1Gxf2qiReL1Ms+II1gj/Lz87J6pxhrS2oymw71 oaZ1R+GZrZvdQ7IJVUkXOy8jxUHAh1/r8BHOiSrVnnh0SjUPeNicjc39xt3E41FCUQkr DX885Axs3gPY4t4u0mF1fHBtPxbEB18B5CAfWHiFEWvOOHejhgPI/Yn4GuPMxutu8oQ/ fJg/6RTmdN9sPMVYI0yAso1PD6V+BTGcHxUCTThtn3mcr0VNMGrn6Yk4UIB0QJK6+jvA 61iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716890402; x=1717495202; 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=TUhgo7vzr5uWqNY/zLlafWR0bopXL1LEQh6Ai7ZHEFE=; b=dEM5V63SqSKP2/NW9zf21dfGNEZn4bn/fRHxDvnmAEX05R3UeyLUx4Zsugj4Rsk8M0 rVVuAaGlX2EU7T45FB8/Ysntzvm5b2JoVHwsrvo1f+hd/xRpaMq2YzZaNLRaHHvQ9Bmp GbU+02ZhK0GZzkyDrTh9Rek4OGr/8f4tU27p4iTn5BefsSwFVmQeLSjHJkn7O92ex8Sq +DLnd/hmHWD5Vop83qLJUrmwwC8rARTuzt4IXyfoTEXY7eHpJci5N0ePMvsw+EcFA6tc NFC6wNZXHDjhshYP6TwTKOrLMdwRtIyaHFXLhX/QuUaeOuznlVeXcSYfeUkCiEhpuFIk xjwQ== X-Forwarded-Encrypted: i=1; AJvYcCVZLu54TAr+uqWT+gkuflCwxldOE9+9fZ0dT/SYocrnAbe8jU9lXpTrOqtcTKQML37Jpl+LVrG5K4CX1VVhgYZkhsxzxw== X-Gm-Message-State: AOJu0YyJmPdREj+xwPovZGn+ipR0AqgXrrJ3Ezgc0JpJmcACy0BRzHeZ EBp8AiDZafJm5M3Y5qMuVrFP/Lh0iFwxC8OG1G9MbmIN7WkgxERb X-Google-Smtp-Source: AGHT+IG1vgPDX7HUUh+tuwfkss9lWyZkdDagjIFZl3M/Mhlwlo+mipXLCYi9s21WEK/zUm5q4lMh5w== X-Received: by 2002:a17:906:b88e:b0:a63:38bb:b92a with SMTP id a640c23a62f3a-a6338bbbf62mr129080366b.10.1716890401887; Tue, 28 May 2024 03:00:01 -0700 (PDT) Received: from emanuele-nb.corp.toradex.com (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a634da2e2absm33239266b.87.2024.05.28.03.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 03:00:01 -0700 (PDT) From: Emanuele Ghidoli To: Francesco Dolcini Cc: Emanuele Ghidoli , Marcel Ziswiler , u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH v1 3/5] toradex: tdx-cfg-block: add aquila am69 sku 0088 pid4 Date: Tue, 28 May 2024 11:59:39 +0200 Message-Id: <20240528095941.872693-4-ghidoliemanuele@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240528095941.872693-1-ghidoliemanuele@gmail.com> References: <20240528095941.872693-1-ghidoliemanuele@gmail.com> MIME-Version: 1.0 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: Emanuele Ghidoli Add new PID4 0088 Aquila AM69 Octa 32GB WB IT to config block handling. Signed-off-by: Emanuele Ghidoli --- board/toradex/common/tdx-cfg-block.c | 1 + board/toradex/common/tdx-cfg-block.h | 1 + 2 files changed, 2 insertions(+) diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c index dcf00d2b6325..f0d5a82b864c 100644 --- a/board/toradex/common/tdx-cfg-block.c +++ b/board/toradex/common/tdx-cfg-block.c @@ -158,6 +158,7 @@ const struct toradex_som toradex_modules[] = { [85] = { "Apalis iMX6Q 2GB IT", TARGET_IS_ENABLED(APALIS_IMX6) }, [86] = { "Verdin iMX8M Mini DualLite 2GB IT", TARGET_IS_ENABLED(VERDIN_IMX8MM) }, [87] = { "Verdin iMX8M Mini Quad 2GB IT", TARGET_IS_ENABLED(VERDIN_IMX8MM) }, + [88] = { "Aquila AM69 Octa 32GB WB IT", TARGET_IS_ENABLED(AQUILA_AM69_A72) }, }; struct pid4list { diff --git a/board/toradex/common/tdx-cfg-block.h b/board/toradex/common/tdx-cfg-block.h index 183ee0f2dc99..277f8bc6bb4c 100644 --- a/board/toradex/common/tdx-cfg-block.h +++ b/board/toradex/common/tdx-cfg-block.h @@ -113,6 +113,7 @@ enum { APALIS_IMX6Q_IT_NOWINCE, /* 85 */ VERDIN_IMX8MMDL_2G_IT, VERDIN_IMX8MMQ_2G_IT_NO_CAN, + AQUILA_AM69O_32G_WIFI_BT_IT, }; enum { From patchwork Tue May 28 09:59:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emanuele Ghidoli X-Patchwork-Id: 1940383 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=GmB+s9H2; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VpShB1kvYz20Pb for ; Tue, 28 May 2024 20:00:58 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5A82F884A7; Tue, 28 May 2024 12:00:08 +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="GmB+s9H2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0EFE08844E; Tue, 28 May 2024 12:00:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (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 20AA687C75 for ; Tue, 28 May 2024 12:00:03 +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=ghidoliemanuele@gmail.com Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a633ec1cecdso53390366b.2 for ; Tue, 28 May 2024 03:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716890402; x=1717495202; darn=lists.denx.de; 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=NTlL8CuLxeDmvt2IUiEJ88QGrA/bPHcw+MB5xnTyrSQ=; b=GmB+s9H2FHiS39ZddsY8EqNN8K//dnwsC26UnBWsfbjeK2mQRY+8MdKU7aaVh843IQ V9aubLfptKluWoorKFhvGypAwJS5RKr673acWVuVWW967k/SxOairODa5fefOCbpRb7/ B6ARYfhrSHrVbQW5dKIvi9l5aD7hHZtSQEj6qIAkEfhX9OqphCeDZ21TQhw23uKwP9NR 78DE43C3WHSU461AXuYYSB0Hos12xk8+P6LypvGdDWsZVA/tlJObzmkn6R+U3JjHIBy+ y/RrKQSfZfyjerrUW/l7ThN5yLVCLHsO3sUVf7F/f/jtPoUhBblJ0tCPTzucMSls+iUa t2pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716890402; x=1717495202; 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=NTlL8CuLxeDmvt2IUiEJ88QGrA/bPHcw+MB5xnTyrSQ=; b=xTwz/9Aw19IPRcYzA3QYsXPVQqC1dEIzIOKRehzpFsPYXF+1Ln72GZ4qjdEG+A0ksN h8h0mY/oBQmB/O7wa+hqlRVRi13pFQhAuq+spXahjsZou6Nwi16o9pa6CFbjYm9ttF4i aMkxkd5f0fz+UK6pgbKFJ07kQ1d6/5ObDvObsuE04FJ1KfmcF0qZTYDr3gwkc8g+vJ/D FnprG4ejdhUtL6hlZO1arQxiKV/ZW7nVGFQdSY59V/qmQRWJZBXsz07o/dsYm41omtSh 6GdAk0oqtScpD9Mq1kvsZ3QL//HnC8LpIudOvjvX7yDGd8yRVSrtxoQhbGMkQmJS5POH rmGA== X-Forwarded-Encrypted: i=1; AJvYcCX4sysMVJzETMF0qfUyH/l8pdNFdRuBrgqVHkecsfS8ctvFcZynwF7Kg8uxW1vEpm7cmiouqa5kW1PnQcFVhFsIPRD9+Q== X-Gm-Message-State: AOJu0YxPe9HTRtbP7Kto6TB7F23vePT0+LDrLzpAra6QRqRzu30yULTd QYf2wZWxjoI2KwlOohdkh+3skEcoQ4j7bEdhSDavaRQ+kCC92ZQ1lRTev7XhJAA= X-Google-Smtp-Source: AGHT+IG5IqGLZ9pC/RWwESiVWZQfpCcyqfEXVzCeG2mo8oenuJXhfReJtN7Q7ff0F7h+3XqIht1Sng== X-Received: by 2002:a17:906:e258:b0:a59:8cd2:5b2c with SMTP id a640c23a62f3a-a62646cd7d5mr744212166b.39.1716890402533; Tue, 28 May 2024 03:00:02 -0700 (PDT) Received: from emanuele-nb.corp.toradex.com (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a634da2e2absm33239266b.87.2024.05.28.03.00.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 03:00:02 -0700 (PDT) From: Emanuele Ghidoli To: Francesco Dolcini Cc: Emanuele Ghidoli , Marcel Ziswiler , u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH v1 4/5] toradex: tdx-cfg-block: add verdin imx95 sku 0089 pid4 Date: Tue, 28 May 2024 11:59:40 +0200 Message-Id: <20240528095941.872693-5-ghidoliemanuele@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240528095941.872693-1-ghidoliemanuele@gmail.com> References: <20240528095941.872693-1-ghidoliemanuele@gmail.com> MIME-Version: 1.0 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: Emanuele Ghidoli Add new PID4 0089 Verdin iMX95 Hexa 16GB WB IT to config block handling. Signed-off-by: Emanuele Ghidoli --- board/toradex/common/tdx-cfg-block.c | 1 + board/toradex/common/tdx-cfg-block.h | 1 + 2 files changed, 2 insertions(+) diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c index f0d5a82b864c..ec41d4ea3c5b 100644 --- a/board/toradex/common/tdx-cfg-block.c +++ b/board/toradex/common/tdx-cfg-block.c @@ -159,6 +159,7 @@ const struct toradex_som toradex_modules[] = { [86] = { "Verdin iMX8M Mini DualLite 2GB IT", TARGET_IS_ENABLED(VERDIN_IMX8MM) }, [87] = { "Verdin iMX8M Mini Quad 2GB IT", TARGET_IS_ENABLED(VERDIN_IMX8MM) }, [88] = { "Aquila AM69 Octa 32GB WB IT", TARGET_IS_ENABLED(AQUILA_AM69_A72) }, + [89] = { "Verdin iMX95 Hexa 16GB WB IT", TARGET_IS_ENABLED(VERDIN_IMX95) }, }; struct pid4list { diff --git a/board/toradex/common/tdx-cfg-block.h b/board/toradex/common/tdx-cfg-block.h index 277f8bc6bb4c..122a7aceabd6 100644 --- a/board/toradex/common/tdx-cfg-block.h +++ b/board/toradex/common/tdx-cfg-block.h @@ -114,6 +114,7 @@ enum { VERDIN_IMX8MMDL_2G_IT, VERDIN_IMX8MMQ_2G_IT_NO_CAN, AQUILA_AM69O_32G_WIFI_BT_IT, + VERDIN_IMX95H_16G_WIFI_BT_IT, }; enum { From patchwork Tue May 28 09:59:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emanuele Ghidoli X-Patchwork-Id: 1940384 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=CV/sPOll; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VpShN0m0Vz20Pb for ; Tue, 28 May 2024 20:01:08 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BA80F884B3; Tue, 28 May 2024 12:00:08 +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="CV/sPOll"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B96B58844E; Tue, 28 May 2024 12:00:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (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 A91E688481 for ; Tue, 28 May 2024 12:00:03 +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=ghidoliemanuele@gmail.com Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a6265d3ccf7so82595866b.0 for ; Tue, 28 May 2024 03:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716890403; x=1717495203; darn=lists.denx.de; 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=MjbZPFEoUxSp2A35tLB1KsC8ENXrOOJluGWRutJQ2fQ=; b=CV/sPOllXh2xOeP4TNUKOKU9i1T9sopFj6LKJmnHCVY/rN/PXOyDALtmZgSNUooxfK vpPTPKaPJ8Jd7WDh8FiVj97pS74+p3jSA2SodTp2p5EkXFPPyh37Dmz3AsNsJiEs342e pPPZ31shm8ihTe9i4jrK5iOsAPSGosAWToOW1DGzJ4KwU9qG7TlIDo7Reh+ZWAqba1hX ladVelRcAqDp7Xqc5fQa7DysXGlvg29lLacuO5a9n6xrWIBcqd3+atC7Pq/qbIL7sEfA Ui9Zri89yjoARmEH63AT/qwyHwTqu4MmBuu1DgSGSPXNjCIqYVk1JcBPPH/EDbWE0DFF jFmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716890403; x=1717495203; 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=MjbZPFEoUxSp2A35tLB1KsC8ENXrOOJluGWRutJQ2fQ=; b=gS4gDkvhJv8VYJ1VBRpSqXgFWo8c5Z5AR39lvkBuTDbRZt/0plov5e4eWLhDdBHA9v W/xmEpeRRuGippQb2hikUWMGEnFy9vETClIsTXI/s8LMJjVB2Y5kuylwAHOPVNsxOOo/ Oa0Q2B8/QiEarBmjujHYouZv5hMoPdaXge/I+3fwvVz8n0WwUlwyqu7PDneqAVR+XvdZ 8RLLBrOj13c0IvXdMwUa2vCAq5pViWiuUgi7TSDmSXYI7cs6NlyIPJBg/Cz4WSpWYPdL ZHSFhBBrzQB8pE7DT2oF4InRbzml0sHWr4ba3vvVX+MCCLGazV1AHVkUslZfCiYtHMuB zxpw== X-Forwarded-Encrypted: i=1; AJvYcCVWJyUSLFvpcNW0BWoPWfgibXEH7nhkid5CsDCJrolkZkP2iZAMqMMILMSabW0Y0hE1O03otNldXlZe6b3bdmDHPglGfA== X-Gm-Message-State: AOJu0YxosuOSGFn/OplUrUIGKAl9XXT990W5qkDZw0Ek7QwwdC00qV5k phfqlyudc88wk6/iWYEgLIKTFe+de/6jptn/YDLbMDy0DVlgJrL4 X-Google-Smtp-Source: AGHT+IG6xwhtqS9X3NUrDnxhfQwZBb5tbpk1OCPxDhJAYJCgYwqVXleSLjPUnQgZMIWRw5UsjNQZ8A== X-Received: by 2002:a17:906:170f:b0:a59:d063:f5f3 with SMTP id a640c23a62f3a-a626501c25cmr741664966b.63.1716890403077; Tue, 28 May 2024 03:00:03 -0700 (PDT) Received: from emanuele-nb.corp.toradex.com (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a634da2e2absm33239266b.87.2024.05.28.03.00.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 03:00:02 -0700 (PDT) From: Emanuele Ghidoli To: Francesco Dolcini Cc: Emanuele Ghidoli , Marcel Ziswiler , u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH v1 5/5] toradex: tdx-cfg-block: add verdin i.mx8m mini 0090 pid4 Date: Tue, 28 May 2024 11:59:41 +0200 Message-Id: <20240528095941.872693-6-ghidoliemanuele@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240528095941.872693-1-ghidoliemanuele@gmail.com> References: <20240528095941.872693-1-ghidoliemanuele@gmail.com> MIME-Version: 1.0 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: Emanuele Ghidoli Add new PID4 0090 Verdin iMX8M Mini Quad 4GB WB ET to support the new hardware variant. Signed-off-by: Emanuele Ghidoli --- board/toradex/common/tdx-cfg-block.c | 1 + board/toradex/common/tdx-cfg-block.h | 1 + board/toradex/verdin-imx8mm/verdin-imx8mm.c | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c index ec41d4ea3c5b..ded619e92afa 100644 --- a/board/toradex/common/tdx-cfg-block.c +++ b/board/toradex/common/tdx-cfg-block.c @@ -160,6 +160,7 @@ const struct toradex_som toradex_modules[] = { [87] = { "Verdin iMX8M Mini Quad 2GB IT", TARGET_IS_ENABLED(VERDIN_IMX8MM) }, [88] = { "Aquila AM69 Octa 32GB WB IT", TARGET_IS_ENABLED(AQUILA_AM69_A72) }, [89] = { "Verdin iMX95 Hexa 16GB WB IT", TARGET_IS_ENABLED(VERDIN_IMX95) }, + [90] = { "Verdin iMX8M Mini Quad 4GB WB ET", TARGET_IS_ENABLED(VERDIN_IMX8MM) }, }; struct pid4list { diff --git a/board/toradex/common/tdx-cfg-block.h b/board/toradex/common/tdx-cfg-block.h index 122a7aceabd6..0d6dd1c3a721 100644 --- a/board/toradex/common/tdx-cfg-block.h +++ b/board/toradex/common/tdx-cfg-block.h @@ -115,6 +115,7 @@ enum { VERDIN_IMX8MMQ_2G_IT_NO_CAN, AQUILA_AM69O_32G_WIFI_BT_IT, VERDIN_IMX95H_16G_WIFI_BT_IT, + VERDIN_IMX8MMQ_4G_WIFI_BT_ET, /* 90 */ }; enum { diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c index 31e8d5fb04b5..0b5a538ae2f1 100644 --- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c +++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c @@ -84,7 +84,8 @@ static void select_dt_from_module_version(void) */ is_wifi = (tdx_hw_tag.prodid == VERDIN_IMX8MMQ_WIFI_BT_IT) || (tdx_hw_tag.prodid == VERDIN_IMX8MMDL_WIFI_BT_IT) || - (tdx_hw_tag.prodid == VERDIN_IMX8MMQ_WIFI_BT_IT_NO_CAN); + (tdx_hw_tag.prodid == VERDIN_IMX8MMQ_WIFI_BT_IT_NO_CAN) || + (tdx_hw_tag.prodid == VERDIN_IMX8MMQ_4G_WIFI_BT_ET); } switch (get_pcb_revision()) {