Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: exynos: Add Ethernet interface description for Odroid X/X2

Add Ethernet interface description for Odroid X/X2.

Add an alias to enable bootloaders to find the Ethernet interface
and assign a MAC address.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Link: https://lore.kernel.org/r/20201103184412.18874-7-l.stelmach@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

authored by

Łukasz Stelmach and committed by
Krzysztof Kozlowski
d9e1af3a 6eff2604

+26
+26
arch/arm/boot/dts/exynos4412-odroidx.dts
··· 15 15 model = "Hardkernel ODROID-X board based on Exynos4412"; 16 16 compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4"; 17 17 18 + aliases { 19 + ethernet = &ethernet; 20 + }; 21 + 18 22 memory@40000000 { 19 23 device_type = "memory"; 20 24 reg = <0x40000000 0x3FF00000>; ··· 64 60 }; 65 61 66 62 &ehci { 63 + #address-cells = <1>; 64 + #size-cells = <0>; 67 65 phys = <&exynos_usbphy 2>; 68 66 phy-names = "hsic0"; 67 + 68 + hub@2 { 69 + compatible = "usb0424,3503"; 70 + reg = <2>; 71 + #address-cells = <1>; 72 + #size-cells = <0>; 73 + 74 + hub@1 { 75 + compatible = "usb0424,9514"; 76 + reg = <1>; 77 + #address-cells = <1>; 78 + #size-cells = <0>; 79 + 80 + ethernet: usbether@1 { 81 + compatible = "usb0424,ec00"; 82 + reg = <1>; 83 + local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */ 84 + }; 85 + }; 86 + }; 69 87 }; 70 88 71 89 &gpio_keys {