ramips: create shared DTSI for MT7620 Phicomm K2x series devices
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_phicomm_k2g.dts
1 #include "mt7620a_phicomm_k2x.dtsi"
2
3 / {
4 compatible = "phicomm,k2g", "ralink,mt7620a-soc";
5 model = "Phicomm K2G";
6 };
7
8 &partitions {
9 partition@50000 {
10 reg = <0x50000 0x50000>;
11 label = "permanent_config";
12 read-only;
13 };
14
15 partition@a0000 {
16 compatible = "denx,uimage";
17 reg = <0xa0000 0x760000>;
18 label = "firmware";
19 };
20 };
21
22 &ethernet {
23 pinctrl-names = "default";
24 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
25
26 mtd-mac-address = <&factory 0x28>;
27
28 mediatek,portmap = "llllw";
29
30 port@5 {
31 status = "okay";
32 phy-handle = <&phy5>;
33 phy-mode = "rgmii";
34 };
35
36 mdio-bus {
37 status = "okay";
38
39 phy5: ethernet-phy@5 {
40 reg = <5>;
41 phy-mode = "rgmii";
42 };
43 };
44 };
45
46 &wmac {
47 pinctrl-names = "default";
48 pinctrl-0 = <&pa_pins>;
49 };