2021-11-15 09:50:08

by Janne Grunau

[permalink] [raw]
Subject: [PATCH 1/1] arm64: dts: apple: change ethernet0 device type to ethernet

Fixes make dtbs_check errors for t8103-j274.dts due to missing pci
properties.

Signed-off-by: Janne Grunau <[email protected]>
---8<---

change based on the same pattern as in
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts

---
arch/arm64/boot/dts/apple/t8103-j274.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/apple/t8103-j274.dts b/arch/arm64/boot/dts/apple/t8103-j274.dts
index 33a80f9501dc..02c36301e985 100644
--- a/arch/arm64/boot/dts/apple/t8103-j274.dts
+++ b/arch/arm64/boot/dts/apple/t8103-j274.dts
@@ -60,7 +60,7 @@ &port01 {

&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];
--
2.33.1



2021-11-15 11:46:07

by Mark Kettenis

[permalink] [raw]
Subject: Re: [PATCH 1/1] arm64: dts: apple: change ethernet0 device type to ethernet

> From: Janne Grunau <[email protected]>
> Date: Mon, 15 Nov 2021 10:43:32 +0100
>
> Fixes make dtbs_check errors for t8103-j274.dts due to missing pci
> properties.
>
> Signed-off-by: Janne Grunau <[email protected]>

Yes, that is better.

Reviewed-by: Mark Kettenis <[email protected]>

> ---8<---
>
> change based on the same pattern as in
> arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
>
> ---
> arch/arm64/boot/dts/apple/t8103-j274.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/apple/t8103-j274.dts b/arch/arm64/boot/dts/apple/t8103-j274.dts
> index 33a80f9501dc..02c36301e985 100644
> --- a/arch/arm64/boot/dts/apple/t8103-j274.dts
> +++ b/arch/arm64/boot/dts/apple/t8103-j274.dts
> @@ -60,7 +60,7 @@ &port01 {
>
> &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];
> --
> 2.33.1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>