Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2546903lqp; Mon, 25 Mar 2024 02:04:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXtvy7fgiei6sKMAs/YLD6YHOeGuWIX7pVNT+qvqFBWPC3tKQ2POz3mSvCiiVIMZlr8T/RlB3UhBrrf14xwC+b45aLENmUjn88jJasXHg== X-Google-Smtp-Source: AGHT+IGZJkYqXo92CWaaBHJ6Yc3Hv4Bzv6U2W63sRhIH6ijIa8QMNtUx26ik4WDwawjfVwethXKA X-Received: by 2002:a05:6a00:2d9e:b0:6e7:3d44:92d0 with SMTP id fb30-20020a056a002d9e00b006e73d4492d0mr6518044pfb.15.1711357473222; Mon, 25 Mar 2024 02:04:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711357473; cv=pass; d=google.com; s=arc-20160816; b=vrMWfN8L468hQBaRf5Q/EOWp1zNp0z6pQkRxWH8d4s+BW1jZwwd3DdwkES4GJplF2w vJzDOS7UygcY026zEy+QouPdrCRfw/Sm6tQ3SOZ9xYBBc3nY/8pIDJKFw/1RyTRJxswr bUkwsfYlic3FpdNCaITwok+BU4W0963q8Y6eJQmlMA4FmCMnCMYS6a3eKnHHTKatiudw ryJ/tlrewMBFezGOIaWmfJv5lpQe6IA1zHlXB0//sjlKj6REXOaR62JOEZ4dDBxwUhk/ bHu2cGHreHkEJP4dkTtxKbNO9QmUtFa18/dyIdoGPKFy7GW0AjDZL0JJCBeKlpCOeQBp BWTQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=8FUy5l4f+VoqCm6061yTZqqxLBxeWL+A6OKsVjBCZPM=; fh=t7z2FjLMy1uQSF9VhlkyUHHgrcyTNL4qKsf9oLcEqz0=; b=xE9jNpiRZ1gDOpNHJZnVTB062MfMTfV0JhBalR9SD/WDbaww7f6rL5NyUMv6lPmlP7 6Tw3lOH9upVrnbX6V8GlzFAH8yzFPauR+ZwsraD2dUY2x+GWzcj7zOPJ/C/wqd5Ajv67 act8+DP2e0w0+zx36RRmtBP16M0uPkOUwJyADD7KVP20N9RXQzV1z0orzcpjrv3ou0II wVJNn4ykUGGghWaLhZDBPC6Dn4KrBxiSZl7yojXfLDFWXUB9EWz3TufDyrZxjwky/RSO KSlfGt4xezUDQL8o/0gWeTKu5HUnpW8CLaUowQEGYFXMs9qb0IW/0ZasI+8KfRg6MaAe 4vQA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XmMXv9nE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115646-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 7-20020a630a07000000b005dc7e779b7dsi6995408pgk.73.2024.03.25.02.04.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 02:04:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XmMXv9nE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115646-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4CE1129C23A for ; Mon, 25 Mar 2024 09:03:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20B032072E8; Mon, 25 Mar 2024 02:51:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XmMXv9nE" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F38D2206CAA; Sun, 24 Mar 2024 23:05:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711321515; cv=none; b=gjgQ5swmdiZGxfhTZS/fny7xvVwh2mZClO6dfdA/CSGTtIEevWLdDKOpEYwMB0OE/awOwIuPCQsiscnkTLwDbUMuQ+SRx0gwvWIq7VIVyUMLnRr34cM3g18kFgkpF9Z1GsOPErd8SWNY4eTpMkNMAT6YP1m0WdiBR+N+ViwuodI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711321515; c=relaxed/simple; bh=kzg1twyd8x1xKB2wbJO5YxL9YZinLAhgSRISrH4vxlA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=D8ucLWl6LYPnG1oWoM7y5MmpFZUli5xm8ULO/yYhNIU0YFBpWZzEXH9XUjd9pU486SA66amSWh9G6ACEypY48ctlVH0VQVkIhqlo47pGdizWwRdfCjW+rpAA+YfvWh/zy65WWu935kLKzfzJeTBKI6MlgrwQQLNDD8DEcGV+qmY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XmMXv9nE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D7ECC433F1; Sun, 24 Mar 2024 23:05:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711321514; bh=kzg1twyd8x1xKB2wbJO5YxL9YZinLAhgSRISrH4vxlA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XmMXv9nEkj2QOHEOQ3figCBwvRWFiFuqMxRnSOyVF/Iv2hzMD+5V8QX9BVL3eX3fH kOd2ejVHNiKkKo0yd4KNk3jLtdP0TL1v0JSFjIIhC1vCG6iqL2JNG7D0c1ZvGtI8ZN X68L4vdAjrVyU0LXI9C9yX9v+Ygz1dQ0l6Dor3CAtl4ZxMZXXKbC6i7T5BYteLX7gV 08oOTD/Ir5ccgLiVUF6fm6AbaITGb3LBL5wKLqxWQUAVrezEHxZEmqFSM1obswIIA+ Ii2zY4hGGVAze01oqe30KBP6igSdKuix1zpmC3vb48R+SC5JeFQ3++nikfkocyMTA5 2oR21903TzRrA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Nishanth Menon , Vignesh Raghavendra , Sasha Levin Subject: [PATCH 6.6 241/638] arm64: dts: ti: k3-am642-sk: Add boot phase tags marking Date: Sun, 24 Mar 2024 18:54:38 -0400 Message-ID: <20240324230116.1348576-242-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324230116.1348576-1-sashal@kernel.org> References: <20240324230116.1348576-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Nishanth Menon [ Upstream commit 4669288219a7f77c6ff992d10ce6a20660863979 ] bootph-all as phase tag was added to dt-schema (dtschema/schemas/bootph.yaml) to describe various node usage during boot phases with DT. Describe the same for AM642-sk boot devices. Signed-off-by: Nishanth Menon Link: https://lore.kernel.org/r/20230911172902.1057417-4-nm@ti.com Signed-off-by: Vignesh Raghavendra Stable-dep-of: 379c7752bbd0 ("arm64: dts: ti: k3-am64-main: Fix ITAP/OTAP values for MMC") Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts index 722fd285a34ec..f29c8a9b59ba7 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts @@ -34,6 +34,7 @@ aliases { }; memory@80000000 { + bootph-pre-ram; device_type = "memory"; /* 2G RAM */ reg = <0x00000000 0x80000000 0x00000000 0x80000000>; @@ -107,6 +108,7 @@ rtos_ipc_memory_region: ipc-memories@a5000000 { vusb_main: regulator-0 { /* USB MAIN INPUT 5V DC */ + bootph-all; compatible = "regulator-fixed"; regulator-name = "vusb_main5v0"; regulator-min-microvolt = <5000000>; @@ -117,6 +119,7 @@ vusb_main: regulator-0 { vcc_3v3_sys: regulator-1 { /* output of LP8733xx */ + bootph-all; compatible = "regulator-fixed"; regulator-name = "vcc_3v3_sys"; regulator-min-microvolt = <3300000>; @@ -128,6 +131,7 @@ vcc_3v3_sys: regulator-1 { vdd_mmc1: regulator-2 { /* TPS2051BD */ + bootph-all; compatible = "regulator-fixed"; regulator-name = "vdd_mmc1"; regulator-min-microvolt = <3300000>; @@ -234,6 +238,7 @@ led-7 { &main_pmx0 { main_mmc1_pins_default: main-mmc1-default-pins { + bootph-all; pinctrl-single,pins = < AM64X_IOPAD(0x029c, PIN_INPUT_PULLUP, 0) /* (C20) MMC1_SDWP */ AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* (D19) MMC1_SDCD */ @@ -248,6 +253,7 @@ AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* (K18) MMC1_DAT3 */ }; main_uart0_pins_default: main-uart0-default-pins { + bootph-all; pinctrl-single,pins = < AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */ AM64X_IOPAD(0x023c, PIN_OUTPUT, 0) /* (A16) UART0_RTSn */ @@ -257,6 +263,7 @@ AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* (C16) UART0_TXD */ }; main_uart1_pins_default: main-uart1-default-pins { + bootph-pre-ram; pinctrl-single,pins = < AM64X_IOPAD(0x0248, PIN_INPUT, 0) /* (D16) UART1_CTSn */ AM64X_IOPAD(0x024c, PIN_OUTPUT, 0) /* (E16) UART1_RTSn */ @@ -266,12 +273,14 @@ AM64X_IOPAD(0x0244, PIN_OUTPUT, 0) /* (E14) UART1_TXD */ }; main_usb0_pins_default: main-usb0-default-pins { + bootph-all; pinctrl-single,pins = < AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ >; }; main_i2c0_pins_default: main-i2c0-default-pins { + bootph-all; pinctrl-single,pins = < AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */ AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */ @@ -279,6 +288,7 @@ AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */ }; main_i2c1_pins_default: main-i2c1-default-pins { + bootph-all; pinctrl-single,pins = < AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */ AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */ @@ -367,6 +377,7 @@ AM64X_IOPAD(0x00bc, PIN_INPUT, 7) /* (U8) GPIO0_46 */ }; &main_uart0 { + bootph-all; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart0_pins_default>; @@ -375,12 +386,14 @@ &main_uart0 { &main_uart1 { /* main_uart1 is reserved for firmware usage */ + bootph-pre-ram; status = "reserved"; pinctrl-names = "default"; pinctrl-0 = <&main_uart1_pins_default>; }; &main_i2c0 { + bootph-all; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c0_pins_default>; @@ -393,12 +406,14 @@ eeprom@51 { }; &main_i2c1 { + bootph-all; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c1_pins_default>; clock-frequency = <400000>; exp1: gpio@70 { + bootph-all; compatible = "nxp,pca9538"; reg = <0x70>; gpio-controller; @@ -445,6 +460,7 @@ wlcore: wlcore@2 { &sdhci1 { /* SD/MMC */ + bootph-all; vmmc-supply = <&vdd_mmc1>; pinctrl-names = "default"; bus-width = <4>; @@ -454,11 +470,22 @@ &sdhci1 { }; &serdes_ln_ctrl { + bootph-all; idle-states = ; }; +&serdes_refclk { + bootph-all; +}; + +&serdes_wiz0 { + bootph-all; +}; + &serdes0 { + bootph-all; serdes0_usb_link: phy@0 { + bootph-all; reg = <0>; cdns,num-lanes = <1>; #phy-cells = <0>; @@ -468,10 +495,12 @@ serdes0_usb_link: phy@0 { }; &usbss0 { + bootph-all; ti,vbus-divider; }; &usb0 { + bootph-all; dr_mode = "host"; maximum-speed = "super-speed"; pinctrl-names = "default"; -- 2.43.0