diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2019-11-11 20:49:26 +0100 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2019-11-14 21:35:58 +0100 |
commit | be8af7a9e3cce3cc4b7abbc8211dd06f8e72b976 (patch) | |
tree | 4563aaf21a2dd2c1815b66e8bcf787254064bec6 /arch/arm/boot/dts/bcm2711-rpi-4-b.dts | |
parent | ARM: dts: bcm2711: force CMA into first GB of memory (diff) | |
download | linux-be8af7a9e3cce3cc4b7abbc8211dd06f8e72b976.tar.xz linux-be8af7a9e3cce3cc4b7abbc8211dd06f8e72b976.zip |
ARM: dts: bcm2711-rpi-4: Enable GENET support
This enables the Gigabit Ethernet support on the Raspberry Pi 4.
The defined PHY mode is equivalent to the default register settings
in the downstream tree.
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm2711-rpi-4-b.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts index cccc1ccd19be..1b5a835f66bd 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts @@ -19,6 +19,10 @@ reg = <0 0 0>; }; + aliases { + ethernet0 = &genet; + }; + leds { act { gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; @@ -97,6 +101,19 @@ status = "okay"; }; +&genet { + phy-handle = <&phy1>; + phy-mode = "rgmii-rxid"; + status = "okay"; +}; + +&genet_mdio { + phy1: ethernet-phy@1 { + /* No PHY interrupt */ + reg = <0x1>; + }; +}; + /* uart0 communicates with the BT module */ &uart0 { pinctrl-names = "default"; |