summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6q-sabrelite.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2014-02-07 16:22:50 +0100
committerShawn Guo <shawn.guo@linaro.org>2014-02-09 14:28:59 +0100
commit56160e3361c636bfabf28d61500e28f7779768a7 (patch)
tree41996b3d466e54a9dd44e2856b723f48c5ae4198 /arch/arm/boot/dts/imx6q-sabrelite.dts
parentARM: dts: imx6sl: make pinctrl nodes board specific (diff)
downloadlinux-56160e3361c636bfabf28d61500e28f7779768a7.tar.xz
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/imx6q-sabrelite.dts')
-rw-r--r--arch/arm/boot/dts/imx6q-sabrelite.dts11
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
index 26e1608d24a2..fc1c11cea7d3 100644
--- a/arch/arm/boot/dts/imx6q-sabrelite.dts
+++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
@@ -23,25 +23,30 @@
regulators {
compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <0>;
- reg_2p5v: 2p5v {
+ reg_2p5v: regulator@0 {
compatible = "regulator-fixed";
+ reg = <0>;
regulator-name = "2P5V";
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <2500000>;
regulator-always-on;
};
- reg_3p3v: 3p3v {
+ reg_3p3v: regulator@1 {
compatible = "regulator-fixed";
+ reg = <1>;
regulator-name = "3P3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
- reg_usb_otg_vbus: usb_otg_vbus {
+ reg_usb_otg_vbus: regulator@2 {
compatible = "regulator-fixed";
+ reg = <2>;
regulator-name = "usb_otg_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;