arm64: dts: rockchip: rk3588-evb1-lp4: enable hdmirx_ctrler

Enable hdmirx_ctrler and reserve cma memory for hdmi-in application

Change-Id: I033bcea55e03e168a73fb607c17d92468b6f2c34
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
Dingxian Wen
2022-01-20 10:52:49 +08:00
committed by Tao Huang
parent f2639a412c
commit 3e6fe49ea6

View File

@@ -10,6 +10,21 @@
#include "rk3588-rk806-dual.dtsi"
/ {
/* If hdmirx node is disabled, delete the reserved-memory node here. */
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
/* Reserve 256MB memory for hdmirx-controller@fdee0000 */
cma {
compatible = "shared-dma-pool";
reusable;
reg = <0x0 (256 * 0x100000) 0x0 (256 * 0x100000)>;
linux,cma-default;
};
};
es8388_sound: es8388-sound {
status = "okay";
compatible = "rockchip,multicodecs-card";
@@ -353,6 +368,15 @@
status = "okay";
};
/* Should work with at least 128MB cma reserved above. */
&hdmirx_ctrler {
status = "okay";
/* Effective level used to trigger HPD: 0-low, 1-high */
hpd-trigger-level = <1>;
hdmirx-det-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
};
&hdptxphy_hdmi0 {
status = "okay";
};