1 Rockchip RK3399 specific extensions to the cdn 1 Rockchip RK3399 specific extensions to the cdn Display Port 2 ================================ 2 ================================ 3 3 4 Required properties: 4 Required properties: 5 - compatible: must be "rockchip,rk3399-cdn-dp" 5 - compatible: must be "rockchip,rk3399-cdn-dp" 6 6 7 - reg: physical base address of the controller 7 - reg: physical base address of the controller and length 8 8 9 - clocks: from common clock binding: handle to 9 - clocks: from common clock binding: handle to dp clock. 10 10 11 - clock-names: from common clock binding: 11 - clock-names: from common clock binding: 12 Required elements: "core-clk" " 12 Required elements: "core-clk" "pclk" "spdif" "grf" 13 13 14 - resets : a list of phandle + reset specifier 14 - resets : a list of phandle + reset specifier pairs 15 - reset-names : string of reset names 15 - reset-names : string of reset names 16 Required elements: "apb", "cor 16 Required elements: "apb", "core", "dptx", "spdif" 17 - power-domains : power-domain property define 17 - power-domains : power-domain property defined with a phandle 18 to respective power domain. 18 to respective power domain. 19 - assigned-clocks: main clock, should be <&cru 19 - assigned-clocks: main clock, should be <&cru SCLK_DP_CORE> 20 - assigned-clock-rates : the DP core clk frequ 20 - assigned-clock-rates : the DP core clk frequency, shall be: 100000000 21 21 22 - rockchip,grf: this soc should set GRF regs, 22 - rockchip,grf: this soc should set GRF regs, so need get grf here. 23 23 24 - ports: contain a port nodes with endpoint de 24 - ports: contain a port nodes with endpoint definitions as defined in 25 Documentation/devicetree/bindings/med 25 Documentation/devicetree/bindings/media/video-interfaces.txt. 26 contained 2 endpoints, connecting to 26 contained 2 endpoints, connecting to the output of vop. 27 27 28 - phys: from general PHY binding: the phandle 28 - phys: from general PHY binding: the phandle for the PHY device. 29 29 30 - extcon: extcon specifier for the Power Deliv 30 - extcon: extcon specifier for the Power Delivery 31 31 32 - #sound-dai-cells = it must be 1 if your syst 32 - #sound-dai-cells = it must be 1 if your system is using 2 DAIs: I2S, SPDIF 33 33 34 ---------------------------------------------- 34 ------------------------------------------------------------------------------- 35 35 36 Example: 36 Example: 37 cdn_dp: dp@fec00000 { 37 cdn_dp: dp@fec00000 { 38 compatible = "rockchip,rk3399- 38 compatible = "rockchip,rk3399-cdn-dp"; 39 reg = <0x0 0xfec00000 0x0 0x10 39 reg = <0x0 0xfec00000 0x0 0x100000>; 40 interrupts = <GIC_SPI 9 IRQ_TY 40 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 41 clocks = <&cru SCLK_DP_CORE>, 41 clocks = <&cru SCLK_DP_CORE>, <&cru PCLK_DP_CTRL>, 42 <&cru SCLK_SPDIF_REC_ 42 <&cru SCLK_SPDIF_REC_DPTX>, <&cru PCLK_VIO_GRF>; 43 clock-names = "core-clk", "pcl 43 clock-names = "core-clk", "pclk", "spdif", "grf"; 44 assigned-clocks = <&cru SCLK_D 44 assigned-clocks = <&cru SCLK_DP_CORE>; 45 assigned-clock-rates = <100000 45 assigned-clock-rates = <100000000>; 46 power-domains = <&power RK3399 46 power-domains = <&power RK3399_PD_HDCP>; 47 phys = <&tcphy0_dp>, <&tcphy1_ 47 phys = <&tcphy0_dp>, <&tcphy1_dp>; 48 resets = <&cru SRST_DPTX_SPDIF 48 resets = <&cru SRST_DPTX_SPDIF_REC>; 49 reset-names = "spdif"; 49 reset-names = "spdif"; 50 extcon = <&fusb0>, <&fusb1>; 50 extcon = <&fusb0>, <&fusb1>; 51 rockchip,grf = <&grf>; 51 rockchip,grf = <&grf>; 52 #address-cells = <1>; 52 #address-cells = <1>; 53 #size-cells = <0>; 53 #size-cells = <0>; 54 #sound-dai-cells = <1>; 54 #sound-dai-cells = <1>; 55 55 56 ports { 56 ports { 57 #address-cells = <1>; 57 #address-cells = <1>; 58 #size-cells = <0>; 58 #size-cells = <0>; 59 59 60 dp_in: port { 60 dp_in: port { 61 #address-cells 61 #address-cells = <1>; 62 #size-cells = 62 #size-cells = <0>; 63 dp_in_vopb: en 63 dp_in_vopb: endpoint@0 { 64 reg = 64 reg = <0>; 65 remote 65 remote-endpoint = <&vopb_out_dp>; 66 }; 66 }; 67 67 68 dp_in_vopl: en 68 dp_in_vopl: endpoint@1 { 69 reg = 69 reg = <1>; 70 remote 70 remote-endpoint = <&vopl_out_dp>; 71 }; 71 }; 72 }; 72 }; 73 }; 73 }; 74 }; 74 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.