[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220228174837.602758-1-icenowy@aosc.io>
Date: Tue, 1 Mar 2022 01:48:36 +0800
From: Icenowy Zheng <icenowy@...c.io>
To: Rob Herring <robh+dt@...nel.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>
Cc: devicetree@...r.kernel.org, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org, Icenowy Zheng <icenowy@...c.io>
Subject: [PATCH 1/2] riscv: dts: sifive: sort Unleashed DT nodes under /
The device tree nodes at root in HiFive Unleashed DT is currently not
sorted.
Sort them alphabetically.
Signed-off-by: Icenowy Zheng <icenowy@...c.io>
---
.../boot/dts/sifive/hifive-unleashed-a00.dts | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
index ced0d4e479385..44824d7e50ac7 100644
--- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
+++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
@@ -20,9 +20,9 @@ cpus {
timebase-frequency = <RTCCLK_FREQ>;
};
- memory@...00000 {
- device_type = "memory";
- reg = <0x0 0x80000000 0x2 0x00000000>;
+ gpio-restart {
+ compatible = "gpio-restart";
+ gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
};
hfclk: hfclk {
@@ -32,16 +32,17 @@ hfclk: hfclk {
clock-output-names = "hfclk";
};
+ memory@...00000 {
+ device_type = "memory";
+ reg = <0x0 0x80000000 0x2 0x00000000>;
+ };
+
rtcclk: rtcclk {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <RTCCLK_FREQ>;
clock-output-names = "rtcclk";
};
- gpio-restart {
- compatible = "gpio-restart";
- gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
- };
};
&uart0 {
--
2.30.2
Powered by blists - more mailing lists