arm64: dts: rk3399: sapphire-excavator: enabled hdmi sound
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3399-sapphire-excavator-edp.dts
index d4d609f3449f4e70beaff4d7000819e3853738c9..08cc37536bb5b150fce2f8970b0a9a814907f2ef 100644 (file)
@@ -44,6 +44,7 @@
 
 #include "rk3399-excavator-sapphire.dtsi"
 #include "rk3399-android.dtsi"
+#include "rk3399-vop-clk-set.dtsi"
 
 / {
        model = "Rockchip RK3399 Excavator Board edp (Android)";
        test-power {
                status = "okay";
        };
+
+       rt5651 {
+               status = "okay";
+       };
 };
 
 &backlight {
        status = "okay";
+       enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
+};
+
+&edp {
+       status = "okay";
+
+       ports {
+               edp_out: port@1 {
+                       reg = <1>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       edp_out_panel: endpoint@0 {
+                               reg = <0>;
+                               remote-endpoint = <&panel_in_edp>;
+                       };
+               };
+       };
+};
+
+&edp_in_vopl {
+       status = "disabled";
+};
+
+&hdmi {
+       status = "okay";
+};
+
+&hdmi_in_vopb {
+       status = "disabled";
+};
+
+&hdmi_sound {
+       status = "okay";
 };
 
 &i2s2 {
        };
 };
 
-&edp {
-       status = "okay";
+&vopb {
+       assigned-clocks = <&cru DCLK_VOP0_DIV>;
+       assigned-clock-parents = <&cru PLL_CPLL>;
+};
 
-       ports {
-               edp_out: port@1 {
-                       reg = <1>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
+&vopl {
+       assigned-clocks = <&cru DCLK_VOP1_DIV>;
+       assigned-clock-parents = <&cru PLL_VPLL>;
+};
 
-                       edp_out_panel: endpoint@0 {
-                               reg = <0>;
-                               remote-endpoint = <&panel_in_edp>;
-                       };
-               };
-       };
+&route_edp {
+       status = "okay";
 };
 
 &pinctrl {
        };
 };
 
-&backlight{
-       enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
-};
-
-&route_edp {
-       status = "okay";
-};