| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From b1bbe48eec190b6a35f400c5a3ec6b0fc8fc3fe6 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl> |
| 3 | Date: Fri, 19 Feb 2021 06:50:27 +0100 |
| 4 | Subject: [PATCH] arm64: dts: broadcom: bcm4908: describe Ethernet controller |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | BCM4908 SoCs have an integrated Ethernet controller. |
| 10 | |
| 11 | Signed-off-by: Rafał Miłecki <rafal@milecki.pl> |
| 12 | Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> |
| 13 | --- |
| 14 | .../boot/dts/broadcom/bcm4908/bcm4908.dtsi | 19 +++++++++++++++++++ |
| 15 | 1 file changed, 19 insertions(+) |
| 16 | |
| 17 | --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi |
| 18 | +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi |
| 19 | @@ -112,6 +112,14 @@ |
| 20 | #size-cells = <1>; |
| 21 | ranges = <0x00 0x00 0x80000000 0x281000>; |
| 22 | |
| 23 | + enet: ethernet@2000 { |
| 24 | + compatible = "brcm,bcm4908-enet"; |
| 25 | + reg = <0x2000 0x1000>; |
| 26 | + |
| 27 | + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 28 | + interrupt-names = "rx"; |
| 29 | + }; |
| 30 | + |
| 31 | usb_phy: usb-phy@c200 { |
| 32 | compatible = "brcm,bcm4908-usb-phy"; |
| 33 | reg = <0xc200 0x100>; |
| 34 | @@ -199,6 +207,17 @@ |
| 35 | phy-mode = "internal"; |
| 36 | phy-handle = <&phy11>; |
| 37 | }; |
| 38 | + |
| 39 | + port@8 { |
| 40 | + reg = <8>; |
| 41 | + phy-mode = "internal"; |
| 42 | + ethernet = <&enet>; |
| 43 | + |
| 44 | + fixed-link { |
| 45 | + speed = <1000>; |
| 46 | + full-duplex; |
| 47 | + }; |
| 48 | + }; |
| 49 | }; |
| 50 | }; |
| 51 | |