Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.127.231.26 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794894325; b=vEhI9yhLq8RbIdXTEyiR0EabGSfSXdLV/w9NiLaoiG5wCEOJWwvjdmTPERIYgiFK5Znu DGOgpY+GaMqyLyrv2iVbw9iACcMer9c0NG4VWReG1otwgRMOksqPvAD8sgwDVSJHoxJAW 9F/9bShYIasv/dXqFpOTmBvsAbCoKCDSEI2wngtojU82UCW7GGFYdBUV9qnZB5HCgOdaa 2ZI1E5In5VzeVY3/0GHsq3CxDVnxpOk/uNGIGq33wWRTsY/fRbBYWJ0RQVAEaIPWN1aYm 5sGg6G9qbd2a4omuTTMUmTG8uTKorXZ20qP5PSL+i32Nae/PD033KAUQsV6xiSi1t/A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794894325; h=DMARC-Filter:DKIM-Signature:Content-Transfer-Encoding:In-Reply-To: Content-Type:To:Date:Cc:From:X-Original-From:Received:Message-Id: X-Mailer:X-Lms-Return-Path:References:Subject:Mime-Version; bh=PJxndX0XDADBhoVnQbXUa2d6kB9IkQ9K2h0BNMt2SW4=; b=GUyQJU08aluGp3F9YSi7Wt08lI25xe1c6o7Cqdeh4Cva2cxrFcMvAVlaTuh/2F/MrxyI Z/C6ewxPBU8ZqmBaFNAkq7TXgNWOp25kLYSWuSv6EfIsjEpZD/jpLGXMtvEesZUKtgQw5 ly1Ol6CT8+/r/zuos4CX70BIq+7IfARIjEcotg7uwVVH06Y38jSyP2hY3adB9hA+cHiAh Uae/1gAoS6L+MWlnUcvjbhF6s+o/GYhukN56q9nIXzDe/4W3+bangMNpqznzuWvdbRk1P 2KSwrGo7UfMVLFd+2V87c+fvhqS7pGMeRHew2pJBCdJy5SPAodfPZ3phgC5oeNKUxiw== 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=OQ6LWoCs; arc=none smtp.remote-ip=209.127.231.26 Received: from va-2-26.ptr.blmpb.com (va-2-26.ptr.blmpb.com [209.127.231.26]) (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 3C639606A32A for ; Tue, 17 Nov 2026 05:45:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3C639606A32A 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=OQ6LWoCs DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=deepcomputing-io.20200927.dkim.feishu.cn; t=1794894320; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=PJxndX0XDADBhoVnQbXUa2d6kB9IkQ9K2h0BNMt2SW4=; b=OQ6LWoCstVLbhx2BZevFkO9DBMfZIJbhoBZ0b+58AX6cAudCT4ifvpR3PNLzg9Wjdivj0w +1O0F48S9aFp/7q3uH6TvJHkm4N/3sBb8tMwWXXj+n1o5c8SzwNL2OvgS+IdqWXa9fZYSI QUi8Xpz8t2JfQmy0vdGxcT70NbXhJdqasphPR91yZ/oeZESS9AHt9Xam3cuEkw9U/47JK8 VtibuqEtgWjkbU7Oht4h24xksGWmjmnBDez0n8rI9zRVhtd/CianqkIeatrWCSYFZt6u3O DCQ4RnyU15zkoOlNYZ0ao8ov9W1tfCmt0RMf2t55Be3v/KEznpUL659lI6qOtg== Content-Transfer-Encoding: 7bit In-Reply-To: <20261117054324.1048767-1-sandie.cao@deepcomputing.io> Content-Type: text/plain; charset=UTF-8 To: "Yixun Lan" , "Troy Mitchell" , "Conor Dooley" , "Rob Herring" , "Krzysztof Kozlowski" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" Date: Tue, 17 Nov 2026 13:45:02 +0800 Cc: "Alexandre Ghiti" , , , , , "Sandie Cao" From: "Sandie Cao" X-Original-From: Sandie Cao Received: from roma-Laptop-12th-Gen-Intel-Core.. ([183.23.101.74]) by smtp.feishu.cn with ESMTPS; Tue, 17 Nov 2026 13:45:18 +0800 Message-Id: <20261117054502.1048786-1-sandie.cao@deepcomputing.io> X-Mailer: git-send-email 2.43.0 X-Lms-Return-Path: References: <20261117054324.1048767-1-sandie.cao@deepcomputing.io> Subject: [PATCH v5 1/3] riscv: dts: spacemit: k3-deepcomputing-fml13v05: add P1 PMIC regulator tree X-Mailing-List: spacemit@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Add the P1 PMIC's regulator topology tree for DeepComputing FML13V05 board Signed-off-by: Sandie Cao --- .../spacemit/k3-deepcomputing-fml13v05.dts | 148 ++++++++++++++++++ 1 file changed, 148 insertions(+) diff --git a/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts b/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts index b5d5112de358..e061233c15a3 100644 --- a/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts +++ b/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts @@ -22,6 +22,154 @@ memory@100000000 { device_type = "memory"; reg = <0x1 0x00000000 0x4 0x00000000>; }; + + reg_aux_vcc5v: regulator-aux-vcc5v { + compatible = "regulator-fixed"; + regulator-name = "AUX_VCC5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; +}; + +&i2c8 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c8_cfg>; + status = "okay"; + + pmic@41 { + compatible = "spacemit,p1"; + reg = <0x41>; + interrupts = <64 IRQ_TYPE_LEVEL_HIGH>; + vin1-supply = <®_aux_vcc5v>; + vin2-supply = <®_aux_vcc5v>; + vin3-supply = <®_aux_vcc5v>; + vin4-supply = <®_aux_vcc5v>; + vin5-supply = <®_aux_vcc5v>; + vin6-supply = <®_aux_vcc5v>; + aldoin-supply = <®_aux_vcc5v>; + dldoin1-supply = <&buck4>; + dldoin2-supply = <&buck4>; + + regulators { + buck1: buck1 { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1050000>; + regulator-ramp-delay = <5000>; + regulator-always-on; + }; + + buck2: buck2 { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1050000>; + regulator-ramp-delay = <5000>; + regulator-always-on; + }; + + buck3: buck3 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-ramp-delay = <5000>; + regulator-always-on; + }; + + buck4: buck4 { + regulator-min-microvolt = <2100000>; + regulator-max-microvolt = <2100000>; + regulator-ramp-delay = <5000>; + regulator-always-on; + }; + + buck5: buck5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-ramp-delay = <5000>; + regulator-always-on; + }; + + buck6: buck6 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <500000>; + regulator-ramp-delay = <5000>; + regulator-always-on; + }; + + aldo1: aldo1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + aldo2: aldo2 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + aldo3: aldo3 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <3400000>; + }; + + aldo4: aldo4 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + dldo1: dldo1 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-always-on; + regulator-boot-on; + }; + + dldo2: dldo2 { + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-always-on; + regulator-boot-on; + }; + + dldo3: dldo3 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-always-on; + regulator-boot-on; + }; + + dldo4: dldo4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + dldo5: dldo5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + dldo6: dldo6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + dldo7: dldo7 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + }; + }; }; &uart0 { -- 2.43.0