apf27dev: add max5821 to the dts

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
Philippe Reynes 2014-11-27 21:33:59 +01:00 committed by Shawn Guo
parent 97bf6af1f9
commit 985782d124
1 changed files with 21 additions and 0 deletions

View File

@ -59,6 +59,21 @@
linux,default-trigger = "heartbeat";
};
};
regulators {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <0>;
reg_max5821: regulator@0 {
compatible = "regulator-fixed";
reg = <0>;
regulator-name = "max5821-reg";
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <2500000>;
regulator-always-on;
};
};
};
&cspi1 {
@ -107,6 +122,12 @@
compatible = "dallas,ds1374";
reg = <0x68>;
};
max5821@38 {
compatible = "maxim,max5821";
reg = <0x38>;
vref-supply = <&reg_max5821>;
};
};
&i2c2 {