]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dts: mt8173-evb: Add da9211 to i2c1
authorHenry Chen <henryc.chen@mediatek.com>
Fri, 3 Jul 2015 02:28:26 +0000 (10:28 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 6 Jul 2015 16:01:46 +0000 (18:01 +0200)
Add a DA9211 dual-channel BUCK regulator to i2c1.
This regulator supplies GPU and DVFS1 voltages.

Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173-evb.dts

index d0ab012fa379eb97c6e43ebad83ee18185d2b598..7f583bdea22957b5f92e74c7d4b0f131bba8c184 100644 (file)
        chosen { };
 };
 
+&i2c1 {
+       status = "okay";
+
+       buck: da9211@68 {
+               compatible = "dlg,da9211";
+               reg = <0x68>;
+
+               regulators {
+                       da9211_vcpu_reg: BUCKA {
+                               regulator-name = "VBUCKA";
+                               regulator-min-microvolt = < 700000>;
+                               regulator-max-microvolt = <1310000>;
+                               regulator-min-microamp  = <2000000>;
+                               regulator-max-microamp  = <4400000>;
+                               regulator-ramp-delay = <10000>;
+                               regulator-always-on;
+                       };
+
+                       da9211_vgpu_reg: BUCKB {
+                               regulator-name = "VBUCKB";
+                               regulator-min-microvolt = < 700000>;
+                               regulator-max-microvolt = <1310000>;
+                               regulator-min-microamp  = <2000000>;
+                               regulator-max-microamp  = <3000000>;
+                               regulator-ramp-delay = <10000>;
+                       };
+               };
+       };
+};
+
 &uart0 {
        status = "okay";
 };