[PATCH 1/1] riscv: dts: spacemit: sort nodes on OrangePi RV2
Chukun Pan
amadeus at jmu.edu.cn
Sun Aug 2 03:01:01 PDT 2026
Sort the nodes for DT. Also reorder the properties of the sdhci0 node.
Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
---
.../boot/dts/spacemit/k1-orangepi-rv2.dts | 66 +++++++++----------
1 file changed, 33 insertions(+), 33 deletions(-)
diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
index b907a1396b21..9b970a963199 100644
--- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
@@ -25,6 +25,17 @@ chosen {
stdout-path = "serial0";
};
+ leds {
+ compatible = "gpio-leds";
+
+ led-1 {
+ label = "sys-led";
+ gpios = <&gpio K1_GPIO(96) GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "heartbeat";
+ default-state = "on";
+ };
+ };
+
pcie_vcc3v3: regulator-pcie-vcc3v3 {
compatible = "regulator-fixed";
enable-active-high;
@@ -63,17 +74,6 @@ vcc5v0_usb30: regulator-vcc5v0-usb30 {
regulator-max-microvolt = <5000000>;
vin-supply = <&vcc_5v0>;
};
-
- leds {
- compatible = "gpio-leds";
-
- led1 {
- label = "sys-led";
- gpios = <&gpio K1_GPIO(96) GPIO_ACTIVE_LOW>;
- linux,default-trigger = "heartbeat";
- default-state = "on";
- };
- };
};
&combo_phy {
@@ -138,10 +138,6 @@ rgmii1: phy at 1 {
};
};
-&pdma {
- status = "okay";
-};
-
&i2c8 {
pinctrl-names = "default";
pinctrl-0 = <&i2c8_cfg>;
@@ -290,6 +286,10 @@ &pcie2 {
status = "okay";
};
+&pdma {
+ status = "okay";
+};
+
&qspi {
pinctrl-names = "default";
pinctrl-0 = <&qspi_cfg>;
@@ -335,6 +335,24 @@ uboot at a0000 {
};
};
+&sdhci0 {
+ bus-width = <4>;
+ cap-sd-highspeed;
+ cd-gpios = <&gpio K1_GPIO(80) GPIO_ACTIVE_LOW>;
+ disable-wp;
+ no-mmc;
+ no-sdio;
+ pinctrl-names = "default", "uhs";
+ pinctrl-0 = <&mmc1_cfg>;
+ pinctrl-1 = <&mmc1_uhs_cfg>;
+ sd-uhs-sdr25;
+ sd-uhs-sdr50;
+ sd-uhs-sdr104;
+ vmmc-supply = <&buck4_3v3>;
+ vqmmc-supply = <&aldo1>;
+ status = "okay";
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_2_cfg>;
@@ -366,21 +384,3 @@ hub_3_0: hub at 2 {
vdd-supply = <&vcc_5v0>;
};
};
-
-&sdhci0 {
- pinctrl-names = "default", "uhs";
- pinctrl-0 = <&mmc1_cfg>;
- pinctrl-1 = <&mmc1_uhs_cfg>;
- bus-width = <4>;
- cd-gpios = <&gpio K1_GPIO(80) GPIO_ACTIVE_LOW>;
- no-mmc;
- no-sdio;
- disable-wp;
- cap-sd-highspeed;
- vmmc-supply = <&buck4_3v3>;
- vqmmc-supply = <&aldo1>;
- sd-uhs-sdr25;
- sd-uhs-sdr50;
- sd-uhs-sdr104;
- status = "okay";
-};
--
2.34.1
More information about the linux-riscv
mailing list