Skip to content

Commit ae9d03f

Browse files
martinezjavierdlan17
authored andcommitted
riscv: dts: spacemit: Define fixed regulators for Milk-V Jupiter
Define the DC power input and the 4v power as fixed regulator supplies. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Yixun Lan <dlan@gentoo.org> Link: https://lore.kernel.org/r/20251206134532.1741648-3-javierm@redhat.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
1 parent f33ccc2 commit ae9d03f

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,25 @@
2020
chosen {
2121
stdout-path = "serial0";
2222
};
23+
24+
reg_dc_in: dc-in-12v {
25+
compatible = "regulator-fixed";
26+
regulator-name = "dc_in_12v";
27+
regulator-min-microvolt = <12000000>;
28+
regulator-max-microvolt = <12000000>;
29+
regulator-boot-on;
30+
regulator-always-on;
31+
};
32+
33+
reg_vcc_4v: vcc-4v {
34+
compatible = "regulator-fixed";
35+
regulator-name = "vcc_4v";
36+
regulator-min-microvolt = <4000000>;
37+
regulator-max-microvolt = <4000000>;
38+
regulator-boot-on;
39+
regulator-always-on;
40+
vin-supply = <&reg_dc_in>;
41+
};
2342
};
2443

2544
&eth0 {

0 commit comments

Comments
 (0)