mediatek: use standard PHY reset bindings for Cudy WR3000H
Use generic Ethernet PHY reset bindings. Remove the useless lan label as connected switch. Fixes: 9d66b8b ("mediatek: filogic: Add support for cudy wr3000h") Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
This commit is contained in:
parent
64d1b1089c
commit
4c380d0f25
@ -39,17 +39,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-export {
|
|
||||||
compatible = "gpio-export";
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
phyreset {
|
|
||||||
gpio-export,name = "phyreset";
|
|
||||||
gpio-export,output = <1>;
|
|
||||||
gpios = <&pio 3 GPIO_ACTIVE_LOW>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
@ -132,7 +121,6 @@
|
|||||||
ð {
|
ð {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&mdio_pins>;
|
pinctrl-0 = <&mdio_pins>;
|
||||||
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
gmac0: mac@0 {
|
gmac0: mac@0 {
|
||||||
@ -141,7 +129,6 @@
|
|||||||
phy-mode = "2500base-x";
|
phy-mode = "2500base-x";
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
nvmem-cells = <&macaddr_bdinfo_de00 0>;
|
nvmem-cells = <&macaddr_bdinfo_de00 0>;
|
||||||
label = "lan";
|
|
||||||
|
|
||||||
fixed-link {
|
fixed-link {
|
||||||
speed = <2500>;
|
speed = <2500>;
|
||||||
@ -159,7 +146,6 @@
|
|||||||
nvmem-cells = <&macaddr_bdinfo_de00 1>;
|
nvmem-cells = <&macaddr_bdinfo_de00 1>;
|
||||||
label = "wan";
|
label = "wan";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&mdio_bus {
|
&mdio_bus {
|
||||||
@ -172,12 +158,14 @@
|
|||||||
interrupt-parent = <&pio>;
|
interrupt-parent = <&pio>;
|
||||||
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
};
|
};
|
||||||
phy6: ethernet-phy@6 {
|
|
||||||
compatible = "ethernet-phy-ieee802.3-c22"; // [RTL8221B-VB-CG 2.5Gbps PHY (C22)]
|
|
||||||
reg = <6>;
|
|
||||||
phy-mode = "2500base-x";
|
|
||||||
};
|
|
||||||
|
|
||||||
|
phy6: ethernet-phy@6 {
|
||||||
|
compatible = "ethernet-phy-ieee802.3-c22";
|
||||||
|
reg = <6>;
|
||||||
|
reset-assert-us = <100000>;
|
||||||
|
reset-deassert-us = <100000>;
|
||||||
|
reset-gpios = <&pio 3 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&spi0 {
|
&spi0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user