From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.127.231.39 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794894326; b=D3lL99PJFi6SjfmGuQoW6gSPryLtm400Tbg+QWEonWjzw1WkbJ4Z9TuugSFO0WLABUfY A6Sv8qh3JRUuabbQ8XNDwcjwwWyfKKceOgcZXi9btse9oRrrDFcECNeQv1ejwy+vQmoH5 yzacoz6pYN5x5eP+4yFU6fncJNE2WzQL7Yvije/7IxHSbIal+RtoKcp+2XvA48UeWXAF6 lO79eo/q8UOJh+FycFEc0NHH0b7K0SQ9KwwZZARxt+9yel2PGyWF6nm30/N7WeHGDJavq kr8hnFz2QnLMy9e3zgnU9jPFATapODdOFm5iq4OAyGo1hzsF0xJz3eEw/kcf9JOYn7Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794894326; h=DMARC-Filter:DKIM-Signature:Cc:From:X-Original-From: Content-Transfer-Encoding:X-Lms-Return-Path:In-Reply-To:Message-Id: Mime-Version:References:Content-Type:To:Subject:Date:X-Mailer: Received; bh=PJxndX0XDADBhoVnQbXUa2d6kB9IkQ9K2h0BNMt2SW4=; b=5D52ZVmnriySJJvJS1lXOWRV3/nWoZoU+YW5aEdBYQboR0ptbcMiccDXE3s+AMMCdu55 /29XPynaemv3VG+XckZ2xKjk8KlZVWyvbd4Nj56RgrgXNvt6fR5JkM0BZncVw3NoL5jUe J7ZyselFKMYZ2iXuTDJdKDMDMj+P/Z7xLWWpsxJepP2uiEiZ/xxZUmpkQIxCcAeBKjV/F AgMHQUAc3KFEN6u9E4zqUXbGYT4G015RRTy5PTn9QTvsPGYEHy4dJVyAYXxwyLiZd3a6E TAwgV6MWA3gETCXls86yazPYSfeIU9/nPdS3Iv6gjEHeAttpXYMWAK6VAwFkxVmS6xg== 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.39 Received: from va-2-39.ptr.blmpb.com (va-2-39.ptr.blmpb.com [209.127.231.39]) (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 69DBF606A329 for ; Tue, 17 Nov 2026 05:45:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 69DBF606A329 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== Cc: "Alexandre Ghiti" , , , , , "Sandie Cao" From: "Sandie Cao" X-Original-From: Sandie Cao Content-Transfer-Encoding: 7bit X-Lms-Return-Path: In-Reply-To: <20261117054324.1048767-1-sandie.cao@deepcomputing.io> Message-Id: <20261117054502.1048786-1-sandie.cao@deepcomputing.io> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <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" Subject: [PATCH v5 1/3] riscv: dts: spacemit: k3-deepcomputing-fml13v05: add P1 PMIC regulator tree Date: Tue, 17 Nov 2026 13:45:02 +0800 X-Mailer: git-send-email 2.43.0 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 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