summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2019-01-31 13:47:07 +0100
committerHeiko Stuebner <heiko@sntech.de>2019-02-03 09:57:39 +0100
commitb86e2f24414259413b193647e3634f9391747ea6 (patch)
tree09db197a22ed04549aaae3af6160215c2cbd53f3
parentARM: dts: rockchip: clean up the abuse of disable-wp (diff)
downloadlinux-b86e2f24414259413b193647e3634f9391747ea6.tar.xz
linux-b86e2f24414259413b193647e3634f9391747ea6.zip
ARM: dts: rockchip: Fix vcc5/6-supply representation on rv1108-elgin
On rv1108-elgin-r1 board the RK805 VCC5 and VCC6 supplies come from the BUCK2 regulator at 2.2V, so fix the representation in the device tree. While at it, rename it from vdd_cam to vdd_buck2, which is a better name for the regulator label. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm/boot/dts/rv1108-elgin-r1.dts14
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/rv1108-elgin-r1.dts b/arch/arm/boot/dts/rv1108-elgin-r1.dts
index 658057d871af..66688fdf4fd8 100644
--- a/arch/arm/boot/dts/rv1108-elgin-r1.dts
+++ b/arch/arm/boot/dts/rv1108-elgin-r1.dts
@@ -74,8 +74,8 @@
vcc2-supply = <&vcc_sys>;
vcc3-supply = <&vcc_sys>;
vcc4-supply = <&vcc_sys>;
- vcc5-supply = <&vcc_sys>;
- vcc6-supply = <&vcc_sys>;
+ vcc5-supply = <&vdd_buck2>;
+ vcc6-supply = <&vdd_buck2>;
regulators {
vdd_core: DCDC_REG1 {
@@ -90,10 +90,12 @@
};
};
- vdd_cam: DCDC_REG2 {
- regulator-name= "vdd_cam";
- regulator-min-microvolt = <700000>;
- regulator-max-microvolt = <2000000>;
+ vdd_buck2: DCDC_REG2 {
+ regulator-name= "vdd_buck2";
+ regulator-min-microvolt = <2200000>;
+ regulator-max-microvolt = <2200000>;
+ regulator-always-on;
+ regulator-boot-on;
regulator-state-mem {
regulator-state-disabled;
};