Skip to content
Snippets Groups Projects
Commit 05d69b12 authored by Dmitry Osipenko's avatar Dmitry Osipenko
Browse files

rk3588-rock-5b.dts cleanup

parent 88b41557
Branches hdmirx-cleanup
No related tags found
No related merge requests found
...@@ -52,18 +52,17 @@ led_rgb_b { ...@@ -52,18 +52,17 @@ led_rgb_b {
}; };
}; };
/* If hdmirx node is disabled, delete the reserved-memory node here. */
reserved-memory { reserved-memory {
#address-cells = <2>; #address-cells = <2>;
#size-cells = <2>; #size-cells = <2>;
ranges; ranges;
/* Reserve 256MB memory for hdmirx-controller@fdee0000 */ /* 4k HDMI capture controller */
cma { hdmirx_cma: hdmirx,cma {
compatible = "shared-dma-pool"; compatible = "shared-dma-pool";
reusable; alloc-ranges = <0x0 0x0 0x0 0xffffffff>;
reg = <0x0 (256 * 0x100000) 0x0 (256 * 0x100000)>; size = <0x0 (160 * 0x100000)>; /* 160MiB */
linux,cma-default; no-map;
}; };
}; };
...@@ -233,6 +232,7 @@ &hdmirx_ctrler { ...@@ -233,6 +232,7 @@ &hdmirx_ctrler {
hdmirx-5v-detection-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>; hdmirx-5v-detection-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_5v_detection>; pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_5v_detection>;
pinctrl-names = "default"; pinctrl-names = "default";
memory-region = <&hdmirx_cma>;
}; };
&i2c0 { &i2c0 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment