1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2022 MediaTek Inc.
4 * Author: Sam.Shih <sam.shih@mediatek.com>
8 #include "mt7988a.dtsi"
9 #include <dt-bindings/regulator/richtek,rt5190a-regulator.h>
12 proc-supply = <&rt5190_buck3>;
16 proc-supply = <&rt5190_buck3>;
20 proc-supply = <&rt5190_buck3>;
24 proc-supply = <&rt5190_buck3>;
28 proc-supply = <&rt5190_buck3>;
36 pinctrl-names = "default";
37 pinctrl-0 = <&i2c0_pins>;
40 rt5190a_64: rt5190a@64 {
41 compatible = "richtek,rt5190a";
43 /*interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;*/
44 vin2-supply = <&rt5190_buck1>;
45 vin3-supply = <&rt5190_buck1>;
46 vin4-supply = <&rt5190_buck1>;
50 regulator-name = "rt5190a-buck1";
51 regulator-min-microvolt = <5090000>;
52 regulator-max-microvolt = <5090000>;
53 regulator-allowed-modes =
54 <RT5190A_OPMODE_AUTO RT5190A_OPMODE_FPWM>;
59 regulator-name = "vcore";
60 regulator-min-microvolt = <600000>;
61 regulator-max-microvolt = <1400000>;
66 regulator-name = "vproc";
67 regulator-min-microvolt = <600000>;
68 regulator-max-microvolt = <1400000>;
72 regulator-name = "rt5190a-buck4";
73 regulator-min-microvolt = <850000>;
74 regulator-max-microvolt = <850000>;
75 regulator-allowed-modes =
76 <RT5190A_OPMODE_AUTO RT5190A_OPMODE_FPWM>;
81 regulator-name = "rt5190a-ldo";
82 regulator-min-microvolt = <1200000>;
83 regulator-max-microvolt = <1200000>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&pcie0_pins>;
98 pinctrl-names = "default";
99 pinctrl-0 = <&pcie1_pins>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&pcie2_pins>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&pcie3_pins>;
128 pcie0_pins: pcie0-pins {
131 groups = "pcie_2l_0_pereset", "pcie_clk_req_n0_0",
136 pcie1_pins: pcie1-pins {
139 groups = "pcie_2l_1_pereset", "pcie_clk_req_n1",
144 pcie2_pins: pcie2-pins {
147 groups = "pcie_1l_0_pereset", "pcie_clk_req_n2_0",
152 pcie3_pins: pcie3-pins {
155 groups = "pcie_1l_1_pereset", "pcie_clk_req_n3",