diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts index a967a7b86f2c17..78273ec873ffea 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts @@ -134,6 +134,20 @@ vqmmc-supply = <&sd_io_1v8_reg>; }; +&genet { + phy-handle = <&phy1>; + phy-mode = "rgmii-rxid"; + status = "okay"; +}; + +&genet_mdio { + phy1: ethernet-phy@1 { + /* No PHY interrupt */ + reg = <0x1>; + led-modes = <0x00 0x08>; /* link/activity link */ + }; +}; + &leds { act_led: act { label = "led0"; diff --git a/arch/arm/boot/dts/bcm2838-rpi-4-b.dts b/arch/arm/boot/dts/bcm2838-rpi-4-b.dts index e65f924e1fd29e..7c3fc83fe66eba 100644 --- a/arch/arm/boot/dts/bcm2838-rpi-4-b.dts +++ b/arch/arm/boot/dts/bcm2838-rpi-4-b.dts @@ -98,6 +98,20 @@ vqmmc-supply = <&sd_io_1v8_reg>; }; +&genet { + phy-handle = <&phy1>; + phy-mode = "rgmii-rxid"; + status = "okay"; +}; + +&genet_mdio { + phy1: ethernet-phy@1 { + /* No PHY interrupt */ + reg = <0x1>; + led-modes = <0x00 0x08>; /* link/activity link */ + }; +}; + /* uart0 communicates with the BT module */ &uart0 { pinctrl-names = "default"; diff --git a/arch/arm/boot/dts/bcm2838.dtsi b/arch/arm/boot/dts/bcm2838.dtsi index bfde2a2ad3d00e..e6c79a2949e559 100644 --- a/arch/arm/boot/dts/bcm2838.dtsi +++ b/arch/arm/boot/dts/bcm2838.dtsi @@ -346,29 +346,20 @@ }; genet: ethernet@7d580000 { - compatible = "brcm,genet-v5"; + compatible = "brcm,bcm2711-genet-v5", "brcm,genet-v5"; reg = <0x0 0x7d580000 0x10000>; - status = "okay"; #address-cells = <0x1>; #size-cells = <0x1>; interrupts = , ; - phy-handle = <&phy1>; - phy-mode = "rgmii"; - mdio@e14 { + status = "disabled"; + + genet_mdio: mdio@e14 { #address-cells = <0x0>; #size-cells = <0x1>; compatible = "brcm,genet-mdio-v5"; reg = <0xe14 0x8>; reg-names = "mdio"; - phy1: ethernet-phy@0 { - compatible = - "ethernet-phy-ieee802.3-c22"; - /* No interrupts - use PHY_POLL */ - max-speed = <1000>; - reg = <0x1>; - led-modes = <0x00 0x08>; /* link/activity link */ - }; }; };