summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx28-cfa10058.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2014-02-07 19:18:30 +0400
committerShawn Guo <shawn.guo@linaro.org>2014-02-09 17:32:30 +0400
commit352d318cc9136d5be9c41e9fb235afc0822a375e (patch)
tree233e60d25f57a7621e57a52ca9cbb9eb98bb853b /arch/arm/boot/dts/imx28-cfa10058.dts
parenta4a2aa9b038c3285ca4c3f2a746b1950d66f5fa9 (diff)
downloadlinux-352d318cc9136d5be9c41e9fb235afc0822a375e.tar.xz
ARM: dts: imx: use generic node name for fixed regulator
The device tree specification recommends that generic name should be used for nodes. So instead of naming those fixed regulator nodes arbitrarily, let's use the generic name 'regulator@num' for those nodes. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx28-cfa10058.dts')
-rw-r--r--arch/arm/boot/dts/imx28-cfa10058.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx28-cfa10058.dts b/arch/arm/boot/dts/imx28-cfa10058.dts
index 2469d34df0ae..a4f0acb93437 100644
--- a/arch/arm/boot/dts/imx28-cfa10058.dts
+++ b/arch/arm/boot/dts/imx28-cfa10058.dts
@@ -109,11 +109,14 @@
regulators {
compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <0>;
- reg_usb1_vbus: usb1_vbus {
+ reg_usb1_vbus: regulator@0 {
pinctrl-names = "default";
pinctrl-0 = <&usb_pins_cfa10058>;
compatible = "regulator-fixed";
+ reg = <0>;
regulator-name = "usb1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;