summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-07-09 22:21:57 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-08-08 20:03:51 +0200
commitfbd073102c6910cc3b2f35b98ddc1fea5eb12795 (patch)
treed1869c3999cb9c9319b4c9379edfc730562b2b60 /arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
parent97c6d82b0f0a5a5e3f80a1554ae96c07aaa75dfe (diff)
downloadlwn-fbd073102c6910cc3b2f35b98ddc1fea5eb12795.tar.gz
lwn-fbd073102c6910cc3b2f35b98ddc1fea5eb12795.zip
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: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-orangepi-2.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-h3-orangepi-2.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
index f93f5d1695c4..f89fe00ddec5 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
@@ -54,6 +54,8 @@
aliases {
serial0 = &uart0;
+ /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
+ ethernet1 = &rtl8189;
};
chosen {
@@ -131,6 +133,14 @@
bus-width = <4>;
non-removable;
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 {