arm: dts: mt7623: add lima related regulator
authorAlex Ryabchenko <d3adme4t@gmail.com>
Fri, 4 Sep 2020 11:00:02 +0000 (13:00 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 9 Sep 2020 13:54:16 +0000 (15:54 +0200)
GPU needs additional regulator, add it to devicetree of bpi-r2

Signed-off-by: Alex Ryabchenko <d3adme4t@gmail.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Link: https://lore.kernel.org/r/20200904110002.88966-5-linux@fw-web.de
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts

index f41f221..8269125 100644 (file)
                regulator-always-on;
        };
 
+       reg_vgpu: fixedregulator@0 {
+               compatible = "regulator-fixed";
+               regulator-name = "vdd_fixed_vgpu";
+               regulator-min-microvolt = <1150000>;
+               regulator-max-microvolt = <1150000>;
+       };
+
        gpio-keys {
                compatible = "gpio-keys";
                pinctrl-names = "default";
        status = "okay";
 };
 
+&mali {
+       mali-supply = <&reg_vgpu>;
+       status = "okay";
+};
+
 &mmc0 {
        pinctrl-names = "default", "state_uhs";
        pinctrl-0 = <&mmc0_pins_default>;
 &u3phy2 {
        status = "okay";
 };
-