]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: rockchip: add mipi-dcphy to rk3576
authorHeiko Stuebner <heiko@sntech.de>
Mon, 7 Jul 2025 16:49:03 +0000 (18:49 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 22 Aug 2025 21:20:58 +0000 (23:20 +0200)
Add the MIPI-DC-phy node to the RK3576, that will be used by the one
DSI2 controller and hopefully in some future also for camera input.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250707164906.1445288-11-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3576.dtsi

index f28c5a3e4f4ca7e02a23c6863b14ea567f201ff1..0536aa8c3cb794dc8ee4e009b5803459f80685de 100644 (file)
                        reg = <0x0 0x26032000 0x0 0x100>;
                };
 
+               mipidcphy_grf: syscon@26034000 {
+                       compatible = "rockchip,rk3576-dcphy-grf", "syscon";
+                       reg = <0x0 0x26034000 0x0 0x2000>;
+                       clocks = <&cru PCLK_PMUPHY_ROOT>;
+               };
+
                vo1_grf: syscon@26036000 {
                        compatible = "rockchip,rk3576-vo1-grf", "syscon";
                        reg = <0x0 0x26036000 0x0 0x100>;
                        status = "disabled";
                };
 
+               mipidcphy: phy@2b020000 {
+                       compatible = "rockchip,rk3576-mipi-dcphy";
+                       reg = <0x0 0x2b020000 0x0 0x10000>;
+                       clocks = <&cru PCLK_MIPI_DCPHY>,
+                                <&cru CLK_PHY_REF_SRC>;
+                       clock-names = "pclk", "ref";
+                       resets = <&cru SRST_M_MIPI_DCPHY>,
+                                <&cru SRST_P_MIPI_DCPHY>,
+                                <&cru SRST_P_DCPHY_GRF>,
+                                <&cru SRST_S_MIPI_DCPHY>;
+                       reset-names = "m_phy", "apb", "grf", "s_phy";
+                       rockchip,grf = <&mipidcphy_grf>;
+                       #phy-cells = <1>;
+                       status = "disabled";
+               };
+
                combphy0_ps: phy@2b050000 {
                        compatible = "rockchip,rk3576-naneng-combphy";
                        reg = <0x0 0x2b050000 0x0 0x100>;