]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: Re-enable h3 emac support
authorHans de Goede <hdegoede@redhat.com>
Wed, 27 Jul 2016 16:06:35 +0000 (18:06 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sun, 31 Jul 2016 19:45:47 +0000 (21:45 +0200)
With the recent bug fixes for the sun8i_emac driver all known issues
are resolved, so we can re-enable the driver.

While at it, also enable the emac on the Orange Pi One.

Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Corentin LABBE <clabbe.montjoie@gmail.com>
Cc: Amit Singh Tomar <amittomer25@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Jagan Teki <jteki@openedev.com>
arch/arm/dts/sun8i-h3-orangepi-one.dts
configs/orangepi_one_defconfig
configs/orangepi_pc_defconfig
configs/orangepi_pc_plus_defconfig
configs/pine64_plus_defconfig

index 0adf932fd9239f7bd88712390e8b2ba2ad1110d7..8df5c74f04c49e06d8358a2350110809a868639d 100644 (file)
        status = "okay";
 };
 
+&emac {
+       phy = <&phy1>;
+       phy-mode = "mii";
+       allwinner,use-internal-phy;
+       allwinner,leds-active-low;
+       status = "okay";
+       phy1: ethernet-phy@1 {
+               reg = <1>;
+       };
+};
+
 &mmc0 {
        pinctrl-names = "default";
        pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
index be8afcab3673213a4608f1dcdb3435647b525fc9..81299e69241a71ddf74a796c6005bcfada4a4c22 100644 (file)
@@ -13,3 +13,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_USB_EHCI_HCD=y
+CONFIG_SUN8I_EMAC=y
index 366fa08af45a516f5b248baa0dfd5fb300c140e9..2281aedc782a23aa647d998ac8898dced4b0f69d 100644 (file)
@@ -14,3 +14,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_SY8106A_POWER=y
 CONFIG_USB_EHCI_HCD=y
+CONFIG_SUN8I_EMAC=y
index c78aec3213923164d76ae3aadcf6582e5e9ac5ce..3ec6dac7beb89b133302a14644f805b0b21edf1f 100644 (file)
@@ -15,3 +15,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_SY8106A_POWER=y
 CONFIG_USB_EHCI_HCD=y
+CONFIG_SUN8I_EMAC=y
index 0bf79bfd3346f7e5e978ff7057923af39cfe511a..5c97de1dccb89fd8766d395558218fb6324afe67 100644 (file)
@@ -10,3 +10,4 @@ CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pine64-plus"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK=y
+CONFIG_SUN8I_EMAC=y