aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.4/950-0378-ARM-dts-bcm2838-Backport-node-names-from-upstream.patch
blob: fb3a6a3806b6d31f13ad0f6e9497bc842ba13014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From 92606b5e0000c25f5daae6c17b0ab71e9fb4c3b4 Mon Sep 17 00:00:00 2001
From: Stefan Wahren <wahrenst@gmx.net>
Date: Wed, 25 Dec 2019 15:55:29 +0100
Subject: [PATCH] ARM: dts: bcm2838: Backport node names from upstream

According to devicetree specification the node name should describe
the general class of device like ethernet or interrupt-controller.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
---
 arch/arm/boot/dts/bcm2838.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/arch/arm/boot/dts/bcm2838.dtsi
+++ b/arch/arm/boot/dts/bcm2838.dtsi
@@ -27,7 +27,7 @@
 			reg = <0x40000000 0x100>;
 		};
 
-		gicv2: gic400@40041000 {
+		gicv2: interrupt-controller@40041000 {
 			interrupt-controller;
 			#interrupt-cells = <3>;
 			compatible = "arm,gic-400";
@@ -346,7 +346,7 @@
 			status = "okay";
 		};
 
-		genet: genet@7d580000 {
+		genet: ethernet@7d580000 {
 			compatible = "brcm,genet-v5";
 			reg = <0x0 0x7d580000 0x10000>;
 			status = "okay";
@@ -362,7 +362,7 @@
 				compatible = "brcm,genet-mdio-v5";
 				reg = <0xe14 0x8>;
 				reg-names = "mdio";
-				phy1: genet-phy@0 {
+				phy1: ethernet-phy@0 {
 					compatible =
 						"ethernet-phy-ieee802.3-c22";
 					/* No interrupts - use PHY_POLL */