1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
14 led-failsafe = &led_blue;
15 led-running = &led_blue;
16 led-upgrade = &led_blue;
17 label-mac-device = &gmac0;
22 stdout-path = "serial0:115200n8";
23 bootargs = "earlycon=uart8250,mmio32,0x11002000 swiotlb=512 console=ttyS0,115200n8";
28 proc-supply = <&mt6380_vcpu_reg>;
29 sram-supply = <&mt6380_vm_reg>;
33 proc-supply = <&mt6380_vcpu_reg>;
34 sram-supply = <&mt6380_vm_reg>;
39 compatible = "gpio-keys";
43 linux,code = <KEY_RESTART>;
44 gpios = <&pio 62 GPIO_ACTIVE_LOW>;
49 reg = <0 0x40000000 0 0x3f000000>;
52 reg_1p8v: regulator-1p8v {
53 compatible = "regulator-fixed";
54 regulator-name = "fixed-1.8V";
55 regulator-min-microvolt = <1800000>;
56 regulator-max-microvolt = <1800000>;
60 reg_3p3v: regulator-3p3v {
61 compatible = "regulator-fixed";
62 regulator-name = "fixed-3.3V";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&pcie0_pins>;
81 groups = "mdc_mdio", "rgmii_via_gmac2";
85 pcie0_pins: pcie0-pins {
88 groups = "pcie0_pad_perst",
94 pcie1_pins: pcie1-pins {
97 groups = "pcie1_pad_perst",
103 pmic_bus_pins: pmic-bus-pins {
110 spi_nor_pins: spi-nor-pins {
117 uart0_pins: uart0-pins {
120 groups = "uart0_0_tx_rx" ;
124 uart3_pins: uart3-pins {
127 groups = "uart3_1_tx_rx" ;
131 i2c0_pins: i2c0-pins {
138 watchdog_pins: watchdog-pins {
140 function = "watchdog";
156 pinctrl-names = "default";
157 pinctrl-0 = <ð_pins>;
160 compatible = "mediatek,eth-mac";
163 phy-mode = "2500base-x";
164 phy-handle = <&phy0>;
165 phy-connection-type = "2500base-x";
169 #address-cells = <1>;
172 phy0: ethernet-phy@8 {
173 compatible = "ethernet-phy-ieee802.3-c45";
180 pinctrl-names = "default";
181 pinctrl-0 = <&pmic_bus_pins>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&spi_nor_pins>;
193 compatible = "jedec,spi-nor";
195 spi-max-frequency = <50000000>;
197 nor_partitions: partitions {
198 compatible = "fixed-partitions";
199 #address-cells = <1>;
213 pinctrl-names = "default";
214 pinctrl-0 = <&uart0_pins>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&uart3_pins>;
223 /* MT7915 Bluetooth */
227 pinctrl-names = "default";
228 pinctrl-0 = <&watchdog_pins>;