From f50b772b0a9fef3dc809c199de0c084db55f36ad Mon Sep 17 00:00:00 2001 From: xuhuicong Date: Thu, 4 Aug 2016 13:43:10 +0800 Subject: [PATCH] arm64: dts: rockchip: add cdn-dp-fb node for rk3399 android Change-Id: Ie9651babf59d29547f6b506356cce5cd2618e5ae Signed-off-by: xuhuicong --- .../boot/dts/rockchip/rk3399-android.dtsi | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-android.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-android.dtsi index b5b3a31b758f..a88b8945b908 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-android.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-android.dtsi @@ -161,6 +161,58 @@ }; }; + cdn_dp_fb: dp-fb@fec00000 { + status = "disabled"; + compatible = "rockchip,rk3399-cdn-dp-fb"; + reg = <0x0 0xfec00000 0x0 0x100000>; + interrupts = ; + clocks = <&cru SCLK_DP_CORE>, <&cru PCLK_DP_CTRL>, + <&cru SCLK_SPDIF_REC_DPTX>; + clock-names = "core-clk", "pclk", "spdif"; + assigned-clocks = <&cru SCLK_DP_CORE>; + assigned-clock-rates = <100000000>; + power-domains = <&power RK3399_PD_HDCP>; + phys = <&tcphy0 0>, <&tcphy1 0>; + resets = <&cru SRST_DPTX_SPDIF_REC>; + reset-names = "spdif"; + rockchip,grf = <&grf>; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + }; + + cdn_dp_sound: cdn-dp-sound { + status = "disabled"; + compatible = "simple-audio-card"; + simple-audio-card,name = "rockchip,cdn-dp-fb"; + simple-audio-card,widgets = "Headphone", "Out Jack", + "Line", "In Jack"; + + simple-audio-card,dai-link@0 { + format = "i2s"; + mclk-fs = <256>; + + cpu { + sound-dai = <&i2s2>; + }; + + codec { + sound-dai = <&cdn_dp_fb 0>; + }; + }; + + simple-audio-card,dai-link@1 { + format = "spdif"; + cpu { + sound-dai = <&spdif>; + }; + + codec { + sound-dai = <&cdn_dp_fb 1>; + }; + }; + }; + vpu: vpu_service@ff650000 { compatible = "rockchip,vpu_service"; rockchip,grf = <&grf>; -- 2.34.1