blob: 365fefdbe172070e0114d684a92f310dac2525f2 [file] [log] [blame]
developer2de1f362025-01-23 16:55:01 +08001// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2023 MediaTek Inc.
4 * Author: Sam.Shih <sam.shih@mediatek.com>
5 */
6
7/dts-v1/;
8#include "mt7987.dtsi"
9#include "mt7987-pinctrl.dtsi"
10
11/ {
12 compatible = "mediatek,mt7987a", "mediatek,mt7987";
13
14 memory {
15 reg = <0 0x40000000 0 0x10000000>;
16 };
17
18};
19
20&afe {
21 pinctrl-names = "default";
22 pinctrl-0 = <&pcm_pins>;
23 status = "okay";
24};
25
26&boottrap {
27 status = "okay";
28};
29
30&fan {
31 pwms = <&pwm 0 50000 0>;
developerae428bf2025-03-07 11:22:28 +080032 status = "disabled";
developer2de1f362025-01-23 16:55:01 +080033};
34
35&i2c0 {
36 pinctrl-names = "default";
37 pinctrl-0 = <&i2c0_pins>;
38 status = "okay";
39};
40
41&infra_bus_prot {
42 status = "okay";
43};
44
45&lvts {
46 status = "okay";
47};
48
49&pcie0 {
50 pinctrl-names = "default";
51 pinctrl-0 = <&pcie0_pins>;
52 status = "okay";
53};
54
55&pcie1 {
56 pinctrl-names = "default";
57 pinctrl-0 = <&pcie1_pins>;
58 status = "disabled";
59};
60
61&pwm {
developer5551adc2025-03-07 11:22:23 +080062 pinctrl-names = "default";
63 pinctrl-0 = <&pwm_pins>;
developer2de1f362025-01-23 16:55:01 +080064 status = "okay";
65};
66
67&spi1 {
68 pinctrl-names = "default";
69 pinctrl-0 = <&spic_pins>;
70 status = "okay";
71};
72
73&trng {
74 status = "okay";
75};
76
77&uart0 {
78 status = "okay";
79};
80
81&watchdog {
82 status = "okay";
83};
84
85&xhci {
86 mediatek,u3p-dis-msk = <0x00000001>;
87 phys = <&tphyu2port0 PHY_TYPE_USB2>;
88
89 clocks = <&infracfg CLK_INFRA_USB_SYS_CK_P1>,
90 <&infracfg CLK_INFRA_USB_XHCI_CK_P1>,
91 <&infracfg CLK_INFRA_USB_CK_P1>,
92 <&infracfg CLK_INFRA_66M_USB_HCK_CK_P1>,
93 <&infracfg CLK_INFRA_133M_USB_HCK_CK_P1>;
94 clock-names = "sys_ck", "xhci_ck", "ref_ck", "mcu_ck",
95 "dma_ck";
96
97 status = "okay";
98};