diff options
author | John Crispin <john@phrozen.org> | 2020-02-25 17:15:07 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2020-02-25 17:15:32 +0100 |
commit | 083eb80bf23619fe3d972bc6d28338dc85baa333 (patch) | |
tree | 00d354e060d54606ad040ad299aec3d942969b5a /target/linux/mediatek/files-4.19/arch/arm64/boot | |
parent | ffd249366f96a6a94fac18909109a6c98a458de7 (diff) | |
download | upstream-083eb80bf23619fe3d972bc6d28338dc85baa333.tar.gz upstream-083eb80bf23619fe3d972bc6d28338dc85baa333.tar.bz2 upstream-083eb80bf23619fe3d972bc6d28338dc85baa333.zip |
mediatek: add latest fixes provided by MTK
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/mediatek/files-4.19/arch/arm64/boot')
-rw-r--r-- | target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 47 |
1 files changed, 38 insertions, 9 deletions
diff --git a/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts index 3805c5c4ce..ecd344c956 100644 --- a/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +++ b/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts @@ -23,7 +23,7 @@ chosen { stdout-path = "serial0:115200n8"; - bootargs = "earlycon=uart8250,mmio32,0x11002000 swiotlb=512"; + bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512"; }; cpus { @@ -55,6 +55,13 @@ }; }; + gsw: gsw@0 { + compatible = "mediatek,mt753x"; + mediatek,ethsys = <ðsys>; + #address-cells = <1>; + #size-cells = <0>; + }; + memory { reg = <0 0x40000000 0 0x3F000000>; }; @@ -84,14 +91,6 @@ regulator-boot-on; regulator-always-on; }; - - rtkgsw: rtkgsw@0 { - compatible = "mediatek,rtk-gsw"; - mediatek,ethsys = <ðsys>; - mediatek,mdio = <&mdio>; - mediatek,reset-pin = <&pio 54 0>; - status = "okay"; - }; }; &pcie { @@ -405,6 +404,36 @@ }; }; +&gsw { + mediatek,mdio = <&mdio>; + mediatek,portmap = "llllw"; + mediatek,mdio_master_pinmux = <0>; + reset-gpios = <&pio 54 0>; + interrupt-parent = <&pio>; + interrupts = <53 IRQ_TYPE_LEVEL_HIGH>; + status = "okay"; + + port5: port@5 { + compatible = "mediatek,mt753x-port"; + reg = <5>; + phy-mode = "rgmii"; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port6: port@6 { + compatible = "mediatek,mt753x-port"; + reg = <6>; + phy-mode = "sgmii"; + fixed-link { + speed = <2500>; + full-duplex; + }; + }; +}; + &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; |