From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.127.231.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794992301; b=4NV2ac1rMbrabe5cN0IaMxJnvU774x1jdLB6Dj1VnBCsssEsq8JRONKf1DA7Iys85rmt +W3zihjOFOwFgYpthHaV/5inlozcBES6+tm+Y9ONWcS3qKBSrNvHNk/BUa9lUV7M6O8QL nHnIVBoSYVzFFusQS4IVVu26uBsg6wfiqgk3CwRclYOsi71u2mIqsRoqW22825THYfFeP PzM7veEZNQYymoWSIVKLb7Z0Z2VHg1Sx/lMRkq85RlWxz4ITWch0y3vQyv6iNKI84uh5J TxDQkt1OB9iTXvDZHM99gjn+unQXs2VytePIxp5BebkQKct+e+9eKzZ7Lxlxj/URMeQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794992301; h=DMARC-Filter:DKIM-Signature:X-Original-From:X-Mailer:Cc:Subject:Date: Mime-Version:X-Lms-Return-Path:In-Reply-To:To:Message-Id: Content-Transfer-Encoding:Content-Type:From:References:Received; bh=sveQCqM0T8TQXebLs1ee5J0Akp/eUy4wpp9ckOQs5CU=; b=dmjJvcWcG6IVDcT/UGwPBSerFvXqOk4qsSvKDgp/AWptnqyoBBDixpqYc6O33yhrcuo4 3YRZnoHTa4pnWzFLnEeQ5kmaL57NQyCWopesfgssBxNr5wHs9JC2JknfEZe/LFdbFAjXp 5Co2Vojk8Dn9nTQv74iAkH+jgM2mnOw67TgFt53LZ9/KcLCUJ3OCWfKv/JTHZjANcztvE EUCcJVRvulK1Xf5i6Nku0gyjrAks4guB0AJIZ9AXURxyFr2DN5dWYu4O9dh6N8eVSs7YG hfIks9ClD65Z2WyBiLlboL04VqQYHUwovk51bJBrPQw2FUAmbj6ooByGTDhoSgCMWOQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=deepcomputing.io; spf=pass smtp.mailfrom=deepcomputing.io; dkim=pass header.d=deepcomputing-io.20200927.dkim.feishu.cn header.i=@deepcomputing-io.20200927.dkim.feishu.cn header.a=rsa-sha256 header.s=s1 header.b=FsenHpfD; arc=none smtp.remote-ip=209.127.231.48 Received: from va-2-48.ptr.blmpb.com (va-2-48.ptr.blmpb.com [209.127.231.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F689606A331 for ; Wed, 18 Nov 2026 08:58:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6F689606A331 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=deepcomputing.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=deepcomputing.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=deepcomputing-io.20200927.dkim.feishu.cn header.i=@deepcomputing-io.20200927.dkim.feishu.cn header.a=rsa-sha256 header.s=s1 header.b=FsenHpfD DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=deepcomputing-io.20200927.dkim.feishu.cn; t=1794992296; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=sveQCqM0T8TQXebLs1ee5J0Akp/eUy4wpp9ckOQs5CU=; b=FsenHpfDmPTX/Bv1PN4d8ayLPq6yaQTPA+iE+hEfIVLCTvRCgNYa5LUBuuY2vaDcnHI0gJ GV1+cjVdoztYQdtEPb25qV7xfLKHvHsa+gaEERlaTA/bOVzhC4hn1a1rPnNGShnpAHwdZm 5e+2Qxq3cRg6sLbkZX5vGnOWoz//Sdmy3Gtij7ujVc+5uChLpx7fVVUU9LuzHqfCtVNl3+ DC+sGKHKLBptjpexEYiXVwV0uwwO9CqsPv6k1DnXNyJ1EqmJi+TXpu+/7ycTUP/88mQc0E azlPrY0qhUSJia6nkyLsZ5+/ZznzE29+a65v+IuT62di8c6ljAJcQ2zUDQ/sfg== X-Original-From: Wang Yang X-Mailer: git-send-email 2.43.0 Cc: "Troy Mitchell" , "Tzung-Bi Shih" , "Guenter Roeck" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Alexandre Ghiti" , "Sandie Cao" , , , , , Subject: [PATCH 7/9] riscv: dts: spacemit: Describe the K3 eSPI controller Date: Wed, 18 Nov 2026 16:57:40 +0800 X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 X-Lms-Return-Path: In-Reply-To: <20261118085742.1817536-1-yang.wang@deepcomputing.io> To: "Yixun Lan" , "Benson Leung" Message-Id: <20261118085742.1817536-8-yang.wang@deepcomputing.io> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 From: "Wang Yang" References: <20261118085742.1817536-1-yang.wang@deepcomputing.io> Received: from ubuntu.. ([183.23.101.74]) by smtp.feishu.cn with ESMTPS; Wed, 18 Nov 2026 16:58:13 +0800 Add the disabled eSPI controller with its memory window, clock and reset connections. Keep the board-specific EC child out of the common SoC description. Other K3 boards remain disabled by default. Prepared with Codex assistance from the existing DC-linux EC support. Signed-off-by: Wang Yang --- arch/riscv/boot/dts/spacemit/k3.dtsi | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/riscv/boot/dts/spacemit/k3.dtsi b/arch/riscv/boot/dts/spacemit/k3.dtsi index e89d2cc5c..d859c84bb 100644 --- a/arch/riscv/boot/dts/spacemit/k3.dtsi +++ b/arch/riscv/boot/dts/spacemit/k3.dtsi @@ -648,6 +648,37 @@ gmac1_axi_setup: stmmac-axi-config { }; }; + espi0: espi@cac8c000 { + compatible = "spacemit,k3-espi"; + reg = <0x0 0xcac8c000 0x0 0x1000>; + ranges = <0x0 0x0 0x84000000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + pr-mem-base0 = <0x84000000>; + pr-mem-base1 = <0xcac8c000>; + clocks = <&syscon_apmu CLK_APMU_ESPI_SCLK_SRC>, + <&syscon_apmu CLK_APMU_ESPI_SCLK>, + <&syscon_apmu CLK_APMU_ESPI_MCLK>; + clock-names = "sclk_src", "sclk", "mclk"; + resets = <&syscon_apmu RESET_APMU_ESPI_MCLK>, + <&syscon_apmu RESET_APMU_ESPI_SCLK>; + assigned-clocks = <&syscon_apmu CLK_APMU_ESPI_SCLK>; + assigned-clock-parents = <&syscon_apmu CLK_APMU_ESPI_SCLK_SRC>; + operating-frequency = <20>; + io-mode = "single"; + alert-mode = "io1"; + alert-type = "open-drain"; + watchdog-timeout = <0xffff>; + crc-enable; + auto-gating-enable; + peripheral-channel-enable; + vwire-channel-enable; + oob-channel-enable; + flash-channel-enable; + + status = "disabled"; + }; + eth2: ethernet@cac8e000 { compatible = "spacemit,k3-dwmac", "snps,dwmac-5.40a"; reg = <0x0 0xcac8e000 0x0 0x2000>; -- 2.43.0