Skip to content

Commit

Permalink
ARM: dts: rockchip: Add 12V main supply for edgeble-neu2
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Stuebner <[email protected]>
  • Loading branch information
openedev authored and mmind committed Aug 10, 2023
1 parent 5d1d164 commit c991ed9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
19 changes: 19 additions & 0 deletions arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,25 @@
stdout-path = "serial2:1500000n8";
};

vcc12v_dcin: vcc12v-dcin-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc12v_dcin";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
};

vcc5v0_sys: vcc5v0-sys-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_sys";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vcc12v_dcin>;
};

v3v3_sys: v3v3-sys-regulator {
compatible = "regulator-fixed";
regulator-name = "v3v3_sys";
Expand Down
9 changes: 0 additions & 9 deletions arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@
mmc0 = &emmc;
};

vcc5v0_sys: vcc5v0-sys-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_sys";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};

vccio_flash: vccio-flash-regulator {
compatible = "regulator-fixed";
enable-active-high;
Expand Down

0 comments on commit c991ed9

Please sign in to comment.