summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6sl-evk.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2014-02-07 23:22:50 +0800
committerShawn Guo <shawn.guo@linaro.org>2014-02-09 21:28:59 +0800
commit56160e3361c636bfabf28d61500e28f7779768a7 (patch)
tree41996b3d466e54a9dd44e2856b723f48c5ae4198 /arch/arm/boot/dts/imx6sl-evk.dts
parentfffaa65dc463025be54a094b0e8e4a50e6c477c1 (diff)
downloadtalos-obmc-linux-56160e3361c636bfabf28d61500e28f7779768a7.tar.gz
talos-obmc-linux-56160e3361c636bfabf28d61500e28f7779768a7.zip
ARM: dts: imx6: 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/imx6sl-evk.dts')
-rw-r--r--arch/arm/boot/dts/imx6sl-evk.dts8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts
index 9b11d1e20bb8..8594d1332766 100644
--- a/arch/arm/boot/dts/imx6sl-evk.dts
+++ b/arch/arm/boot/dts/imx6sl-evk.dts
@@ -20,9 +20,12 @@
regulators {
compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <0>;
- reg_usb_otg1_vbus: usb_otg1_vbus {
+ reg_usb_otg1_vbus: regulator@0 {
compatible = "regulator-fixed";
+ reg = <0>;
regulator-name = "usb_otg1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
@@ -30,8 +33,9 @@
enable-active-high;
};
- reg_usb_otg2_vbus: usb_otg2_vbus {
+ reg_usb_otg2_vbus: regulator@1 {
compatible = "regulator-fixed";
+ reg = <1>;
regulator-name = "usb_otg2_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
OpenPOWER on IntegriCloud