aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi
blob: b594cab2c3694b546f479b3c54e3dd779b312e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "mt7620a_zbtlink_zbt-we1026.dtsi"

/ {
	compatible = "zbtlink,zbt-we1026-5g", "zbtlink,zbt-we1026",
		"ralink,mt7620a-soc";

	leds {
		compatible = "gpio-leds";

		lan {
			label = "we1026-5g:green:lan";
			gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
		};

		usb {
			label = "we1026-5g:green:usb";
			gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
			trigger-sources = <&ohci_port1>, <&ehci_port1>;
			linux,default-trigger = "usbport";
		};

		wifi {
			label = "we1026-5g:green:wifi";
			gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
		};
	};
};

&pcie {
	status = "okay";
};

&pcie0 {
	wifi@0,0 {
		compatible = "pci14c3,7662";
		reg = <0x0000 0 0 0 0>;
		mediatek,mtd-eeprom = <&factory 0x8000>;
		ieee80211-freq-limit = <5000000 6000000>;
	};
};