diff options
author | Jagan Teki <jagan@edgeble.ai> | 2023-07-31 13:35:18 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2023-08-10 23:41:55 +0300 |
commit | c991ed9f57c8025b248e284545c5310e67dc44cf (patch) | |
tree | 5eb6878f32fc10aa1408d816be50754854c5f649 /arch/arm/boot | |
parent | 5d1d164da4df3c744cf32cb1dae9fcd5837a0240 (diff) | |
download | linux-c991ed9f57c8025b248e284545c5310e67dc44cf.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts | 19 | ||||
-rw-r--r-- | arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi | 9 |
2 files changed, 19 insertions, 9 deletions
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 6dfcd7ff96ea..3d587602e13a 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 6bbaf6da6545..7ea8d7d16f5f 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; |