projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: mt7621-dts: mux phy0/4 to gmac1
[openwrt/staging/wigyori.git]
/
target
/
linux
/
ramips
/
dts
/
mt7621_iptime_a3004ns-dual.dts
diff --git
a/target/linux/ramips/dts/mt7621_iptime_a3004ns-dual.dts
b/target/linux/ramips/dts/mt7621_iptime_a3004ns-dual.dts
index fa3f146e81c6d26f60eff7ee088b65d1ea365b0f..c08b6427e7697b479ba0a77d5b0253c13a770214 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_iptime_a3004ns-dual.dts
+++ b/
target/linux/ramips/dts/mt7621_iptime_a3004ns-dual.dts
@@
-94,15
+94,23
@@
nvmem-cell-names = "mac-address";
};
nvmem-cell-names = "mac-address";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <ðphy0>;
+
+ nvmem-cells = <&macaddr_uboot_1fc40>;
+ nvmem-cell-names = "mac-address";
+};
+
+&mdio {
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+};
+
&switch0 {
ports {
&switch0 {
ports {
- port@0 {
- status = "okay";
- label = "wan";
- nvmem-cells = <&macaddr_uboot_1fc40>;
- nvmem-cell-names = "mac-address";
- };
-
port@1 {
status = "okay";
label = "lan1";
port@1 {
status = "okay";
label = "lan1";