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 79FFBC43334 for ; Mon, 20 Jun 2022 17:33:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 587A081F8B; Mon, 20 Jun 2022 19:33:34 +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="MenvSb3S"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9CC8380584; Mon, 20 Jun 2022 19:33:33 +0200 (CEST) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (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 96F908210A for ; Mon, 20 Jun 2022 19:33:29 +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=heiko.thiery@gmail.com Received: by mail-ej1-x62d.google.com with SMTP id n20so15721972ejz.10 for ; Mon, 20 Jun 2022 10:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6f491HOfzZNjLReaKgDK9DNQGcygves7vgqyHnu0BhQ=; b=MenvSb3S1CGV3aqyaKBb9kRFoSfxCrDCIbhyePeknYq6dCG1Up8ZQGbmQ14CqxXr9i GFK0mwkE5aMX8wSY5R38L3VL0P8z0AWzsVGWb5g7Q4LZWPeBDiY760rHD658SjEXxXTt ELza71dxZYiBz7Jj2NqxVNe+s3pezDl6OfOWZAXrgEQyEE9k07PsPJHldy4ZTwcdp/FO 2DnJ/u02PiamXzKYXeI10OGTgxSrqjE91iZYfLznoMZHXkUonHHEAhTHIlqZIi+4gBa/ JhKxguGRELY6aVNJYNx6bt94vqoSJii9+cEq6EstWJ5mcbpJez2smLHw8LDTgsNLphn4 jspA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6f491HOfzZNjLReaKgDK9DNQGcygves7vgqyHnu0BhQ=; b=As8EAJiHzKgfnNs3LLxpPNib0q19DZsbr3p5H7vnk6hHYZ3evQZDa1uBR/fYb7HsPj HSaakoLXcZ2OP5forABx+YRvur0fC/eW91YR+5W8xiORV678uKQm+QXrne2gZsgHErd3 yrkExXZ3190utBR8mFnF468tYyYzVhIscstj8NRBHJhNMLp19ry/HrV4WcQ+XUvnAU9V uSN1YW+oGSPkxI/mzlk1+pfcACRDOTQMxihGAN6h+WJlpJ0XLHXwFewji603bwtk98Ux 4FhtJHnbs7V1LeP5QtKOrqyI4zepCS8xGPJNVr/HMQicOjbNrZmt0ikRGE8hXPWs0MoU h69g== X-Gm-Message-State: AJIora/8Yw+snzZoN2bX38ghFHv5gscaSjgjd892JF0ZDzFAW/NVUg0t ErXozfeSgwrZ2BTpNpbTO+EgQCbQTOI= X-Google-Smtp-Source: AGRyM1uqZ5QmUAnSH/ClAoxGwSxxpO3Su+/hptPvkDyeKOx/+BaewaK6sqd3eMmQptrrbXQKXmftdQ== X-Received: by 2002:a17:907:8330:b0:711:cfc4:3a3e with SMTP id mq48-20020a170907833000b00711cfc43a3emr21524456ejc.483.1655746408729; Mon, 20 Jun 2022 10:33:28 -0700 (PDT) Received: from hthiery.fritz.box ([2a02:810b:5a40:2a43:e54:15ff:fe38:2651]) by smtp.gmail.com with ESMTPSA id f17-20020a0564021e9100b0042e17781fc5sm11321667edf.49.2022.06.20.10.33.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 10:33:28 -0700 (PDT) From: Heiko Thiery To: u-boot@lists.denx.de Cc: Stefano Babic , Marek Vasut , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Heiko Thiery Subject: [PATCH] arm: dts: imx8mn: sync dts from Linux Kernel Date: Mon, 20 Jun 2022 19:33:26 +0200 Message-Id: <20220620173326.77165-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.2 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 Sync dts for imx8mn-evk with Linux Kernel and change name for PMIC used in SPL. commit 1cfa1e68af8d40ab233d5d27bc8446e4c5107571("arm64: dts: imx8mn-evk: fix the min/max voltages of the PMIC") commit bc046b952a5494b0dc53be28779460cee1214a3f("arm64: dts: imx8mn-evk: use proper names for PMIC outputs") Signed-off-by: Heiko Thiery --- arch/arm/dts/imx8mn-evk.dts | 56 ++++++++++++++++---------------- board/freescale/imx8mn_evk/spl.c | 4 +-- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/arch/arm/dts/imx8mn-evk.dts b/arch/arm/dts/imx8mn-evk.dts index cd11fb28f5..4eb467df5b 100644 --- a/arch/arm/dts/imx8mn-evk.dts +++ b/arch/arm/dts/imx8mn-evk.dts @@ -31,7 +31,7 @@ }; &i2c1 { - pmic: pca9450@25 { + pmic: pmic@25 { compatible = "nxp,pca9450b"; reg = <0x25>; pinctrl-names = "default"; @@ -41,18 +41,18 @@ regulators { buck1: BUCK1{ - regulator-name = "BUCK1"; - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <2187500>; + regulator-name = "VDD_SOC"; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <950000>; regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; }; buck2: BUCK2 { - regulator-name = "BUCK2"; - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <2187500>; + regulator-name = "VDD_ARM_0V9"; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1000000>; regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; @@ -61,63 +61,63 @@ }; buck4: BUCK4{ - regulator-name = "BUCK4"; - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <3400000>; + regulator-name = "VDD_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; }; buck5: BUCK5{ - regulator-name = "BUCK5"; - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <3400000>; + regulator-name = "VDD_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; }; buck6: BUCK6 { - regulator-name = "BUCK6"; - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <3400000>; + regulator-name = "NVCC_DRAM_1V1"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; regulator-boot-on; regulator-always-on; }; ldo1: LDO1 { - regulator-name = "LDO1"; - regulator-min-microvolt = <1600000>; - regulator-max-microvolt = <3300000>; + regulator-name = "NVCC_SNVS_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; }; ldo2: LDO2 { - regulator-name = "LDO2"; + regulator-name = "VDD_SNVS_0V8"; regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1150000>; + regulator-max-microvolt = <800000>; regulator-boot-on; regulator-always-on; }; ldo3: LDO3 { - regulator-name = "LDO3"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <3300000>; + regulator-name = "VDDA_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; }; ldo4: LDO4 { - regulator-name = "LDO4"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <3300000>; + regulator-name = "VDD_PHY_1V2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; regulator-boot-on; regulator-always-on; }; ldo5: LDO5 { - regulator-name = "LDO5"; + regulator-name = "NVCC_SD2"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-boot-on; diff --git a/board/freescale/imx8mn_evk/spl.c b/board/freescale/imx8mn_evk/spl.c index 0d9909a662..a830407997 100644 --- a/board/freescale/imx8mn_evk/spl.c +++ b/board/freescale/imx8mn_evk/spl.c @@ -69,9 +69,9 @@ int power_init_board(void) struct udevice *dev; int ret; - ret = pmic_get("pca9450@25", &dev); + ret = pmic_get("pmic@25", &dev); if (ret == -ENODEV) { - puts("No pca9450@25\n"); + puts("No pmci@25\n"); return 0; } if (ret != 0) -- 2.30.2