]> 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>
Tue, 1 Oct 2024 16:18:22 +0000 (18:18 +0200)
arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts

index dc587fe7ac35e806700de1dbe4f7b95d89bf722e..d21d78524da7c4d1211fb30829e00ec36a7555d8 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>;
 };