#include "bcm6368.dtsi" #include / { model = "Comtrend VR-3026e"; compatible = "comtrend,vr-3026e", "brcm,bcm6368"; aliases { led-boot = &led_power_green; led-failsafe = &led_power_green; led-running = &led_power_green; led-upgrade = &led_power_green; }; chosen { bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; stdout-path = "serial0:115200n8"; }; keys { compatible = "gpio-keys-polled"; #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; reset { label = "reset"; gpios = <&pinctrl 34 1>; linux,code = ; debounce-interval = <60>; }; }; leds { compatible = "gpio-leds"; dsl_green { label = "green:dsl"; gpios = <&pinctrl 2 1>; }; inet_green { label = "green:inet"; gpios = <&pinctrl 5 0>; }; led_power_green: power_green { label = "green:power"; gpios = <&pinctrl 22 0>; default-state = "on"; }; power_red { label = "red:power"; gpios = <&pinctrl 24 0>; }; inet_red { label = "red:inet"; gpios = <&pinctrl 31 0>; }; }; }; &pflash { status = "okay"; partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; cfe@0 { label = "CFE"; reg = <0x000000 0x010000>; read-only; }; linux@10000 { label = "linux"; reg = <0x010000 0x7e0000>; compatible = "brcm,bcm963xx-imagetag"; }; nvram@7f0000 { label = "nvram"; reg = <0x7f0000 0x010000>; }; }; }; &pinctrl { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led &pinctrl_ephy2_led &pinctrl_ephy3_led>; }; &uart0 { status = "okay"; }; ref='/cgit/openwrt/upstream/?h=v23.05.1'>summaryrefslogtreecommitdiffstats
blob: 68a159a8e7c173079dfbe61a21c682c87803b64e (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

/dts-v1/;
#include "mt7986a-tplink-tl-xdr-common.dtsi"

/ {
	model = "TP-Link TL-XDR6086";
	compatible = "tplink,tl-xdr6086", "mediatek,mt7986a";
};

&switch {
	ports {
		#address-cells = <1>;
		#size-cells = <0>;

		port@0 {
			reg = <0>;
			label = "lan1";
		};

		port@5 {
			reg = <5>;
			label = "lan2";
			phy-handle = <&phy5>;
			phy-mode = "2500base-x";
		};

		port@6 {
			reg = <6>;
			ethernet = <&gmac0>;
			phy-mode = "2500base-x";

			fixed-link {
				speed = <2500>;
				full-duplex;
				pause;
			};
		};
	};
};

&pio {
	wf_2g_5g_pins: wf_2g_5g-pins {
		mux {
			function = "wifi";
			groups = "wf_2g", "wf_5g";
		};
		conf {
			pins = "WF0_HB1", "WF0_HB2", "WF0_HB3", "WF0_HB4",
			       "WF0_HB0", "WF0_HB0_B", "WF0_HB5", "WF0_HB6",
			       "WF0_HB7", "WF0_HB8", "WF0_HB9", "WF0_HB10",
			       "WF0_TOP_CLK", "WF0_TOP_DATA", "WF1_HB1",
			       "WF1_HB2", "WF1_HB3", "WF1_HB4", "WF1_HB0",
			       "WF1_HB5", "WF1_HB6", "WF1_HB7", "WF1_HB8",
			       "WF1_TOP_CLK", "WF1_TOP_DATA";
			drive-strength = <4>;
		};
	};
};

&wifi {
	pinctrl-names = "default";
	pinctrl-0 = <&wf_2g_5g_pins>;
};