summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@gmail.com>2021-11-20 11:20:24 +0100
committerMaxime Ripard <maxime@cerno.tech>2021-11-22 10:04:37 +0100
commitbbdde16e5d7ebfd2e04bc41f800ebbd5468336b1 (patch)
tree4baac9bedccea20208d471affd1809c0453e66ec
parent38df5750962c61b96d4e53358f31955fe310d4f5 (diff)
downloadlwn-bbdde16e5d7ebfd2e04bc41f800ebbd5468336b1.tar.gz
lwn-bbdde16e5d7ebfd2e04bc41f800ebbd5468336b1.zip
ARM: dts: sun8i: h3: beelink-x2: Add GPIO CEC node
Beelink X2 doesn't use HW CEC controller found in DW HDMI core. It has dedicated GPIO pin for that purpose. Add a node for it. Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20211120102024.439456-1-jernej.skrabec@gmail.com
-rw-r--r--arch/arm/boot/dts/sun8i-h3-beelink-x2.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
index 9dfd1a86b6c6..cd9f655e4f92 100644
--- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
+++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
@@ -57,6 +57,12 @@
ethernet1 = &sdiowifi;
};
+ cec-gpio {
+ compatible = "cec-gpio";
+ cec-gpios = <&pio 0 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PA14 */
+ hdmi-phandle = <&hdmi>;
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};