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/pinctrl/mt65xx.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/regulator/richtek,rt5190a-regulator.h>
14 model = "MediaTek MT7988A Reference Board";
15 compatible = "mediatek,mt7988a-rfb",
19 bootargs = "console=ttyS0,115200n1 loglevel=8 \
20 earlycon=uart8250,mmio32,0x11000000 \
25 reg = <0 0x40000000 0 0x40000000>;
30 pinctrl-0 = <&mdio0_pins>;
31 pinctrl-names = "default";
39 proc-supply = <&rt5190_buck3>;
43 proc-supply = <&rt5190_buck3>;
47 proc-supply = <&rt5190_buck3>;
51 proc-supply = <&rt5190_buck3>;
55 proc-supply = <&rt5190_buck3>;
67 pinctrl-names = "gbe-led";
68 pinctrl-0 = <&gbe0_led0_pins>;
73 color = <LED_COLOR_ID_GREEN>;
77 pinctrl-names = "gbe-led";
78 pinctrl-0 = <&gbe1_led0_pins>;
83 color = <LED_COLOR_ID_GREEN>;
87 pinctrl-names = "gbe-led";
88 pinctrl-0 = <&gbe2_led0_pins>;
93 color = <LED_COLOR_ID_GREEN>;
97 pinctrl-names = "gbe-led";
98 pinctrl-0 = <&gbe3_led0_pins>;
103 color = <LED_COLOR_ID_GREEN>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&i2c0_pins>;
111 rt5190a_64: rt5190a@64 {
112 compatible = "richtek,rt5190a";
114 /*interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;*/
115 vin2-supply = <&rt5190_buck1>;
116 vin3-supply = <&rt5190_buck1>;
117 vin4-supply = <&rt5190_buck1>;
120 rt5190_buck1: buck1 {
121 regulator-name = "rt5190a-buck1";
122 regulator-min-microvolt = <5090000>;
123 regulator-max-microvolt = <5090000>;
124 regulator-allowed-modes =
125 <RT5190A_OPMODE_AUTO RT5190A_OPMODE_FPWM>;
130 regulator-name = "vcore";
131 regulator-min-microvolt = <600000>;
132 regulator-max-microvolt = <1400000>;
136 rt5190_buck3: buck3 {
137 regulator-name = "vproc";
138 regulator-min-microvolt = <600000>;
139 regulator-max-microvolt = <1400000>;
143 regulator-name = "rt5190a-buck4";
144 regulator-min-microvolt = <850000>;
145 regulator-max-microvolt = <850000>;
146 regulator-allowed-modes =
147 <RT5190A_OPMODE_AUTO RT5190A_OPMODE_FPWM>;
152 regulator-name = "rt5190a-ldo";
153 regulator-min-microvolt = <1200000>;
154 regulator-max-microvolt = <1200000>;