]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: meson: u200: add internal network
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 20 May 2019 13:14:00 +0000 (15:14 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 11 Jun 2019 22:50:01 +0000 (15:50 -0700)
The u200 is the main mother board for the S905D2. It can provide
both the internal and external network. However, by default the
resistance required for the external RGMII bus are not fitted, so
enable the internal PHY.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts

index e02534ab767327b9e41a9c818b05496b0c718164..8551fbd4a488cfd358c160104177e3a9e613108d 100644 (file)
@@ -15,6 +15,7 @@ / {
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
@@ -150,6 +151,12 @@ cvbs_vdac_out: endpoint {
        };
 };
 
+&ethmac {
+       status = "okay";
+       phy-handle = <&internal_ephy>;
+       phy-mode = "rmii";
+};
+
 &hdmi_tx {
        status = "okay";
        pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;