[PATCH] mips: dts: ralink: mt7620a: rename nodes to generic names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The name of a node should be somewhat generic, reflecting the function
of the device and not its precise programming model.

- interrupt-controller
- syscon
- memory-controller
- serial

devicetree-specification-v0.3.pdf
link: https://github.com/devicetree-org/devicetree-specification/releases/tag/v0.3

Signed-off-by: Du Huanpeng <dhu@xxxxxxxxxxxxxx>
---
 arch/mips/boot/dts/ralink/mt7620a.dtsi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/mips/boot/dts/ralink/mt7620a.dtsi b/arch/mips/boot/dts/ralink/mt7620a.dtsi
index 1f6e5320f486..b9cbde603778 100644
--- a/arch/mips/boot/dts/ralink/mt7620a.dtsi
+++ b/arch/mips/boot/dts/ralink/mt7620a.dtsi
@@ -10,7 +10,7 @@ cpu@0 {
 		};
 	};
 
-	cpuintc: cpuintc {
+	cpuintc: interrupt-controller {
 		#address-cells = <0>;
 		#interrupt-cells = <1>;
 		interrupt-controller;
@@ -25,12 +25,12 @@ palmbus@10000000 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 
-		sysc@0 {
+		syscon@0 {
 			compatible = "ralink,mt7620a-sysc";
 			reg = <0x0 0x100>;
 		};
 
-		intc: intc@200 {
+		intc: interrupt-controller@200 {
 			compatible = "ralink,mt7620a-intc", "ralink,rt2880-intc";
 			reg = <0x200 0x100>;
 
@@ -41,12 +41,12 @@ intc: intc@200 {
 			interrupts = <2>;
 		};
 
-		memc@300 {
+		memory-controller@300 {
 			compatible = "ralink,mt7620a-memc", "ralink,rt3050-memc";
 			reg = <0x300 0x100>;
 		};
 
-		uartlite@c00 {
+		uartlite: serial@c00 {
 			compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a";
 			reg = <0xc00 0x100>;
 
-- 
2.25.1




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux