ARM: dts: exynos: Remove regulators node container in Origen and N710x
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 24 Apr 2018 17:46:00 +0000 (19:46 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 29 Apr 2018 17:28:04 +0000 (19:28 +0200)
Consistently put fixed regulators directly below root node, instead of
artificial "regulators" node in Exynos4210 Origen and Exynos4412 N710x.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos4210-origen.dts
arch/arm/boot/dts/exynos4412-n710x.dts

index a817147458208559776f81ac496e2cbcee9731e4..2ab99f9f3d0ac2769bf1c504f3926707f59cc012 100644 (file)
                stdout-path = &serial_2;
        };
 
-       regulators {
-               compatible = "simple-bus";
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               mmc_reg: regulator@0 {
-                       compatible = "regulator-fixed";
-                       reg = <0>;
-                       regulator-name = "VMEM_VDD_2.8V";
-                       regulator-min-microvolt = <2800000>;
-                       regulator-max-microvolt = <2800000>;
-                       gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
-                       enable-active-high;
-               };
+       mmc_reg: voltage-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "VMEM_VDD_2.8V";
+               regulator-min-microvolt = <2800000>;
+               regulator-max-microvolt = <2800000>;
+               gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
        };
 
        gpio_keys {
index eb402a0d66518a130aa04e3e65bfe70c9d520b77..36818b1697a42edb75e5314e8a74254ad8d2f23c 100644 (file)
 
        /* bootargs are passed in by bootloader */
 
-       regulators {
-               cam_vdda_reg: voltage-regulator-9 {
-                       compatible = "regulator-fixed";
-                       regulator-name = "CAM_SENSOR_CORE_1.2V";
-                       regulator-min-microvolt = <1200000>;
-                       regulator-max-microvolt = <1200000>;
-                       gpio = <&gpm4 1 GPIO_ACTIVE_HIGH>;
-                       enable-active-high;
-               };
+       cam_vdda_reg: voltage-regulator-9 {
+               compatible = "regulator-fixed";
+               regulator-name = "CAM_SENSOR_CORE_1.2V";
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <1200000>;
+               gpio = <&gpm4 1 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
        };
 };