diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2014-02-07 16:18:30 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-09 14:32:30 +0100 |
commit | 352d318cc9136d5be9c41e9fb235afc0822a375e (patch) | |
tree | 233e60d25f57a7621e57a52ca9cbb9eb98bb853b /arch/arm/boot/dts/imx28-sps1.dts | |
parent | ARM: dts: imx53-mba53: create a container for fixed regulators (diff) | |
download | linux-352d318cc9136d5be9c41e9fb235afc0822a375e.tar.xz linux-352d318cc9136d5be9c41e9fb235afc0822a375e.zip |
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-sps1.dts')
-rw-r--r-- | arch/arm/boot/dts/imx28-sps1.dts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx28-sps1.dts b/arch/arm/boot/dts/imx28-sps1.dts index 4870f07bf56a..2612a01e8da9 100644 --- a/arch/arm/boot/dts/imx28-sps1.dts +++ b/arch/arm/boot/dts/imx28-sps1.dts @@ -127,9 +127,12 @@ regulators { compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; - reg_usb0_vbus: usb0_vbus { + reg_usb0_vbus: regulator@0 { compatible = "regulator-fixed"; + reg = <0>; regulator-name = "usb0_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; |