* [PATCH] mips: dts: ralink: mt7620a: rename nodes to generic names
@ 2022-04-21 17:39 Du Huanpeng
0 siblings, 0 replies; only message in thread
From: Du Huanpeng @ 2022-04-21 17:39 UTC (permalink / raw)
To: linux-mips
Cc: tsbogend, devicetree, krzysztof.kozlowski+dt, robh+dt,
linux-mediatek, Du Huanpeng
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@hodcarrier.org>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-21 17:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21 17:39 [PATCH] mips: dts: ralink: mt7620a: rename nodes to generic names Du Huanpeng
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).