ath79: rename glinet x750
[openwrt/staging/lynxis.git] / target / linux / ath79 / dts / qca9533_glinet_x750.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "qca9533.dtsi"
5
6 / {
7 compatible = "glinet,gl-x750", "qca,qca9533";
8 model = "GL.iNet GL-X750";
9
10 keys {
11 compatible = "gpio-keys-polled";
12 poll-interval = <20>;
13 pinctrl-names = "default";
14 pinctrl-0 = <&jtag_disable_pins>;
15
16 button0 {
17 label = "reset";
18 linux,code = <KEY_RESTART>;
19 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
20 };
21
22 };
23
24 leds {
25 compatible = "gpio-leds";
26
27 power {
28 label = "gl-x750:green:power";
29 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
30 default-state = "on";
31 };
32
33 wlan2g {
34 label = "gl-x750:green:wlan2g";
35 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy1tpt";
37 };
38
39 wlan5g {
40 label = "gl-x750:green:wlan5g";
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
43 };
44
45 wan {
46 label = "gl-x750:green:wan";
47 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
48 default-state = "off";
49 };
50 4g {
51 label = "gl-x750:green:4g";
52 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
53 default-state = "off";
54 };
55 };
56 };
57
58 &pcie0 {
59 status = "okay";
60 };
61
62 &uart {
63 status = "okay";
64 };
65
66 &usb0 {
67 #address-cells = <1>;
68 #size-cells = <0>;
69 status = "okay";
70
71 hub_port: port@1 {
72 reg = <1>;
73 #trigger-source-cells = <0>;
74 };
75 };
76
77 &usb_phy {
78 status = "okay";
79 };
80
81 &eth0 {
82 status = "okay";
83 mtd-mac-address = <&art 0x0>;
84 phy-handle = <&swphy4>;
85 };
86
87 &eth1 {
88 mtd-mac-address = <&art 0x6>;
89 };
90
91 &wmac {
92 status = "okay";
93 mtd-cal-data = <&art 0x1000>;
94 mtd-mac-address = <&art 0x1002>;
95 };