]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Add HDMI1 node on RK3588
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 10 Dec 2024 23:06:16 +0000 (01:06 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 11 Feb 2025 09:20:31 +0000 (10:20 +0100)
Add support for the second HDMI TX port found on RK3588 SoC.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tested-by: Jagan Teki <jagan@edgeble.ai> # edgeble-6tops-modules
Tested-by: Alexandre ARNOUD <aarnoud@me.com>
Link: https://lore.kernel.org/r/20241211-rk3588-hdmi1-v2-3-02cdca22ff68@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi

index f5ffe593a1826b180f8144b1b688223fc95168d5..8b2edf362ce84960fccc5955f4d51eed1c7e9bc0 100644 (file)
                status = "disabled";
        };
 
+       hdmi1: hdmi@fdea0000 {
+               compatible = "rockchip,rk3588-dw-hdmi-qp";
+               reg = <0x0 0xfdea0000 0x0 0x20000>;
+               clocks = <&cru PCLK_HDMITX1>,
+                        <&cru CLK_HDMITX1_EARC>,
+                        <&cru CLK_HDMITX1_REF>,
+                        <&cru MCLK_I2S6_8CH_TX>,
+                        <&cru CLK_HDMIHDP1>,
+                        <&cru HCLK_VO1>;
+               clock-names = "pclk", "earc", "ref", "aud", "hdp", "hclk_vo1";
+               interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH 0>,
+                            <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH 0>,
+                            <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH 0>,
+                            <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH 0>,
+                            <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH 0>;
+               interrupt-names = "avp", "cec", "earc", "main", "hpd";
+               phys = <&hdptxphy1>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&hdmim2_tx1_cec &hdmim0_tx1_hpd
+                            &hdmim1_tx1_scl &hdmim1_tx1_sda>;
+               power-domains = <&power RK3588_PD_VO1>;
+               resets = <&cru SRST_HDMITX1_REF>, <&cru SRST_HDMIHDP1>;
+               reset-names = "ref", "hdp";
+               rockchip,grf = <&sys_grf>;
+               rockchip,vo-grf = <&vo1_grf>;
+               status = "disabled";
+
+               ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       hdmi1_in: port@0 {
+                               reg = <0>;
+                       };
+
+                       hdmi1_out: port@1 {
+                               reg = <1>;
+                       };
+               };
+       };
+
        pcie3x4: pcie@fe150000 {
                compatible = "rockchip,rk3588-pcie", "rockchip,rk3568-pcie";
                #address-cells = <3>;