linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: exynos: Add Ethernet node for E850-96 board
@ 2025-07-31 23:45 Sam Protsenko
  2025-08-13 10:36 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Protsenko @ 2025-07-31 23:45 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski
  Cc: Conor Dooley, Alim Akhtar, linux-arm-kernel, linux-samsung-soc,
	devicetree, linux-kernel

The E850-96 board has a hard-wired LAN9514 chip which acts as a USB hub
and Ethernet bridge. It's being discovered dynamically when the USB bus
gets enumerated, but the corresponding Ethernet device tree node is
still needed for the bootloader to pass the MAC address through. Add
LAN9514 nodes as described in [1]. 'local-mac-address' property (in the
'ethernet' node) is used for MAC address handover from the bootloader to
Linux.

[1] Documentation/devicetree/bindings/net/microchip,lan95xx.yaml

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
---
 arch/arm64/boot/dts/exynos/exynos850-e850-96.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts b/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts
index 7d70a32e75b2..ab076d326a49 100644
--- a/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts
+++ b/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts
@@ -21,6 +21,7 @@ / {
 	compatible = "winlink,e850-96", "samsung,exynos850";
 
 	aliases {
+		ethernet0 = &ethernet;
 		mmc0 = &mmc_0;
 		serial0 = &serial_0;
 	};
@@ -241,10 +242,24 @@ &usbdrd {
 };
 
 &usbdrd_dwc3 {
+	#address-cells = <1>;
+	#size-cells = <0>;
 	dr_mode = "otg";
 	usb-role-switch;
 	role-switch-default-mode = "host";
 
+	hub@1 {
+		compatible = "usb424,9514";
+		reg = <1>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ethernet: ethernet@1 {
+			compatible = "usb424,ec00";
+			reg = <1>;
+		};
+	};
+
 	port {
 		usb1_drd_sw: endpoint {
 			remote-endpoint = <&usb_dr_connector>;
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: exynos: Add Ethernet node for E850-96 board
  2025-07-31 23:45 [PATCH] arm64: dts: exynos: Add Ethernet node for E850-96 board Sam Protsenko
@ 2025-08-13 10:36 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-13 10:36 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Sam Protsenko
  Cc: Conor Dooley, Alim Akhtar, linux-arm-kernel, linux-samsung-soc,
	devicetree, linux-kernel


On Thu, 31 Jul 2025 18:45:32 -0500, Sam Protsenko wrote:
> The E850-96 board has a hard-wired LAN9514 chip which acts as a USB hub
> and Ethernet bridge. It's being discovered dynamically when the USB bus
> gets enumerated, but the corresponding Ethernet device tree node is
> still needed for the bootloader to pass the MAC address through. Add
> LAN9514 nodes as described in [1]. 'local-mac-address' property (in the
> 'ethernet' node) is used for MAC address handover from the bootloader to
> Linux.
> 
> [...]

Applied, thanks!

[1/1] arm64: dts: exynos: Add Ethernet node for E850-96 board
      (no commit info)

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-13 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 23:45 [PATCH] arm64: dts: exynos: Add Ethernet node for E850-96 board Sam Protsenko
2025-08-13 10:36 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).