diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-07-20 16:39:18 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-08-27 03:05:46 -0400 |
commit | cde305e9ce28d96d7f63e4fb5298291e90a91f8f (patch) | |
tree | fa0ad99283a34cca2a3042d075d3fc806879dd27 | |
parent | c1539840fc25d89f3fe51038144dc0233b333453 (diff) |
ARM: dts: imx23-evk: Move regulators outside simple-bus
It is recommended to place regulators outside simple-bus, so move them
accordingly.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/imx23-evk.dts | 42 |
1 files changed, 17 insertions, 25 deletions
diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts index 9fb47724b9c1..494095d40327 100644 --- a/arch/arm/boot/dts/imx23-evk.dts +++ b/arch/arm/boot/dts/imx23-evk.dts | |||
@@ -13,6 +13,23 @@ | |||
13 | reg = <0x40000000 0x08000000>; | 13 | reg = <0x40000000 0x08000000>; |
14 | }; | 14 | }; |
15 | 15 | ||
16 | reg_vddio_sd0: regulator-vddio-sd0 { | ||
17 | compatible = "regulator-fixed"; | ||
18 | regulator-name = "vddio-sd0"; | ||
19 | regulator-min-microvolt = <3300000>; | ||
20 | regulator-max-microvolt = <3300000>; | ||
21 | gpio = <&gpio1 29 0>; | ||
22 | }; | ||
23 | |||
24 | reg_lcd_3v3: regulator-lcd-3v3 { | ||
25 | compatible = "regulator-fixed"; | ||
26 | regulator-name = "lcd-3v3"; | ||
27 | regulator-min-microvolt = <3300000>; | ||
28 | regulator-max-microvolt = <3300000>; | ||
29 | gpio = <&gpio1 18 0>; | ||
30 | enable-active-high; | ||
31 | }; | ||
32 | |||
16 | apb@80000000 { | 33 | apb@80000000 { |
17 | apbh@80000000 { | 34 | apbh@80000000 { |
18 | gpmi-nand@8000c000 { | 35 | gpmi-nand@8000c000 { |
@@ -118,31 +135,6 @@ | |||
118 | }; | 135 | }; |
119 | }; | 136 | }; |
120 | 137 | ||
121 | regulators { | ||
122 | compatible = "simple-bus"; | ||
123 | #address-cells = <1>; | ||
124 | #size-cells = <0>; | ||
125 | |||
126 | reg_vddio_sd0: regulator@0 { | ||
127 | compatible = "regulator-fixed"; | ||
128 | reg = <0>; | ||
129 | regulator-name = "vddio-sd0"; | ||
130 | regulator-min-microvolt = <3300000>; | ||
131 | regulator-max-microvolt = <3300000>; | ||
132 | gpio = <&gpio1 29 0>; | ||
133 | }; | ||
134 | |||
135 | reg_lcd_3v3: regulator@1 { | ||
136 | compatible = "regulator-fixed"; | ||
137 | reg = <1>; | ||
138 | regulator-name = "lcd-3v3"; | ||
139 | regulator-min-microvolt = <3300000>; | ||
140 | regulator-max-microvolt = <3300000>; | ||
141 | gpio = <&gpio1 18 0>; | ||
142 | enable-active-high; | ||
143 | }; | ||
144 | }; | ||
145 | |||
146 | backlight { | 138 | backlight { |
147 | compatible = "pwm-backlight"; | 139 | compatible = "pwm-backlight"; |
148 | pwms = <&pwm 2 5000000>; | 140 | pwms = <&pwm 2 5000000>; |