From patchwork Wed Apr 27 11:28:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 1622973 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=Gohj1TzB; dkim-atps=neutral Authentication-Results: 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=) 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 RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KpGjk0D8Zz9s3q for ; Wed, 27 Apr 2022 21:29:13 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 39F2183EAB; Wed, 27 Apr 2022 13:28:58 +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.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.b="Gohj1TzB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2063E83E15; Wed, 27 Apr 2022 13:28:37 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 C95B083E57 for ; Wed, 27 Apr 2022 13:28:31 +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=narmstrong@baylibre.com Received: by mail-wm1-x331.google.com with SMTP id 129so987002wmz.0 for ; Wed, 27 Apr 2022 04:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R3qsND6qw1VvsUQce7hv+phCgRmCzpMcgrhNizQrna0=; b=Gohj1TzBKvsoax4CJsqUWS2Hrb4813HS2pFRoD5Giyt8xR3G3mCUvrBQuuCVoyskyh PFiOUgAL46B7X32A3auX7mlUbUM2aypVm35RkgzApmwCtklDt5jyChf+TU4N6gB2HncZ 4ql7iXQWYsFTk5cFaSVxexazW5Ip11m5SOxZhLtvyvQmLeqXzZJiR4W6LcirhuoLkj7P J3l2VxkizyFZ9kr3vLGPya4JP6T6A/vlhttLPIJZ4VtZvmJmYJkqwrFgM5Ox9oLLDagV QZnSJNRCtx35rxGpRY+JT5+haHoOdF1ENwz6QNjVZxJCGL9dtug92n1kWaG5nGpblRyh Lrmg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=R3qsND6qw1VvsUQce7hv+phCgRmCzpMcgrhNizQrna0=; b=kTM3bOQ0mQ54ojBP+zoadHAyJBmRDwQ/Kp0kq01rIJA+G2F1fIDKOQ3NOoSW1DSv74 ZyUVmxzxkwpyD/sKSM9yNgQBXCSGCmC8ssb5HdQwo/xNefMFbJfBr0k6MKjDkkKOetdc +fqhXr0tq4xsJs+It6/nWL3dNNU/OhnGfreSRBZ3/f9hR0dGFAWNt+2UNlGouurk7sET v8j+myecfS0My9YKBhPHtcL6bP329Slz2B8x4y6r7j+AUHUiAWjyVeZI30N+W6wOEgXs jcdjcSTzP0Q8VkpTnADgcAS8wAuQdRKCMDeN+0TyevWvy1ga4672eIUiaINWSBRa9DLX OLUg== X-Gm-Message-State: AOAM533tlxHeX/afQ/g5vLBZmULZ4EJwZRVgIkhwGFjK7e5BgOrsAgmc Ep9sTyfBFGmd+PCRlYmBIIbI6A== X-Google-Smtp-Source: ABdhPJyoGxRmnOMCYs373AbHBua0tNj7qKslgb3yySG+2q8IB6WWjEsSG+t7P9kShVkRA2sii6EfXA== X-Received: by 2002:a05:600c:1e1f:b0:393:fca0:159c with SMTP id ay31-20020a05600c1e1f00b00393fca0159cmr4600556wmb.164.1651058911237; Wed, 27 Apr 2022 04:28:31 -0700 (PDT) Received: from localhost.localdomain ([2001:861:44c0:66c0:b735:88a0:c43a:20c8]) by smtp.gmail.com with ESMTPSA id u19-20020a05600c19d300b00393f081d49fsm1452622wmq.2.2022.04.27.04.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:28:30 -0700 (PDT) From: Neil Armstrong To: d-gerlach@ti.com, jh80.chung@samsung.com Cc: u-boot@lists.denx.de, khilman@baylibre.com, Neil Armstrong Subject: [PATCH 4/4] ARM: dts: k3-am642-sk-u-boot: add PMIC node Date: Wed, 27 Apr 2022 13:28:12 +0200 Message-Id: <20220427112812.2991816-5-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220427112812.2991816-1-narmstrong@baylibre.com> References: <20220427112812.2991816-1-narmstrong@baylibre.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.5 at phobos.denx.de X-Virus-Status: Clean The E4 revision of the AM64 SKEVM embeds a TPS65219 PMIC, this adds the PMIC node with the required regulators voltages. Signed-off-by: Neil Armstrong --- arch/arm/dts/k3-am642-sk-u-boot.dtsi | 61 ++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/arch/arm/dts/k3-am642-sk-u-boot.dtsi b/arch/arm/dts/k3-am642-sk-u-boot.dtsi index afe5baba8c..6504228136 100644 --- a/arch/arm/dts/k3-am642-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am642-sk-u-boot.dtsi @@ -48,6 +48,67 @@ pinctrl-names = "default"; pinctrl-0 = <&main_i2c0_pins_default>; clock-frequency = <400000>; + + tps65219: pmic@30 { + compatible = "ti,tps65219"; + reg = <0x30>; + + regulators { + buck1_reg: buck1 { + regulator-name = "VDD_CORE"; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <750000>; + regulator-boot-on; + regulator-always-on; + }; + + buck2_reg: buck2 { + regulator-name = "VCC1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + buck3_reg: buck3 { + regulator-name = "VDD_LPDDR4"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1_reg: ldo1 { + regulator-name = "VDDSHV_SD_IO_PMIC"; + regulator-min-microvolt = <33000000>; + regulator-max-microvolt = <33000000>; + }; + + ldo2_reg: ldo2 { + regulator-name = "VDDAR_CORE"; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo3_reg: ldo3 { + regulator-name = "VDDA_1V8"; + regulator-min-microvolt = <18000000>; + regulator-max-microvolt = <18000000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo4_reg: ldo4 { + regulator-name = "VDD_PHY_2V5"; + regulator-min-microvolt = <25000000>; + regulator-max-microvolt = <25000000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; }; &main_uart0 {