armbian_build/patch/kernel/archive/sunxi-6.12/patches.armbian/arm-dts-sun4i-pcduino2-add-hdmi.patch

65 lines
1.4 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ryzer58 <ryestar101@gmail.com>
Date: Mon, 24 Feb 2025 23:12:01 +0000
Subject: Add HDMI support for pcDuino 1 and 2 by including HDMI and DE nodes
Signed-off-by: Ryzer58 <ryestar101@gmail.com>
---
arch/arm/boot/dts/allwinner/sun4i-a10-pcduino.dts | 25 ++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm/boot/dts/allwinner/sun4i-a10-pcduino.dts b/arch/arm/boot/dts/allwinner/sun4i-a10-pcduino.dts
index a332d61fd561..b54f54ecc026 100644
--- a/arch/arm/boot/dts/allwinner/sun4i-a10-pcduino.dts
+++ b/arch/arm/boot/dts/allwinner/sun4i-a10-pcduino.dts
@@ -72,10 +72,21 @@ led-1 {
label = "pcduino:green:rx";
gpios = <&pio 7 16 GPIO_ACTIVE_LOW>;
};
};
+ hdmi-connector {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con_in: endpoint {
+ remote-endpoint = <&hdmi_out_con>;
+ };
+ };
+ };
+
gpio-keys {
compatible = "gpio-keys";
key-back {
label = "Key Back";
@@ -125,10 +136,24 @@ axp209: pmic@34 {
reg = <0x34>;
interrupts = <0>;
};
};
+&de {
+ status = "okay";
+};
+
+&hdmi {
+ status = "okay";
+};
+
+&hdmi_out {
+ hdmi_out_con: endpoint {
+ remote-endpoint = <&hdmi_con_in>;
+ };
+};
+
&mdio {
status = "okay";
phy1: ethernet-phy@1 {
reg = <1>;
--
Created with Armbian build tools https://github.com/armbian/build