13b7d143bSHui Liu// SPDX-License-Identifier: (GPL-2.0 OR MIT) 23b7d143bSHui Liu/* 33b7d143bSHui Liu * Copyright (C) 2022 MediaTek Inc. 43b7d143bSHui Liu */ 53b7d143bSHui Liu 63b7d143bSHui Liu&pwrap { 73b7d143bSHui Liu pmic: pmic { 83b7d143bSHui Liu compatible = "mediatek,mt6359"; 93b7d143bSHui Liu interrupt-controller; 103b7d143bSHui Liu #interrupt-cells = <2>; 113b7d143bSHui Liu 12*b0a4ce81SAngeloGioacchino Del Regno pmic_adc: adc { 13*b0a4ce81SAngeloGioacchino Del Regno compatible = "mediatek,mt6359-auxadc"; 14*b0a4ce81SAngeloGioacchino Del Regno #io-channel-cells = <1>; 15*b0a4ce81SAngeloGioacchino Del Regno }; 16*b0a4ce81SAngeloGioacchino Del Regno 173b7d143bSHui Liu mt6359codec: mt6359codec { 183b7d143bSHui Liu }; 193b7d143bSHui Liu 203b7d143bSHui Liu regulators { 213b7d143bSHui Liu mt6359_vs1_buck_reg: buck_vs1 { 223b7d143bSHui Liu regulator-name = "vs1"; 233b7d143bSHui Liu regulator-min-microvolt = <800000>; 243b7d143bSHui Liu regulator-max-microvolt = <2200000>; 253b7d143bSHui Liu regulator-enable-ramp-delay = <0>; 263b7d143bSHui Liu regulator-always-on; 273b7d143bSHui Liu }; 283b7d143bSHui Liu mt6359_vgpu11_buck_reg: buck_vgpu11 { 293b7d143bSHui Liu regulator-name = "vgpu11"; 303b7d143bSHui Liu regulator-min-microvolt = <400000>; 313b7d143bSHui Liu regulator-max-microvolt = <1193750>; 323b7d143bSHui Liu regulator-ramp-delay = <5000>; 333b7d143bSHui Liu regulator-enable-ramp-delay = <200>; 343b7d143bSHui Liu regulator-allowed-modes = <0 1 2>; 353b7d143bSHui Liu }; 363b7d143bSHui Liu mt6359_vmodem_buck_reg: buck_vmodem { 373b7d143bSHui Liu regulator-name = "vmodem"; 383b7d143bSHui Liu regulator-min-microvolt = <400000>; 393b7d143bSHui Liu regulator-max-microvolt = <1100000>; 403b7d143bSHui Liu regulator-ramp-delay = <10760>; 413b7d143bSHui Liu regulator-enable-ramp-delay = <200>; 423b7d143bSHui Liu }; 433b7d143bSHui Liu mt6359_vpu_buck_reg: buck_vpu { 443b7d143bSHui Liu regulator-name = "vpu"; 453b7d143bSHui Liu regulator-min-microvolt = <400000>; 463b7d143bSHui Liu regulator-max-microvolt = <1193750>; 473b7d143bSHui Liu regulator-ramp-delay = <5000>; 483b7d143bSHui Liu regulator-enable-ramp-delay = <200>; 493b7d143bSHui Liu regulator-allowed-modes = <0 1 2>; 503b7d143bSHui Liu }; 513b7d143bSHui Liu mt6359_vcore_buck_reg: buck_vcore { 523b7d143bSHui Liu regulator-name = "vcore"; 533b7d143bSHui Liu regulator-min-microvolt = <400000>; 543b7d143bSHui Liu regulator-max-microvolt = <1300000>; 553b7d143bSHui Liu regulator-ramp-delay = <5000>; 563b7d143bSHui Liu regulator-enable-ramp-delay = <200>; 573b7d143bSHui Liu regulator-allowed-modes = <0 1 2>; 583b7d143bSHui Liu }; 593b7d143bSHui Liu mt6359_vs2_buck_reg: buck_vs2 { 603b7d143bSHui Liu regulator-name = "vs2"; 613b7d143bSHui Liu regulator-min-microvolt = <800000>; 623b7d143bSHui Liu regulator-max-microvolt = <1600000>; 633b7d143bSHui Liu regulator-enable-ramp-delay = <0>; 643b7d143bSHui Liu regulator-always-on; 653b7d143bSHui Liu }; 663b7d143bSHui Liu mt6359_vpa_buck_reg: buck_vpa { 673b7d143bSHui Liu regulator-name = "vpa"; 683b7d143bSHui Liu regulator-min-microvolt = <500000>; 693b7d143bSHui Liu regulator-max-microvolt = <3650000>; 703b7d143bSHui Liu regulator-enable-ramp-delay = <300>; 713b7d143bSHui Liu }; 723b7d143bSHui Liu mt6359_vproc2_buck_reg: buck_vproc2 { 733b7d143bSHui Liu regulator-name = "vproc2"; 743b7d143bSHui Liu regulator-min-microvolt = <400000>; 753b7d143bSHui Liu regulator-max-microvolt = <1193750>; 763b7d143bSHui Liu regulator-ramp-delay = <7500>; 773b7d143bSHui Liu regulator-enable-ramp-delay = <200>; 783b7d143bSHui Liu regulator-allowed-modes = <0 1 2>; 793b7d143bSHui Liu }; 803b7d143bSHui Liu mt6359_vproc1_buck_reg: buck_vproc1 { 813b7d143bSHui Liu regulator-name = "vproc1"; 823b7d143bSHui Liu regulator-min-microvolt = <400000>; 833b7d143bSHui Liu regulator-max-microvolt = <1193750>; 843b7d143bSHui Liu regulator-ramp-delay = <7500>; 853b7d143bSHui Liu regulator-enable-ramp-delay = <200>; 863b7d143bSHui Liu regulator-allowed-modes = <0 1 2>; 873b7d143bSHui Liu }; 883b7d143bSHui Liu mt6359_vcore_sshub_buck_reg: buck_vcore_sshub { 893b7d143bSHui Liu regulator-name = "vcore_sshub"; 903b7d143bSHui Liu regulator-min-microvolt = <400000>; 913b7d143bSHui Liu regulator-max-microvolt = <1193750>; 923b7d143bSHui Liu }; 933b7d143bSHui Liu mt6359_vgpu11_sshub_buck_reg: buck_vgpu11_sshub { 943b7d143bSHui Liu regulator-name = "vgpu11_sshub"; 953b7d143bSHui Liu regulator-min-microvolt = <400000>; 963b7d143bSHui Liu regulator-max-microvolt = <1193750>; 973b7d143bSHui Liu }; 983b7d143bSHui Liu mt6359_vaud18_ldo_reg: ldo_vaud18 { 993b7d143bSHui Liu regulator-name = "vaud18"; 1003b7d143bSHui Liu regulator-min-microvolt = <1800000>; 1013b7d143bSHui Liu regulator-max-microvolt = <1800000>; 1023b7d143bSHui Liu regulator-enable-ramp-delay = <240>; 1033b7d143bSHui Liu }; 1043b7d143bSHui Liu mt6359_vsim1_ldo_reg: ldo_vsim1 { 1053b7d143bSHui Liu regulator-name = "vsim1"; 1063b7d143bSHui Liu regulator-min-microvolt = <1700000>; 1073b7d143bSHui Liu regulator-max-microvolt = <3100000>; 1083b7d143bSHui Liu }; 1093b7d143bSHui Liu mt6359_vibr_ldo_reg: ldo_vibr { 1103b7d143bSHui Liu regulator-name = "vibr"; 1113b7d143bSHui Liu regulator-min-microvolt = <1200000>; 1123b7d143bSHui Liu regulator-max-microvolt = <3300000>; 1133b7d143bSHui Liu }; 1143b7d143bSHui Liu mt6359_vrf12_ldo_reg: ldo_vrf12 { 1153b7d143bSHui Liu regulator-name = "vrf12"; 1163b7d143bSHui Liu regulator-min-microvolt = <1100000>; 1173b7d143bSHui Liu regulator-max-microvolt = <1300000>; 1183b7d143bSHui Liu }; 1193b7d143bSHui Liu mt6359_vusb_ldo_reg: ldo_vusb { 1203b7d143bSHui Liu regulator-name = "vusb"; 1213b7d143bSHui Liu regulator-min-microvolt = <3000000>; 1223b7d143bSHui Liu regulator-max-microvolt = <3000000>; 1233b7d143bSHui Liu regulator-enable-ramp-delay = <960>; 1243b7d143bSHui Liu regulator-always-on; 1253b7d143bSHui Liu }; 1263b7d143bSHui Liu mt6359_vsram_proc2_ldo_reg: ldo_vsram_proc2 { 1273b7d143bSHui Liu regulator-name = "vsram_proc2"; 1283b7d143bSHui Liu regulator-min-microvolt = <500000>; 1293b7d143bSHui Liu regulator-max-microvolt = <1293750>; 1303b7d143bSHui Liu regulator-ramp-delay = <7500>; 1313b7d143bSHui Liu regulator-enable-ramp-delay = <240>; 1323b7d143bSHui Liu regulator-always-on; 1333b7d143bSHui Liu }; 1343b7d143bSHui Liu mt6359_vio18_ldo_reg: ldo_vio18 { 1353b7d143bSHui Liu regulator-name = "vio18"; 1363b7d143bSHui Liu regulator-min-microvolt = <1700000>; 1373b7d143bSHui Liu regulator-max-microvolt = <1900000>; 1383b7d143bSHui Liu regulator-enable-ramp-delay = <960>; 1393b7d143bSHui Liu regulator-always-on; 1403b7d143bSHui Liu }; 1413b7d143bSHui Liu mt6359_vcamio_ldo_reg: ldo_vcamio { 1423b7d143bSHui Liu regulator-name = "vcamio"; 1433b7d143bSHui Liu regulator-min-microvolt = <1700000>; 1443b7d143bSHui Liu regulator-max-microvolt = <1900000>; 1453b7d143bSHui Liu }; 1463b7d143bSHui Liu mt6359_vcn18_ldo_reg: ldo_vcn18 { 1473b7d143bSHui Liu regulator-name = "vcn18"; 1483b7d143bSHui Liu regulator-min-microvolt = <1800000>; 1493b7d143bSHui Liu regulator-max-microvolt = <1800000>; 1503b7d143bSHui Liu regulator-enable-ramp-delay = <240>; 1513b7d143bSHui Liu }; 1523b7d143bSHui Liu mt6359_vfe28_ldo_reg: ldo_vfe28 { 1533b7d143bSHui Liu regulator-name = "vfe28"; 1543b7d143bSHui Liu regulator-min-microvolt = <2800000>; 1553b7d143bSHui Liu regulator-max-microvolt = <2800000>; 1563b7d143bSHui Liu regulator-enable-ramp-delay = <120>; 1573b7d143bSHui Liu }; 1583b7d143bSHui Liu mt6359_vcn13_ldo_reg: ldo_vcn13 { 1593b7d143bSHui Liu regulator-name = "vcn13"; 1603b7d143bSHui Liu regulator-min-microvolt = <900000>; 1613b7d143bSHui Liu regulator-max-microvolt = <1300000>; 1623b7d143bSHui Liu }; 1633b7d143bSHui Liu mt6359_vcn33_1_bt_ldo_reg: ldo_vcn33_1_bt { 1643b7d143bSHui Liu regulator-name = "vcn33_1_bt"; 1653b7d143bSHui Liu regulator-min-microvolt = <2800000>; 1663b7d143bSHui Liu regulator-max-microvolt = <3500000>; 1673b7d143bSHui Liu }; 1683b7d143bSHui Liu mt6359_vcn33_1_wifi_ldo_reg: ldo_vcn33_1_wifi { 1693b7d143bSHui Liu regulator-name = "vcn33_1_wifi"; 1703b7d143bSHui Liu regulator-min-microvolt = <2800000>; 1713b7d143bSHui Liu regulator-max-microvolt = <3500000>; 1723b7d143bSHui Liu }; 1733b7d143bSHui Liu mt6359_vaux18_ldo_reg: ldo_vaux18 { 1743b7d143bSHui Liu regulator-name = "vaux18"; 1753b7d143bSHui Liu regulator-min-microvolt = <1800000>; 1763b7d143bSHui Liu regulator-max-microvolt = <1800000>; 1773b7d143bSHui Liu regulator-enable-ramp-delay = <240>; 1783b7d143bSHui Liu regulator-always-on; 1793b7d143bSHui Liu }; 1803b7d143bSHui Liu mt6359_vsram_others_ldo_reg: ldo_vsram_others { 1813b7d143bSHui Liu regulator-name = "vsram_others"; 1823b7d143bSHui Liu regulator-min-microvolt = <500000>; 1833b7d143bSHui Liu regulator-max-microvolt = <1293750>; 1843b7d143bSHui Liu regulator-ramp-delay = <5000>; 1853b7d143bSHui Liu regulator-enable-ramp-delay = <240>; 1863b7d143bSHui Liu }; 1873b7d143bSHui Liu mt6359_vefuse_ldo_reg: ldo_vefuse { 1883b7d143bSHui Liu regulator-name = "vefuse"; 1893b7d143bSHui Liu regulator-min-microvolt = <1700000>; 1903b7d143bSHui Liu regulator-max-microvolt = <2000000>; 1913b7d143bSHui Liu }; 1923b7d143bSHui Liu mt6359_vxo22_ldo_reg: ldo_vxo22 { 1933b7d143bSHui Liu regulator-name = "vxo22"; 1943b7d143bSHui Liu regulator-min-microvolt = <1800000>; 1953b7d143bSHui Liu regulator-max-microvolt = <2200000>; 1963b7d143bSHui Liu regulator-always-on; 1973b7d143bSHui Liu }; 1983b7d143bSHui Liu mt6359_vrfck_ldo_reg: ldo_vrfck { 1993b7d143bSHui Liu regulator-name = "vrfck"; 2003b7d143bSHui Liu regulator-min-microvolt = <1500000>; 2013b7d143bSHui Liu regulator-max-microvolt = <1700000>; 2023b7d143bSHui Liu }; 2033b7d143bSHui Liu mt6359_vrfck_1_ldo_reg: ldo_vrfck_1 { 2043b7d143bSHui Liu regulator-name = "vrfck"; 2053b7d143bSHui Liu regulator-min-microvolt = <1240000>; 2063b7d143bSHui Liu regulator-max-microvolt = <1600000>; 2073b7d143bSHui Liu }; 2083b7d143bSHui Liu mt6359_vbif28_ldo_reg: ldo_vbif28 { 2093b7d143bSHui Liu regulator-name = "vbif28"; 2103b7d143bSHui Liu regulator-min-microvolt = <2800000>; 2113b7d143bSHui Liu regulator-max-microvolt = <2800000>; 2123b7d143bSHui Liu regulator-enable-ramp-delay = <240>; 2133b7d143bSHui Liu }; 2143b7d143bSHui Liu mt6359_vio28_ldo_reg: ldo_vio28 { 2153b7d143bSHui Liu regulator-name = "vio28"; 2163b7d143bSHui Liu regulator-min-microvolt = <2800000>; 2173b7d143bSHui Liu regulator-max-microvolt = <3300000>; 2183b7d143bSHui Liu regulator-always-on; 2193b7d143bSHui Liu }; 2203b7d143bSHui Liu mt6359_vemc_ldo_reg: ldo_vemc { 2213b7d143bSHui Liu regulator-name = "vemc"; 2223b7d143bSHui Liu regulator-min-microvolt = <2900000>; 2233b7d143bSHui Liu regulator-max-microvolt = <3300000>; 2243b7d143bSHui Liu }; 2253b7d143bSHui Liu mt6359_vemc_1_ldo_reg: ldo_vemc_1 { 2263b7d143bSHui Liu regulator-name = "vemc"; 2273b7d143bSHui Liu regulator-min-microvolt = <2500000>; 2283b7d143bSHui Liu regulator-max-microvolt = <3300000>; 2293b7d143bSHui Liu }; 2303b7d143bSHui Liu mt6359_vcn33_2_bt_ldo_reg: ldo_vcn33_2_bt { 2313b7d143bSHui Liu regulator-name = "vcn33_2_bt"; 2323b7d143bSHui Liu regulator-min-microvolt = <2800000>; 2333b7d143bSHui Liu regulator-max-microvolt = <3500000>; 2343b7d143bSHui Liu }; 2353b7d143bSHui Liu mt6359_vcn33_2_wifi_ldo_reg: ldo_vcn33_2_wifi { 2363b7d143bSHui Liu regulator-name = "vcn33_2_wifi"; 2373b7d143bSHui Liu regulator-min-microvolt = <2800000>; 2383b7d143bSHui Liu regulator-max-microvolt = <3500000>; 2393b7d143bSHui Liu }; 2403b7d143bSHui Liu mt6359_va12_ldo_reg: ldo_va12 { 2413b7d143bSHui Liu regulator-name = "va12"; 2423b7d143bSHui Liu regulator-min-microvolt = <1200000>; 2433b7d143bSHui Liu regulator-max-microvolt = <1300000>; 2443b7d143bSHui Liu regulator-always-on; 2453b7d143bSHui Liu }; 2463b7d143bSHui Liu mt6359_va09_ldo_reg: ldo_va09 { 2473b7d143bSHui Liu regulator-name = "va09"; 2483b7d143bSHui Liu regulator-min-microvolt = <800000>; 2493b7d143bSHui Liu regulator-max-microvolt = <1200000>; 2503b7d143bSHui Liu }; 2513b7d143bSHui Liu mt6359_vrf18_ldo_reg: ldo_vrf18 { 2523b7d143bSHui Liu regulator-name = "vrf18"; 2533b7d143bSHui Liu regulator-min-microvolt = <1700000>; 2543b7d143bSHui Liu regulator-max-microvolt = <1810000>; 2553b7d143bSHui Liu }; 2563b7d143bSHui Liu mt6359_vsram_md_ldo_reg: ldo_vsram_md { 2573b7d143bSHui Liu regulator-name = "vsram_md"; 2583b7d143bSHui Liu regulator-min-microvolt = <500000>; 2593b7d143bSHui Liu regulator-max-microvolt = <1293750>; 2603b7d143bSHui Liu regulator-ramp-delay = <10760>; 2613b7d143bSHui Liu regulator-enable-ramp-delay = <240>; 2623b7d143bSHui Liu }; 2633b7d143bSHui Liu mt6359_vufs_ldo_reg: ldo_vufs { 2643b7d143bSHui Liu regulator-name = "vufs"; 2653b7d143bSHui Liu regulator-min-microvolt = <1700000>; 2663b7d143bSHui Liu regulator-max-microvolt = <1900000>; 2673b7d143bSHui Liu }; 2683b7d143bSHui Liu mt6359_vm18_ldo_reg: ldo_vm18 { 2693b7d143bSHui Liu regulator-name = "vm18"; 2703b7d143bSHui Liu regulator-min-microvolt = <1700000>; 2713b7d143bSHui Liu regulator-max-microvolt = <1900000>; 2723b7d143bSHui Liu regulator-always-on; 2733b7d143bSHui Liu }; 2743b7d143bSHui Liu mt6359_vbbck_ldo_reg: ldo_vbbck { 2753b7d143bSHui Liu regulator-name = "vbbck"; 2763b7d143bSHui Liu regulator-min-microvolt = <1100000>; 2773b7d143bSHui Liu regulator-max-microvolt = <1200000>; 2783b7d143bSHui Liu }; 2793b7d143bSHui Liu mt6359_vsram_proc1_ldo_reg: ldo_vsram_proc1 { 2803b7d143bSHui Liu regulator-name = "vsram_proc1"; 2813b7d143bSHui Liu regulator-min-microvolt = <500000>; 2823b7d143bSHui Liu regulator-max-microvolt = <1293750>; 2833b7d143bSHui Liu regulator-ramp-delay = <7500>; 2843b7d143bSHui Liu regulator-enable-ramp-delay = <240>; 2853b7d143bSHui Liu regulator-always-on; 2863b7d143bSHui Liu }; 2873b7d143bSHui Liu mt6359_vsim2_ldo_reg: ldo_vsim2 { 2883b7d143bSHui Liu regulator-name = "vsim2"; 2893b7d143bSHui Liu regulator-min-microvolt = <1700000>; 2903b7d143bSHui Liu regulator-max-microvolt = <3100000>; 2913b7d143bSHui Liu }; 2923b7d143bSHui Liu mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub { 2933b7d143bSHui Liu regulator-name = "vsram_others_sshub"; 2943b7d143bSHui Liu regulator-min-microvolt = <500000>; 2953b7d143bSHui Liu regulator-max-microvolt = <1293750>; 2963b7d143bSHui Liu }; 2973b7d143bSHui Liu }; 2983b7d143bSHui Liu 2993b7d143bSHui Liu mt6359rtc: mt6359rtc { 3003b7d143bSHui Liu compatible = "mediatek,mt6358-rtc"; 3013b7d143bSHui Liu }; 3023b7d143bSHui Liu }; 3033b7d143bSHui Liu}; 304