mediatek: move an8855 dts node to xiaomi dtsi

This commit is contained in:
hanwckf 2024-11-12 16:31:28 +08:00
parent 1d5bd1061d
commit fa0b7600f5
3 changed files with 19 additions and 30 deletions

View File

@ -13,20 +13,5 @@
};
&gsw_an8855 {
airoha,mdio = <&mdio>;
reset-gpios = <&pio 39 0>;
interrupt-parent = <&pio>;
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
status = "okay";
port@5 {
compatible = "airoha,an8855-port";
reg = <5>;
phy-mode = "2500base-x";
fixed-link {
speed = <2500>;
full-duplex;
};
};
};

View File

@ -13,20 +13,5 @@
};
&gsw_an8855 {
airoha,mdio = <&mdio>;
reset-gpios = <&pio 39 0>;
interrupt-parent = <&pio>;
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
status = "okay";
port@5 {
compatible = "airoha,an8855-port";
reg = <5>;
phy-mode = "2500base-x";
fixed-link {
speed = <2500>;
full-duplex;
};
};
};

View File

@ -144,6 +144,25 @@
};
};
&gsw_an8855 {
airoha,mdio = <&mdio>;
reset-gpios = <&pio 39 0>;
interrupt-parent = <&pio>;
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
port@5 {
compatible = "airoha,an8855-port";
reg = <5>;
phy-mode = "2500base-x";
fixed-link {
speed = <2500>;
full-duplex;
};
};
};
&hnat {
mtketh-wan = "eth1";
mtketh-lan = "eth0";