Skip to content

Commit c991ed9

Browse files
openedevmmind
authored andcommitted
ARM: dts: rockchip: Add 12V main supply for edgeble-neu2
The Main supply volatge for Edgeble Neu2 IO board is 12V DC. Add the 12v supply regulator for it and input to vcc5v0_sys. Since the power regulator is part of IO board circuit, move the regulator in IO dts file. Signed-off-by: Jagan Teki <jagan@edgeble.ai> Link: https://lore.kernel.org/r/20230731103518.2906147-14-jagan@edgeble.ai Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 5d1d164 commit c991ed9

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,25 @@
2121
stdout-path = "serial2:1500000n8";
2222
};
2323

24+
vcc12v_dcin: vcc12v-dcin-regulator {
25+
compatible = "regulator-fixed";
26+
regulator-name = "vcc12v_dcin";
27+
regulator-always-on;
28+
regulator-boot-on;
29+
regulator-min-microvolt = <12000000>;
30+
regulator-max-microvolt = <12000000>;
31+
};
32+
33+
vcc5v0_sys: vcc5v0-sys-regulator {
34+
compatible = "regulator-fixed";
35+
regulator-name = "vcc5v0_sys";
36+
regulator-always-on;
37+
regulator-boot-on;
38+
regulator-min-microvolt = <5000000>;
39+
regulator-max-microvolt = <5000000>;
40+
vin-supply = <&vcc12v_dcin>;
41+
};
42+
2443
v3v3_sys: v3v3-sys-regulator {
2544
compatible = "regulator-fixed";
2645
regulator-name = "v3v3_sys";

arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@
1111
mmc0 = &emmc;
1212
};
1313

14-
vcc5v0_sys: vcc5v0-sys-regulator {
15-
compatible = "regulator-fixed";
16-
regulator-name = "vcc5v0_sys";
17-
regulator-always-on;
18-
regulator-boot-on;
19-
regulator-min-microvolt = <5000000>;
20-
regulator-max-microvolt = <5000000>;
21-
};
22-
2314
vccio_flash: vccio-flash-regulator {
2415
compatible = "regulator-fixed";
2516
enable-active-high;

0 commit comments

Comments
 (0)