ARM: dts: exynos: Define fixed regulators in root node for consistency in Arndale
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 3 Jul 2020 18:44:50 +0000 (20:44 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 7 Jul 2020 06:50:37 +0000 (08:50 +0200)
Remove the regulators node and define fixed regulators directly under
the root node.  This makes Exynos5250 Arndale board consistent with
other Exynos boards.

Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5250-arndale.dts

index c4cc7611898cee93d8984d0a4eaffb382cc18c08..59872d83da6e159a8fe48ed190ce3f85d6833b11 100644 (file)
                };
        };
 
-       regulators {
-               compatible = "simple-bus";
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               main_dc_reg: regulator@0 {
-                       compatible = "regulator-fixed";
-                       reg = <0>;
-                       regulator-name = "MAIN_DC";
-                       regulator-always-on;
-               };
+       main_dc_reg: regulator-0 {
+               compatible = "regulator-fixed";
+               regulator-name = "MAIN_DC";
+               regulator-always-on;
+       };
 
-               mmc_reg: regulator@1 {
-                       compatible = "regulator-fixed";
-                       reg = <1>;
-                       regulator-name = "VDD_MMC";
-                       regulator-min-microvolt = <2800000>;
-                       regulator-max-microvolt = <2800000>;
-                       regulator-always-on;
-               };
+       mmc_reg: regulator-1 {
+               compatible = "regulator-fixed";
+               regulator-name = "VDD_MMC";
+               regulator-min-microvolt = <2800000>;
+               regulator-max-microvolt = <2800000>;
+               regulator-always-on;
+       };
 
-               reg_hdmi_en: regulator@2 {
-                       compatible = "regulator-fixed";
-                       reg = <2>;
-                       regulator-name = "hdmi-en";
-                       regulator-always-on;
-               };
+       reg_hdmi_en: regulator-2 {
+               compatible = "regulator-fixed";
+               regulator-name = "hdmi-en";
+               regulator-always-on;
+       };
 
-               vcc_1v2_reg: regulator@3 {
-                       compatible = "regulator-fixed";
-                       reg = <3>;
-                       regulator-name = "VCC_1V2";
-                       regulator-min-microvolt = <1200000>;
-                       regulator-max-microvolt = <1200000>;
-                       regulator-always-on;
-               };
+       vcc_1v2_reg: regulator-3 {
+               compatible = "regulator-fixed";
+               regulator-name = "VCC_1V2";
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <1200000>;
+               regulator-always-on;
+       };
 
-               vcc_1v8_reg: regulator@4 {
-                       compatible = "regulator-fixed";
-                       reg = <4>;
-                       regulator-name = "VCC_1V8";
-                       regulator-min-microvolt = <1800000>;
-                       regulator-max-microvolt = <1800000>;
-                       regulator-always-on;
-               };
+       vcc_1v8_reg: regulator-4 {
+               compatible = "regulator-fixed";
+               regulator-name = "VCC_1V8";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-always-on;
+       };
 
-               vcc_3v3_reg: regulator@5 {
-                       compatible = "regulator-fixed";
-                       reg = <5>;
-                       regulator-name = "VCC_3V3";
-                       regulator-min-microvolt = <3300000>;
-                       regulator-max-microvolt = <3300000>;
-                       regulator-always-on;
-               };
+       vcc_3v3_reg: regulator-5 {
+               compatible = "regulator-fixed";
+               regulator-name = "VCC_3V3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-always-on;
        };
 
        sound {