mirror of
https://github.com/andreili/SBC_builder.git
synced 2025-08-23 19:04:06 +02:00
158 lines
4.3 KiB
Diff
158 lines
4.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Muhammed Efe Cetin <efectn@protonmail.com>
|
|
Date: Tue, 10 Dec 2024 21:10:02 +0300
|
|
Subject: arm64: dts: rockchip: mark led as heartbeat indicator for Orange Pi
|
|
5+
|
|
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi
|
|
index 111111111111..222222222222 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi
|
|
@@ -93,7 +93,7 @@ led_blue_pwm: led-1 {
|
|
|
|
led_green_pwm: led-2 {
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
- function = LED_FUNCTION_INDICATOR;
|
|
+ function = LED_FUNCTION_HEARTBEAT;
|
|
function-enumerator = <2>;
|
|
max-brightness = <255>;
|
|
};
|
|
--
|
|
Armbian
|
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Muhammed Efe Cetin <efectn@protonmail.com>
|
|
Date: Tue, 10 Dec 2024 21:11:02 +0300
|
|
Subject: arm64: dts: rockchip: add bluetooth rfkill node for Orange Pi 5+
|
|
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
|
|
index 111111111111..222222222222 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
|
|
@@ -238,6 +238,13 @@ ir_receiver_pin: ir-receiver-pin {
|
|
};
|
|
};
|
|
|
|
+ rfkill-bt {
|
|
+ compatible = "rfkill-gpio";
|
|
+ label = "rfkill-m2-bt";
|
|
+ radio-type = "bluetooth";
|
|
+ shutdown-gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
|
|
+ };
|
|
+
|
|
sound {
|
|
hp_detect: hp-detect {
|
|
rockchip,pins = <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
--
|
|
Armbian
|
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Muhammed Efe Cetin <efectn@protonmail.com>
|
|
Date: Tue, 10 Dec 2024 21:11:43 +0300
|
|
Subject: arm64: dts: rockchip: fix hym8563 pinctrl for Orange Pi 5+
|
|
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
|
|
index 111111111111..222222222222 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
|
|
@@ -222,7 +222,7 @@ &pcie2x1l2 {
|
|
&pinctrl {
|
|
hym8563 {
|
|
hym8563_int: hym8563-int {
|
|
- rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
+ rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
};
|
|
};
|
|
|
|
--
|
|
Armbian
|
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Muhammed Efe Cetin <efectn@protonmail.com>
|
|
Date: Thu, 26 Dec 2024 23:45:39 +0300
|
|
Subject: arm64: dts: rockchip: add support for HDMI1 port to OPi5+
|
|
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 38 ++++++++++
|
|
1 file changed, 38 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
|
|
index 111111111111..222222222222 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
|
|
@@ -26,6 +26,17 @@ hdmi0_con_in: endpoint {
|
|
};
|
|
};
|
|
|
|
+ hdmi1-con {
|
|
+ compatible = "hdmi-connector";
|
|
+ type = "a";
|
|
+
|
|
+ port {
|
|
+ hdmi1_con_in: endpoint {
|
|
+ remote-endpoint = <&hdmi1_out_con>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
ir-receiver {
|
|
compatible = "gpio-ir-receiver";
|
|
gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>;
|
|
@@ -125,10 +136,30 @@ hdmi0_out_con: endpoint {
|
|
};
|
|
};
|
|
|
|
+&hdmi1 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&hdmi1_in {
|
|
+ hdmi1_in_vp1: endpoint {
|
|
+ remote-endpoint = <&vp1_out_hdmi1>;
|
|
+ };
|
|
+};
|
|
+
|
|
+&hdmi1_out {
|
|
+ hdmi1_out_con: endpoint {
|
|
+ remote-endpoint = <&hdmi1_con_in>;
|
|
+ };
|
|
+};
|
|
+
|
|
&hdptxphy0 {
|
|
status = "okay";
|
|
};
|
|
|
|
+&hdptxphy1 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&hym8563 {
|
|
interrupt-parent = <&gpio0>;
|
|
interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
|
|
@@ -349,3 +380,10 @@ vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
|
|
remote-endpoint = <&hdmi0_in_vp0>;
|
|
};
|
|
};
|
|
+
|
|
+&vp1 {
|
|
+ vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 {
|
|
+ reg = <ROCKCHIP_VOP2_EP_HDMI1>;
|
|
+ remote-endpoint = <&hdmi1_in_vp1>;
|
|
+ };
|
|
+};
|
|
--
|
|
Armbian
|
|
|