2021-03-21 08:45:24 +00:00
|
|
|
#include "mt7620a_phicomm_k2x.dtsi"
|
2018-06-20 16:56:38 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "phicomm,k2g", "ralink,mt7620a-soc";
|
|
|
|
model = "Phicomm K2G";
|
|
|
|
};
|
|
|
|
|
2021-03-21 08:45:24 +00:00
|
|
|
&partitions {
|
|
|
|
partition@50000 {
|
|
|
|
reg = <0x50000 0x50000>;
|
|
|
|
label = "permanent_config";
|
|
|
|
read-only;
|
2018-06-20 16:56:38 +00:00
|
|
|
};
|
|
|
|
|
2021-03-21 08:45:24 +00:00
|
|
|
partition@a0000 {
|
|
|
|
compatible = "denx,uimage";
|
|
|
|
reg = <0xa0000 0x760000>;
|
|
|
|
label = "firmware";
|
2018-06-20 16:56:38 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ðernet {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&rgmii2_pins &mdio_pins>;
|
2020-05-14 13:41:31 +00:00
|
|
|
|
2018-06-20 16:56:38 +00:00
|
|
|
mtd-mac-address = <&factory 0x28>;
|
2020-05-14 13:41:31 +00:00
|
|
|
|
2018-06-20 16:56:38 +00:00
|
|
|
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>;
|
|
|
|
};
|