arm64: dts: apple: change ethernet0 device type to ethernet
authorJanne Grunau <j@jannau.net>
Mon, 22 Nov 2021 22:24:38 +0000 (23:24 +0100)
committerHector Martin <marcan@marcan.st>
Fri, 26 Nov 2021 06:41:21 +0000 (15:41 +0900)
Fixes make dtbs_check errors for t8103-j274.dts due to missing pci
properties.

Fixes: e1bebf978151 ("arm64: dts: apple: j274: Expose PCI node for the Ethernet MAC address")
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Janne Grunau <j@jannau.net>
Tested-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Hector Martin <marcan@marcan.st>
arch/arm64/boot/dts/apple/t8103-j274.dts

index 33a80f9501dcaec0f986d1bdaa91ae7d0c6a7027..02c36301e985087d73ebed31f465f5c8b6d0a6f5 100644 (file)
@@ -60,7 +60,7 @@
 
 &port02 {
        bus-range = <3 3>;
-       ethernet0: pci@0,0 {
+       ethernet0: ethernet@0,0 {
                reg = <0x30000 0x0 0x0 0x0 0x0>;
                /* To be filled by the loader */
                local-mac-address = [00 10 18 00 00 00];