apf27dev: add max5821 to the dts
Subsystems (2)
PATCH 1/1 apf27dev: add max5821 to the dts
Signed-off-by Philippe Reynes <[email protected]>
--- arch/arm/boot/dts/imx27-apf27dev.dts | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx27-apf27dev.dts +21 -0
@@ -59,6 +59,21 @@ linux,default-trigger = "heartbeat"; }; }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + reg_max5821: regulator at 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 at 38 { + compatible = "maxim,max5821"; + reg = <0x38>; + vref-supply = <®_max5821>; + }; }; &i2c2 {
Signature · 1 line
1.7.4.4
Shawn Guo
AppliedQuoted 2 lines · Philippe Reynes
Signed-off-by Philippe Reynes <[email protected]>
Applied, thanks.
Quoted 46 lines
--- arch/arm/boot/dts/imx27-apf27dev.dts | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-)arch/arm/boot/dts/imx27-apf27dev.dts +21
-0@@ -59,6 +59,21 @@ linux,default-trigger = "heartbeat"; }; }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + reg_max5821: regulator at 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 at 38 { + compatible = "maxim,max5821"; + reg = <0x38>; + vref-supply = <®_max5821>; + }; }; &i2c2 {Signature · 1 line
1.7.4.4