&nand {
status = "okay";
+ mediatek,bbt;
+ mediatek,bmt-remap-range =
+ <0x180000 0x580000>,
+ <0x2980000 0x2d80000>;
+
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
partition@80000 {
label = "u_env";
reg = <0x80000 0x40000>;
- read-only;
};
factory: partition@c0000 {
};
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <ðphy0>;
+};
+
+&mdio {
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+};
+
&switch0 {
ports {
- port@0 {
- status = "okay";
- label = "wan";
- };
-
port@1 {
status = "okay";
label = "lan1";