From: Jagan Teki Date: Mon, 31 Jul 2023 10:35:18 +0000 (+0530) Subject: ARM: dts: rockchip: Add 12V main supply for edgeble-neu2 X-Git-Tag: v6.6.7~2047^2~8^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c991ed9f57c8025b248e284545c5310e67dc44cf;p=platform%2Fkernel%2Flinux-starfive.git 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 Link: https://lore.kernel.org/r/20230731103518.2906147-14-jagan@edgeble.ai Signed-off-by: Heiko Stuebner --- diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts index 6dfcd7f..3d587602 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts @@ -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"; diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi index 6bbaf6d..7ea8d7d 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi @@ -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;