summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx23-evk.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2014-02-07 23:18:30 +0800
committerShawn Guo <shawn.guo@linaro.org>2014-02-09 21:32:30 +0800
commit352d318cc9136d5be9c41e9fb235afc0822a375e (patch)
tree233e60d25f57a7621e57a52ca9cbb9eb98bb853b /arch/arm/boot/dts/imx23-evk.dts
parenta4a2aa9b038c3285ca4c3f2a746b1950d66f5fa9 (diff)
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/imx23-evk.dts')
-rw-r--r--arch/arm/boot/dts/imx23-evk.dts8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts
index 1f026adefd45..a33f66c11b73 100644
--- a/arch/arm/boot/dts/imx23-evk.dts
+++ b/arch/arm/boot/dts/imx23-evk.dts
@@ -127,17 +127,21 @@
regulators {
compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <0>;
- reg_vddio_sd0: vddio-sd0 {
+ reg_vddio_sd0: regulator@0 {
compatible = "regulator-fixed";
+ reg = <0>;
regulator-name = "vddio-sd0";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio1 29 0>;
};
- reg_lcd_3v3: lcd-3v3 {
+ reg_lcd_3v3: regulator@1 {
compatible = "regulator-fixed";
+ reg = <1>;
regulator-name = "lcd-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;