]> git.sur5r.net Git - u-boot/commitdiff
ARM: dts: rockchip: Add regulators for rk3288-vyasa
authorJagan Teki <jagannadh.teki@gmail.com>
Wed, 14 Feb 2018 15:56:17 +0000 (21:26 +0530)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 13 Mar 2018 17:12:35 +0000 (18:12 +0100)
Add supporting regulators for rk3288-vyasa board, dc12_vbat is
parent regulatorand followed regulators as are child regulators.
regulator naming conversion followed as per schematic for better
readability and easy for identification.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/rk3288-vyasa.dts

index aff3cd4b18bdcb0402161208e4a9d066a277875e..f56e10cbada72a9bb65b494469605eca10188646 100644 (file)
                device_type = "memory";
        };
 
+       dc12_vbat: dc12-vbat {
+               compatible = "regulator-fixed";
+               regulator-name = "dc12_vbat";
+               regulator-min-microvolt = <12000000>;
+               regulator-max-microvolt = <12000000>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+
+       vboot_3v3: vboot-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "vboot_3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-always-on;
+               regulator-boot-on;
+               vin-supply = <&dc12_vbat>;
+       };
+
        vcc_sys: vsys-regulator {
                compatible = "regulator-fixed";
                regulator-name = "vcc_sys";
+               regulator-min-microvolt = <3700000>;
+               regulator-max-microvolt = <3700000>;
+               regulator-always-on;
+               regulator-boot-on;
+               vin-supply = <&dc12_vbat>;
+       };
+
+       vboot_5v: vboot-5v {
+               compatible = "regulator-fixed";
+               regulator-name = "vboot_sv";
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
                regulator-always-on;
                regulator-boot-on;
+               vin-supply = <&dc12_vbat>;
+       };
+
+       v3g_3v3: v3g-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "v3g_3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-always-on;
+               regulator-boot-on;
+               vin-supply = <&dc12_vbat>;
        };
 };