summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6qdl-wandboard.dtsi
diff options
context:
space:
mode:
authorShawn Guo2014-02-07 16:22:50 +0100
committerShawn Guo2014-02-09 14:28:59 +0100
commit56160e3361c636bfabf28d61500e28f7779768a7 (patch)
tree41996b3d466e54a9dd44e2856b723f48c5ae4198 /arch/arm/boot/dts/imx6qdl-wandboard.dtsi
parentARM: dts: imx6sl: make pinctrl nodes board specific (diff)
downloadkernel-qcow2-linux-56160e3361c636bfabf28d61500e28f7779768a7.tar.gz
kernel-qcow2-linux-56160e3361c636bfabf28d61500e28f7779768a7.tar.xz
kernel-qcow2-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/imx6qdl-wandboard.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl-wandboard.dtsi8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-wandboard.dtsi b/arch/arm/boot/dts/imx6qdl-wandboard.dtsi
index b4a5775426ab..815b16003750 100644
--- a/arch/arm/boot/dts/imx6qdl-wandboard.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-wandboard.dtsi
@@ -12,17 +12,21 @@
/ {
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>;