提交 433bdb6e 编写于 作者: M Maxime Ripard 提交者: Shawn Guo

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: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
上级 64b07f0a
...@@ -229,15 +229,39 @@ ...@@ -229,15 +229,39 @@
i2c-parent = <&i2c1>; i2c-parent = <&i2c1>;
i2c@0 { i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
adc0: nau7802@2a {
compatible = "nuvoton,nau7802";
reg = <0x2a>;
nuvoton,vldo = <3000>;
};
}; };
i2c@1 { i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>; reg = <1>;
adc1: nau7802@2a {
compatible = "nuvoton,nau7802";
reg = <0x2a>;
nuvoton,vldo = <3000>;
};
}; };
i2c@2 { i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>; reg = <2>;
adc2: nau7802@2a {
compatible = "nuvoton,nau7802";
reg = <0x2a>;
nuvoton,vldo = <3000>;
};
}; };
i2c@3 { i2c@3 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册