aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts
blob: a153520e2f70163835b12572b20f4c2b707e467b (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
#include "mt7620a_phicomm_k2x.dtsi"

/ {
	compatible = "phicomm,k2g", "ralink,mt7620a-soc";
	model = "Phicomm K2G";
};

&partitions {
	partition@50000 {
		reg = <0x50000 0x50000>;
		label = "permanent_config";
		read-only;
	};

	partition@a0000 {
		compatible = "denx,uimage";
		reg = <0xa0000 0x760000>;
		label = "firmware";
	};
};

&ethernet {
	pinctrl-names = "default";
	pinctrl-0 = <&rgmii2_pins &mdio_pins>;

	mtd-mac-address = <&factory 0x28>;

	mediatek,portmap = "llllw";

	port@5 {
		status = "okay";
		phy-handle = <&phy5>;
		phy-mode = "rgmii";
	};

	mdio-bus {
		status = "okay";

		phy5: ethernet-phy@5 {
			reg = <5>;
			phy-mode = "rgmii";
		};
	};
};

&wmac {
	pinctrl-names = "default";
	pinctrl-0 = <&pa_pins>;
};