]> git.dujemihanovic.xyz Git - linux.git/commitdiff
DONOTMERGE: arm64: dts: samsung,coreprimevelte: add PMIC
authorKarel Balej <balejk@matfyz.cz>
Mon, 25 Dec 2023 21:23:27 +0000 (22:23 +0100)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Sat, 29 Jun 2024 10:52:30 +0000 (12:52 +0200)
arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts

index c5a0fb658a092dde6da71bdb491a1735123d4860..d35918e7ccae6b33bba325d7e960ce8de21d17c9 100644 (file)
 
 &twsi2 {
        status = "okay";
+
+       pmic@30 {
+               compatible = "marvell,88pm886-a1";
+               reg = <0x30>;
+               interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-parent = <&gic>;
+               wakeup-source;
+
+               regulators {
+                       ldo2: ldo2 {
+                               regulator-min-microvolt = <1900000>;
+                               regulator-max-microvolt = <3100000>;
+                       };
+
+                       ldo6: ldo6 {
+                               regulator-boot-on;
+                               regulator-min-microvolt = <1200000>;
+                               regulator-max-microvolt = <3300000>;
+                       };
+
+                       ldo14: ldo14 {
+                               regulator-boot-on;
+                               regulator-min-microvolt = <1200000>;
+                               regulator-max-microvolt = <3300000>;
+                       };
+
+                       /* for sdh1 */
+                       ldo15: ldo15 {
+                               regulator-always-on;
+                       };
+               };
+       };
 };
 
 &twsi3 {
        cd-inverted;
        bus-width = <4>;
        wp-inverted;
+       vqmmc-supply = <&ldo6>;
+       vmmc-supply = <&ldo14>;
 };