Commit fbd07310 authored by Hans de Goede's avatar Hans de Goede Committed by Maxime Ripard

ARM: dts: sun8i: Add ethernet1 alias to Orange Pi 2 dts

This will allow u-boot to fill in a mac-address for Orange Pi 2
variants which use an sdio wifi without an eeprom for the mac.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 97c6d82b
...@@ -54,6 +54,8 @@ / { ...@@ -54,6 +54,8 @@ / {
aliases { aliases {
serial0 = &uart0; serial0 = &uart0;
/* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
ethernet1 = &rtl8189;
}; };
chosen { chosen {
...@@ -131,6 +133,14 @@ &mmc1 { ...@@ -131,6 +133,14 @@ &mmc1 {
bus-width = <4>; bus-width = <4>;
non-removable; non-removable;
status = "okay"; status = "okay";
/*
* Explicitly define the sdio device, so that we can add an ethernet
* alias for it (which e.g. makes u-boot set a mac-address).
*/
rtl8189: sdio_wifi@1 {
reg = <1>;
};
}; };
&pio { &pio {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment