Merge tag 'cris-for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper...
[cascardo/linux.git] / arch / arm64 / boot / dts / qcom / apq8016-sbc.dtsi
index 18639bc..bb062b5 100644 (file)
                /* On High speed expansion */
                        label = "HS-I2C2";
                        status = "okay";
+
+                       adv_bridge: bridge@39 {
+                               status = "okay";
+
+                               compatible = "adi,adv7533";
+                               reg = <0x39>;
+
+                               interrupt-parent = <&msmgpio>;
+                               interrupts = <31 2>;
+
+                               adi,dsi-lanes = <4>;
+
+                               pd-gpios = <&msmgpio 32 0>;
+
+                               avdd-supply = <&pm8916_l6>;
+                               v1p2-supply = <&pm8916_l6>;
+                               v3p3-supply = <&pm8916_l17>;
+
+                               pinctrl-names = "default","sleep";
+                               pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;
+                               pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;
+
+                               ports {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       port@0 {
+                                               reg = <0>;
+                                               adv7533_in: endpoint {
+                                                       remote-endpoint = <&dsi0_out>;
+                                               };
+                                       };
+
+                                       port@1 {
+                                               reg = <1>;
+                                               adv7533_out: endpoint {
+                                                       remote-endpoint = <&hdmi_con>;
+                                               };
+                                       };
+                               };
+                       };
                };
 
                i2c@78ba000 {
                lpass@07708000 {
                        status = "okay";
                };
+
+               mdss@1a00000 {
+                       status = "okay";
+
+                       mdp@1a01000 {
+                               status = "okay";
+                       };
+
+                       dsi@1a98000 {
+                               status = "okay";
+
+                               vdda-supply = <&pm8916_l2>;
+                               vddio-supply = <&pm8916_l6>;
+
+                               ports {
+                                       port@1 {
+                                               endpoint {
+                                                       remote-endpoint = <&adv7533_in>;
+                                                       data-lanes = <0 1 2 3>;
+                                               };
+                                       };
+                               };
+                       };
+
+                       dsi-phy@1a98300 {
+                               status = "okay";
+
+                               vddio-supply = <&pm8916_l6>;
+                       };
+               };
        };
 
        usb2513 {
                pinctrl-names = "default";
                pinctrl-0 = <&usb_id_default>;
        };
+
+       hdmi-out {
+               compatible = "hdmi-connector";
+               type = "a";
+
+               port {
+                       hdmi_con: endpoint {
+                               remote-endpoint = <&adv7533_out>;
+                       };
+               };
+       };
 };
 
 &smd_rpm_regulators {