diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-11-18 09:37:52 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-09 08:32:47 -0500 |
commit | 433bdb6e05fb42827811b93fe28aa38370f2739e (patch) | |
tree | dbd3fdff6b7084d2e5cba5555f5eaa9a3478ae1c /arch/arm | |
parent | 64b07f0a66bf2ce736b065c5a85cd67fa811d3cb (diff) |
ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree
The Crystalfontz CFA-10049 has 3 Nuvoton NAU7802 ADCs, plugged behing a
GPIO-controlled I2C muxer because these ADCs don't have a configurable
address.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/imx28-cfa10049.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts index 28ef91ac17ac..093fd7b69a48 100644 --- a/arch/arm/boot/dts/imx28-cfa10049.dts +++ b/arch/arm/boot/dts/imx28-cfa10049.dts | |||
@@ -229,15 +229,39 @@ | |||
229 | i2c-parent = <&i2c1>; | 229 | i2c-parent = <&i2c1>; |
230 | 230 | ||
231 | i2c@0 { | 231 | i2c@0 { |
232 | #address-cells = <1>; | ||
233 | #size-cells = <0>; | ||
232 | reg = <0>; | 234 | reg = <0>; |
235 | |||
236 | adc0: nau7802@2a { | ||
237 | compatible = "nuvoton,nau7802"; | ||
238 | reg = <0x2a>; | ||
239 | nuvoton,vldo = <3000>; | ||
240 | }; | ||
233 | }; | 241 | }; |
234 | 242 | ||
235 | i2c@1 { | 243 | i2c@1 { |
244 | #address-cells = <1>; | ||
245 | #size-cells = <0>; | ||
236 | reg = <1>; | 246 | reg = <1>; |
247 | |||
248 | adc1: nau7802@2a { | ||
249 | compatible = "nuvoton,nau7802"; | ||
250 | reg = <0x2a>; | ||
251 | nuvoton,vldo = <3000>; | ||
252 | }; | ||
237 | }; | 253 | }; |
238 | 254 | ||
239 | i2c@2 { | 255 | i2c@2 { |
256 | #address-cells = <1>; | ||
257 | #size-cells = <0>; | ||
240 | reg = <2>; | 258 | reg = <2>; |
259 | |||
260 | adc2: nau7802@2a { | ||
261 | compatible = "nuvoton,nau7802"; | ||
262 | reg = <0x2a>; | ||
263 | nuvoton,vldo = <3000>; | ||
264 | }; | ||
241 | }; | 265 | }; |
242 | 266 | ||
243 | i2c@3 { | 267 | i2c@3 { |