]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: meson: sei510: add network support
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 20 May 2019 13:14:01 +0000 (15:14 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 11 Jun 2019 22:50:01 +0000 (15:50 -0700)
Enable the network interface of the SEI510 which use the internal PHY.

Tested-by: Kevin Hilman <khilman@baylibre.com>
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-sei510.dts

index 484b93ef11d8597b531f0907f2738229fdce3294..be1d9ed6d5210a1f50194cbe06ecc42d2e7b1026 100644 (file)
@@ -29,6 +29,7 @@ button-onoff {
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
@@ -149,6 +150,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>;