ARM: dts: exynos: Define fixed regulators in root node for consistency in SMDK5420
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 3 Jul 2020 18:44:51 +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 SMDK5420 board consistent with other Exynos
boards.

Name the fixed regulator nodes consistently.

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

index e3f2afe8359af9d9864d023dc157b77c4aa1ca16..83fa800fa1eb9b43f0788080a80d2ae2fcfd73a0 100644 (file)
                };
        };
 
-       regulators {
-               compatible = "simple-bus";
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               vdd: fixed-regulator@0 {
-                       compatible = "regulator-fixed";
-                       reg = <0>;
-                       regulator-name = "vdd-supply";
-                       regulator-min-microvolt = <1800000>;
-                       regulator-max-microvolt = <1800000>;
-                       regulator-always-on;
-               };
+       vdd: regulator-0 {
+               compatible = "regulator-fixed";
+               regulator-name = "vdd-supply";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-always-on;
+       };
 
-               dbvdd: fixed-regulator@1 {
-                       compatible = "regulator-fixed";
-                       reg = <1>;
-                       regulator-name = "dbvdd-supply";
-                       regulator-min-microvolt = <3300000>;
-                       regulator-max-microvolt = <3300000>;
-                       regulator-always-on;
-               };
+       dbvdd: regulator-1 {
+               compatible = "regulator-fixed";
+               regulator-name = "dbvdd-supply";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-always-on;
+       };
 
-               spkvdd: fixed-regulator@2 {
-                       compatible = "regulator-fixed";
-                       reg = <2>;
-                       regulator-name = "spkvdd-supply";
-                       regulator-min-microvolt = <5000000>;
-                       regulator-max-microvolt = <5000000>;
-                       regulator-always-on;
-               };
+       spkvdd: regulator-2 {
+               compatible = "regulator-fixed";
+               regulator-name = "spkvdd-supply";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               regulator-always-on;
        };
 
-       usb300_vbus_reg: regulator-usb300 {
+       usb300_vbus_reg: regulator-3 {
                compatible = "regulator-fixed";
                regulator-name = "VBUS0";
                regulator-min-microvolt = <5000000>;
@@ -76,7 +67,7 @@
                enable-active-high;
        };
 
-       usb301_vbus_reg: regulator-usb301 {
+       usb301_vbus_reg: regulator-4 {
                compatible = "regulator-fixed";
                regulator-name = "VBUS1";
                regulator-min-microvolt = <5000000>;