提交 985782d1 编写于 作者: P Philippe Reynes 提交者: Shawn Guo

apf27dev: add max5821 to the dts

Signed-off-by: NPhilippe Reynes <tremyfr@gmail.com>
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
上级 97bf6af1
...@@ -59,6 +59,21 @@ ...@@ -59,6 +59,21 @@
linux,default-trigger = "heartbeat"; 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 { &cspi1 {
...@@ -107,6 +122,12 @@ ...@@ -107,6 +122,12 @@
compatible = "dallas,ds1374"; compatible = "dallas,ds1374";
reg = <0x68>; reg = <0x68>;
}; };
max5821@38 {
compatible = "maxim,max5821";
reg = <0x38>;
vref-supply = <&reg_max5821>;
};
}; };
&i2c2 { &i2c2 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册