/ {
model = "MediaTek MT7629 reference board";
- compatible = "mediatek,mt7629-rfb", "mediatek,mt7629";
+ compatible = "mediatek,mt7629-lynx-rfb", "mediatek,mt7629";
aliases {
serial0 = &uart0;
chosen {
stdout-path = "serial0:115200n8";
+ bootargs = "earlycon=uart8250,mmio32,0x11002000";
};
gpio-keys {
};
ð {
- pinctrl-names = "default";
- pinctrl-0 = <&ephy_leds_pins>;
- status = "okay";
-
- gmac0: mac@0 {
- compatible = "mediatek,eth-mac";
- reg = <0>;
- phy-mode = "sgmii";
- fixed-link {
- speed = <1000>;
- full-duplex;
- pause;
- };
- };
-
- gmac1: mac@1 {
- compatible = "mediatek,eth-mac";
- reg = <1>;
- phy-handle = <&phy0>;
- };
-
- mdio: mdio-bus {
- #address-cells = <1>;
- #size-cells = <0>;
-
- phy0: ethernet-phy@0 {
- reg = <0>;
- phy-mode = "gmii";
- };
- };
+ pinctrl-names = "default";
+ pinctrl-0 = <&ephy_leds_pins>;
+ status = "okay";
+
+ gmac0: mac@0 {
+ compatible = "mediatek,eth-mac";
+ reg = <0>;
+ mtd-mac-address = <&factory 0x2a>;
+ phy-mode = "sgmii";
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ pause;
+ };
+ };
+
+ gmac1: mac@1 {
+ compatible = "mediatek,eth-mac";
+ reg = <1>;
+ mtd-mac-address = <&factory 0x24>;
+ phy-handle = <&phy0>;
+ };
+
+ mdio: mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ phy0: ethernet-phy@0 {
+ reg = <0>;
+ phy-mode = "gmii";
+ };
+ };
};
&gsw {
};
factory: partition@70000 {
- label = "Factory";
+ label = "factory";
reg = <0x70000 0x40000>;
read-only;
};
partition@b0000 {
- label = "Kernel";
+ label = "firmware";
reg = <0xb0000 0xb50000>;
};
};