Commit 62bb689d authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Shawn Guo

ARM: dts: imx23: drop incorrect reg in fixed regulators

Fixed regulators are not in some bus and bindings do not allow a "reg"
property.  Move them out of "regulators" node to top-level.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent e3f25ce4
...@@ -101,21 +101,14 @@ usb0: usb@80080000 { ...@@ -101,21 +101,14 @@ usb0: usb@80080000 {
}; };
}; };
regulators { reg_usb0_vbus: regulator-0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "usb0_vbus";
#size-cells = <0>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
reg_usb0_vbus: regulator@0 { enable-active-high;
compatible = "regulator-fixed"; startup-delay-us = <300>; /* LAN9215 requires a POR of 200us minimum */
reg = <0>; gpio = <&gpio0 17 0>;
regulator-name = "usb0_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
startup-delay-us = <300>; /* LAN9215 requires a POR of 200us minimum */
gpio = <&gpio0 17 0>;
};
}; };
leds { leds {
......
...@@ -59,18 +59,11 @@ duart: serial@80070000 { ...@@ -59,18 +59,11 @@ duart: serial@80070000 {
}; };
}; };
regulators { reg_vddio_sd0: regulator-0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "vddio-sd0";
#size-cells = <0>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
reg_vddio_sd0: regulator@0 { gpio = <&gpio1 29 0>;
compatible = "regulator-fixed";
reg = <0>;
regulator-name = "vddio-sd0";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio1 29 0>;
};
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment