mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
ramips: mt7621: add both gsw/dsa hnat support
Signed-off-by: meisreallyba <meisreallyba@gmail.com> Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
This commit is contained in:
parent
c85b4ebbc1
commit
590517f040
@ -439,8 +439,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
crypto@1e004000 {
|
crypto@1e004000 {
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
compatible = "mediatek,mtk-eip93";
|
compatible = "mediatek,mtk-eip93";
|
||||||
reg = <0x1e004000 0x1000>;
|
reg = <0x1e004000 0x1000>;
|
||||||
|
|
||||||
@ -448,7 +446,7 @@
|
|||||||
interrupts = <GIC_SHARED 19 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SHARED 19 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
ethsys: syscon@1e000000 {
|
ethsys: ethsys@1e000000 {
|
||||||
compatible = "mediatek,mt7621-ethsys",
|
compatible = "mediatek,mt7621-ethsys",
|
||||||
"syscon";
|
"syscon";
|
||||||
reg = <0x1e000000 0x1000>;
|
reg = <0x1e000000 0x1000>;
|
||||||
@ -492,7 +490,13 @@
|
|||||||
compatible = "mediatek,eth-mac";
|
compatible = "mediatek,eth-mac";
|
||||||
reg = <1>;
|
reg = <1>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
phy-mode = "rgmii-rxid";
|
phy-mode = "rgmii";
|
||||||
|
|
||||||
|
fixed-link {
|
||||||
|
speed = <1000>;
|
||||||
|
full-duplex;
|
||||||
|
pause;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
mdio: mdio-bus {
|
mdio: mdio-bus {
|
||||||
@ -557,11 +561,57 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hnat: hnat@1e100000 {
|
||||||
|
compatible = "mediatek,mtk-hnat_v1";
|
||||||
|
ext-devices = "apcli0", "apclii0","apclix0",
|
||||||
|
"ra0", "rai0", "rax0", "wlan0", "wlan1";
|
||||||
|
reg = <0x1e100000 0x3000>;
|
||||||
|
|
||||||
|
resets = <ðsys 0>;
|
||||||
|
reset-names = "mtketh";
|
||||||
|
|
||||||
|
mtketh-wan = "wan";
|
||||||
|
mtketh-ppd = "lan";
|
||||||
|
mtketh-lan = "lan";
|
||||||
|
mtketh-max-gmac = <1>;
|
||||||
|
mtkdsa-wan-port = <4>;
|
||||||
|
};
|
||||||
|
|
||||||
gsw: gsw@1e110000 {
|
gsw: gsw@1e110000 {
|
||||||
compatible = "mediatek,mt7621-gsw";
|
compatible = "mediatek,mt753x";
|
||||||
reg = <0x1e110000 0x8000>;
|
reg = <0x1e110000 0x8000>;
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
|
||||||
|
mediatek,mcm;
|
||||||
|
mediatek,mdio = <&mdio>;
|
||||||
|
mt7530,direct-phy-access;
|
||||||
|
|
||||||
|
resets = <&rstctrl 2>;
|
||||||
|
reset-names = "mcm";
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
port@5 {
|
||||||
|
compatible = "mediatek,mt753x-port";
|
||||||
|
reg = <5>;
|
||||||
|
phy-mode = "rgmii";
|
||||||
|
|
||||||
|
fixed-link {
|
||||||
|
speed = <1000>;
|
||||||
|
full-duplex;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
port@6 {
|
||||||
|
compatible = "mediatek,mt753x-port";
|
||||||
|
reg = <6>;
|
||||||
|
phy-mode = "rgmii";
|
||||||
|
|
||||||
|
fixed-link {
|
||||||
|
speed = <1000>;
|
||||||
|
full-duplex;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie: pcie@1e140000 {
|
pcie: pcie@1e140000 {
|
||||||
|
Loading…
Reference in New Issue
Block a user