mirror of
https://github.com/armbian/build.git
synced 2025-08-14 07:06:58 +02:00
* rockchip: add Orange Pi R1 Plus support Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn> * rockchip: nanopi-r2s: add gpio for the lan/wan leds
53 lines
1.1 KiB
Diff
53 lines
1.1 KiB
Diff
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dts b/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dts
|
|
new file mode 100644
|
|
index 000000000..2ee07d15a
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dts
|
|
@@ -0,0 +1,46 @@
|
|
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
+/*
|
|
+ * Copyright (c) 2020 Shenzhen Xunlong Software CO.,Limited
|
|
+ * Copyright (c) 2021 AmadeusGhost <amadeus@jmu.edu.cn>
|
|
+ *
|
|
+ * Based on Nanopi R2S
|
|
+ */
|
|
+
|
|
+#include "rk3328-nanopi-r2-rev00.dts"
|
|
+
|
|
+/ {
|
|
+ model = "Xunlong Orange Pi R1 Plus";
|
|
+ compatible = "xunlong,orangepi-r1-plus", "rockchip,rk3328";
|
|
+};
|
|
+
|
|
+&leds_gpio {
|
|
+ rockchip,pins = <3 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
+};
|
|
+
|
|
+&leds {
|
|
+ led@1 {
|
|
+ gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
|
|
+ };
|
|
+};
|
|
+
|
|
+&mach {
|
|
+ compatible = "orangepi,board";
|
|
+ hwrev = <2>;
|
|
+ machine = "ORANGEPI-R1PLUS";
|
|
+ model = "OrangePi R1PLUS";
|
|
+};
|
|
+
|
|
+&spi0 {
|
|
+ max-freq = <48000000>;
|
|
+ status = "okay";
|
|
+
|
|
+ flash@0 {
|
|
+ compatible = "jedec,spi-nor";
|
|
+ reg = <0>;
|
|
+ spi-max-frequency = <10000000>;
|
|
+ };
|
|
+};
|
|
+
|
|
+&uart1 {
|
|
+ status = "okay";
|
|
+};
|