From: Mark Yao Date: Mon, 24 Jul 2017 07:28:53 +0000 (+0800) Subject: arm64: dts: rockchip: rk3366: add vop lite support X-Git-Tag: release-20171130_firefly~4^2~105 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1121ce783b81a9cedc3ec829068d940af3dad317;p=firefly-linux-kernel-4.4.55.git arm64: dts: rockchip: rk3366: add vop lite support Change-Id: I0e8afc5e7bc6b8e4f37b7d34e9126e931df68347 Signed-off-by: Mark Yao --- diff --git a/arch/arm64/boot/dts/rockchip/rk3366.dtsi b/arch/arm64/boot/dts/rockchip/rk3366.dtsi index f583cffd4949..b1b8898ebe49 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3366.dtsi @@ -867,16 +867,46 @@ display_subsystem: display-subsystem { compatible = "rockchip,display-subsystem"; - ports = <&vopb_out>; + ports = <&vopb_out>, <&vopl_out>; status = "disabled"; }; - vopb_mmu: iommu@ff8f3f00 { + vopl: vop@ff8f0000 { + compatible = "rockchip,rk3366-vop-lit"; + reg = <0x0 0xff8f0000 0x0 0x900>; + interrupts = ; + clocks = <&cru ACLK_VOP_LITE>, <&cru DCLK_VOP_LITE>, + <&cru HCLK_VOP_LITE>; + clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; + resets = <&cru SRST_VOP1_AXI>, <&cru SRST_VOP1_DCLK>, + <&cru SRST_VOP1_AHB>; + reset-names = "axi", "ahb", "dclk"; + power-domains = <&power RK3366_PD_VIO>; + iommus = <&vopl_mmu>; + status = "disabled"; + + vopl_out: port { + #address-cells = <1>; + #size-cells = <0>; + + vopl_out_dsi: endpoint@0 { + reg = <0>; + remote-endpoint = <&dsi_in_vopl>; + }; + + vopl_out_lvds: endpoint@1 { + reg = <1>; + remote-endpoint = <&lvds_in_vopl>; + }; + }; + }; + + vopl_mmu: iommu@ff8f0f00 { compatible = "rockchip,iommu"; - reg = <0x0 0xff932400 0x0 0x100>; - interrupts = ; - interrupt-names = "vop_mmu"; - clocks = <&cru ACLK_VOP_FULL>, <&cru DCLK_VOP_FULL>; + reg = <0x0 0xff8f0f00 0x0 0x100>; + interrupts = ; + interrupt-names = "vopl_mmu"; + clocks = <&cru ACLK_VOP_LITE>, <&cru HCLK_VOP_LITE>; clock-names = "aclk", "hclk"; power-domains = <&power RK3366_PD_VIO>; #iommu-cells = <0>; @@ -953,6 +983,18 @@ }; }; + vopb_mmu: iommu@ff932400 { + compatible = "rockchip,iommu"; + reg = <0x0 0xff932400 0x0 0x100>; + interrupts = ; + interrupt-names = "vop_mmu"; + clocks = <&cru ACLK_VOP_FULL>, <&cru HCLK_VOP_FULL>; + clock-names = "aclk", "hclk"; + power-domains = <&power RK3366_PD_VIO>; + #iommu-cells = <0>; + status = "disabled"; + }; + dsi: dsi@ff960000 { compatible = "rockchip,rk3366-mipi-dsi"; reg = <0x0 0xff960000 0x0 0x4000>; @@ -978,6 +1020,10 @@ reg = <0>; remote-endpoint = <&vopb_out_dsi>; }; + dsi_in_vopl: endpoint@1 { + reg = <1>; + remote-endpoint = <&vopl_out_dsi>; + }; }; }; }; @@ -1019,6 +1065,10 @@ reg = <0>; remote-endpoint = <&vopb_out_lvds>; }; + lvds_in_vopl: endpoint@1 { + reg = <1>; + remote-endpoint = <&vopl_out_lvds>; + }; }; };