summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChukun Pan <amadeus@jmu.edu.cn>2026-08-02 18:01:01 +0800
committerYixun Lan <dlan@kernel.org>2026-09-10 23:26:45 +0000
commitd4871c29f21dda76990cd3138c72ceb71c856b93 (patch)
tree1fc4d76e649e591bc603a524b1a8061d1295a140
parent69f95409f0053f787ad60175944080621a8b7d95 (diff)
downloadlinux-next-d4871c29f21dda76990cd3138c72ceb71c856b93.tar.gz
linux-next-d4871c29f21dda76990cd3138c72ceb71c856b93.zip
riscv: dts: spacemit: sort nodes on OrangePi RV2
Sort the nodes for DT. Also reorder the properties of the sdhci0 node. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Acked-by: Yixun Lan <dlan@kernel.org> Link: https://patch.msgid.link/20260802100101.327815-1-amadeus@jmu.edu.cn Signed-off-by: Yixun Lan <dlan@kernel.org>
-rw-r--r--arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts66
1 files 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..f7547a4da71a 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 @@
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 @@
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 @@
};
};
-&pdma {
- status = "okay";
-};
-
&i2c8 {
pinctrl-names = "default";
pinctrl-0 = <&i2c8_cfg>;
@@ -290,6 +286,10 @@
status = "okay";
};
+&pdma {
+ status = "okay";
+};
+
&qspi {
pinctrl-names = "default";
pinctrl-0 = <&qspi_cfg>;
@@ -335,6 +335,24 @@
};
};
+&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 @@
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";
-};