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