diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-02-10 11:27:44 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-02-10 11:28:04 +0100 |
commit | c382fe857df16b40e499be2ec81a258ce1b9a98d (patch) | |
tree | a13e5eb6c432eca46436ac73c46d910f5fd0eb25 /target/linux/bcm4908/patches-5.4/302-arm64-dts-broadcom-bcm4908-describe-Ethernet-control.patch | |
parent | 670bfc86c89675cb153f54b39ffb900af1164ad4 (diff) | |
download | upstream-c382fe857df16b40e499be2ec81a258ce1b9a98d.tar.gz upstream-c382fe857df16b40e499be2ec81a258ce1b9a98d.tar.bz2 upstream-c382fe857df16b40e499be2ec81a258ce1b9a98d.zip |
bcm4908: update Ethernet driver
Use the latest version sent upsteram.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm4908/patches-5.4/302-arm64-dts-broadcom-bcm4908-describe-Ethernet-control.patch')
-rw-r--r-- | target/linux/bcm4908/patches-5.4/302-arm64-dts-broadcom-bcm4908-describe-Ethernet-control.patch | 46 |
1 files changed, 22 insertions, 24 deletions
diff --git a/target/linux/bcm4908/patches-5.4/302-arm64-dts-broadcom-bcm4908-describe-Ethernet-control.patch b/target/linux/bcm4908/patches-5.4/302-arm64-dts-broadcom-bcm4908-describe-Ethernet-control.patch index 755292dacf..f70487cecc 100644 --- a/target/linux/bcm4908/patches-5.4/302-arm64-dts-broadcom-bcm4908-describe-Ethernet-control.patch +++ b/target/linux/bcm4908/patches-5.4/302-arm64-dts-broadcom-bcm4908-describe-Ethernet-control.patch @@ -10,40 +10,38 @@ BCM4908 SoCs have an integrated Ethernet controller. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> --- ---- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts -+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts -@@ -87,6 +87,17 @@ - full-duplex; - }; - }; -+ -+ port@8 { -+ reg = <8>; -+ phy-mode = "internal"; -+ brcm,use-bcm-hdr; -+ ethernet = <&gmac>; -+ fixed-link { -+ speed = <1000>; -+ full-duplex; -+ }; -+ }; - }; - - &mdio { --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi -@@ -112,6 +112,14 @@ +@@ -112,6 +112,13 @@ #size-cells = <1>; ranges = <0x00 0x00 0x80000000 0x281000>; -+ gmac: ethernet@2000 { -+ compatible = "brcm,bcm4908enet"; ++ enet: ethernet@2000 { ++ compatible = "brcm,bcm4908-enet"; + reg = <0x2000 0x1000>; + + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; -+ interrupt-names = "rx"; + }; + usb_phy: usb-phy@c200 { compatible = "brcm,bcm4908-usb-phy"; reg = <0xc200 0x100>; +@@ -199,6 +206,18 @@ + phy-mode = "internal"; + phy-handle = <&phy11>; + }; ++ ++ port@8 { ++ reg = <8>; ++ phy-mode = "internal"; ++ brcm,use-bcm-hdr; ++ ethernet = <&enet>; ++ ++ fixed-link { ++ speed = <1000>; ++ full-duplex; ++ }; ++ }; + }; + }; + |