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 9D357C77B7F for ; Fri, 12 May 2023 14:40:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5E671862E1; Fri, 12 May 2023 16:39:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.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=baylibre-com.20221208.gappssmtp.com header.i=@baylibre-com.20221208.gappssmtp.com header.b="fQ+Z2taW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 218F586264; Fri, 12 May 2023 15:17:55 +0200 (CEST) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 BA23A86293 for ; Fri, 12 May 2023 15:17:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aseketeli@baylibre.com Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3075e802738so9030986f8f.1 for ; Fri, 12 May 2023 06:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683897472; x=1686489472; 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=DSGy38LznFIuFNULofzQOOTF0g4JaDd56VbSK+6HlJE=; b=fQ+Z2taW1OTPSkqKMcvz9HFe9nDFHUZda1jnWoN83qtXvkTRPd/7gwmS+KKVdY+iJW Pxwz/UodmBdR1VsIyaHPTHXlEMplGfzC7p+MBRrQZ0D45RNVDMDSRZqHPDM2zKRxLTSW nNXSgF2q3dCY1KG5g+4FDmCXGpnEvIRO8IgsE2HCmtcx4oBc+B6k5uihkll/m5A5UTPH ErvigBARXFm57P4bs/fK5UKzaontdonzxcS4DPbVZUbpmQkQlNmv4JMU2STNzS/qLarp qTcRKj1+cKKRq8F2N5vGy7Q9ZPCMfUK7i7rbkUaTgBTxBPayAaFIxNd5lwh+kehnliHO JyZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683897472; x=1686489472; 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=DSGy38LznFIuFNULofzQOOTF0g4JaDd56VbSK+6HlJE=; b=GALnJ65CxBDzKZzHvzJDSKKGIj2y535vcJGvgvmwTxGlwi//vZ0+N7GugvdnDxSptT /kCE9sf7hBCt0DjjR+xxXPO2d48Gb2bdTa3uM60OetcJaw8EcY7RNDoQiojAlX5ND0nd mOePT+SPuUDgzcmaeafjxSRfAxpemwNt8Uo+rCd61qpCsf66x8acLmD9q84rQp9/xle9 FLK2r85SvAV2e22Ln3FaWFjaUpHyjo1mQ1bP7aWUX3fl20Ca8HBf2zBIB/x+MZf8YcCK +zS13ae2PJb5kgHRrMFMmFHXNyanm2m+x7riYdNIDpXupsKP8MAm9Xl++bqGSRXuZOZt Uj7g== X-Gm-Message-State: AC+VfDytxGrWH8HsdnYWeVWGl3ZmSiKp4GwF8ryT8rl235f2k1GX8Tve e7c7HcqbX/8Dw+QU125hGN93mSATiDYj5tSO3eI= X-Google-Smtp-Source: ACHHUZ7RM0bFCFqlu9sASGFzMZa5Y+ZTpIiWvggjl4FtMjPtWYwCjH+c5OQRKP5jkqfAkPpdF+Zm+w== X-Received: by 2002:adf:e492:0:b0:306:2dd6:95d3 with SMTP id i18-20020adfe492000000b003062dd695d3mr21980418wrm.22.1683897471856; Fri, 12 May 2023 06:17:51 -0700 (PDT) Received: from FRILM-EL-ITE738.lan ([2001:861:324d:93:9ce7:d81a:148f:69ad]) by smtp.gmail.com with ESMTPSA id n22-20020a7bcbd6000000b003f41bb52834sm19206881wmi.38.2023.05.12.06.17.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 06:17:51 -0700 (PDT) From: Apelete Seketeli To: u-boot@lists.denx.de, a-govindraju@ti.com, vigneshr@ti.com, bb@ti.com, hnagalla@ti.com, jh80.chung@samsung.com, nm@ti.com, sjg@chromium.org, jpanis@baylibre.com, aseketeli@baylibre.com, g-vlaev@ti.com, jneanne@baylibre.com, eblanc@baylibre.com, m-chawdhry@ti.com, vaishnav.a@ti.com, sinthu.raja@ti.com, a-nandan@ti.com, michal.simek@amd.com, j-keerthy@ti.com Cc: sterzik@ti.com, u-kumar1@ti.com, khilman@baylibre.com Subject: [PATCH 06/18] DONOTMERGE: arm: dts: k3-j721e: refactor r5 board file to use Linux dts tps6594 description Date: Fri, 12 May 2023 15:17:33 +0200 Message-Id: <20230512131745.2321727-7-aseketeli@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230512131745.2321727-1-aseketeli@baylibre.com> References: <20230512131745.2321727-1-aseketeli@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 12 May 2023 16:38:57 +0200 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: Jerome Neanne Use a copy of Linux dts for TPS6594 PMIC description instead of custom u-boot Signed-off-by: Jerome Neanne Signed-off-by: Apelete Seketeli --- .../arm/dts/k3-j721e-r5-common-proc-board.dts | 48 +++++++++---------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts b/arch/arm/dts/k3-j721e-r5-common-proc-board.dts index 1b40cf2580..f6456034d4 100644 --- a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts +++ b/arch/arm/dts/k3-j721e-r5-common-proc-board.dts @@ -21,6 +21,27 @@ tick-timer = &timer1; }; + evm_12v0: fixedregulator-evm12v0 { + /* main supply */ + compatible = "regulator-fixed"; + regulator-name = "evm_12v0"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-always-on; + regulator-boot-on; + }; + + vsys_3v3: fixedregulator-vsys3v3 { + /* Output of LM5140 */ + compatible = "regulator-fixed"; + regulator-name = "vsys_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&evm_12v0>; + regulator-always-on; + regulator-boot-on; + }; + a72_0: a72@0 { compatible = "ti,am654-rproc"; reg = <0x0 0x00a90000 0x0 0x10>; @@ -277,33 +298,8 @@ ti,driver-strength-ohm = <50>; }; -&wkup_i2c0 { - bootph-pre-ram; - tps659413a: tps659413a@48 { - reg = <0x48>; - compatible = "ti,tps659413"; - bootph-pre-ram; - pinctrl-names = "default"; - pinctrl-0 = <&wkup_i2c0_pins_default>; - clock-frequency = <400000>; - - regulators: regulators { - bootph-pre-ram; - buck12_reg: buck12 { - /*VDD_CPU*/ - regulator-name = "buck12"; - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <900000>; - regulator-always-on; - regulator-boot-on; - bootph-pre-ram; - }; - }; - }; -}; - &wkup_vtm0 { - vdd-supply-2 = <&buck12_reg>; + vdd-supply-2 = <&bucka12>; bootph-pre-ram; }; -- 2.34.1