Skip to content

Commit 65896f4

Browse files
knaerzchemmind
authored andcommitted
ARM: dts: rockchip: Add D-PHY for RK3128
The InnoSilicon D-PHY found in RK3128 SoCs supports DSI/LVDS/TTL with a maximum transfer rate of 1 Gbps per lane. While adding it, also add it's clocks to RK3128_PD_VIO powerdomain as the phy is part of it. Signed-off-by: Alex Bee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 57c69c9 commit 65896f4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

arch/arm/boot/dts/rockchip/rk3128.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@
216216
<&cru ACLK_LCDC0>,
217217
<&cru HCLK_LCDC0>,
218218
<&cru PCLK_MIPI>,
219+
<&cru PCLK_MIPIPHY>,
220+
<&cru SCLK_MIPI_24M>,
219221
<&cru ACLK_RGA>,
220222
<&cru HCLK_RGA>,
221223
<&cru ACLK_VIO0>,
@@ -496,6 +498,18 @@
496498
};
497499
};
498500

501+
dphy: phy@20038000 {
502+
compatible = "rockchip,rk3128-dsi-dphy";
503+
reg = <0x20038000 0x4000>;
504+
clocks = <&cru SCLK_MIPI_24M>, <&cru PCLK_MIPIPHY>;
505+
clock-names = "ref", "pclk";
506+
#phy-cells = <0>;
507+
power-domains = <&power RK3128_PD_VIO>;
508+
resets = <&cru SRST_MIPIPHY_P>;
509+
reset-names = "apb";
510+
status = "disabled";
511+
};
512+
499513
timer0: timer@20044000 {
500514
compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
501515
reg = <0x20044000 0x20>;

0 commit comments

Comments
 (0)