MLK-23234-10 arm64: dts: imx8mp-evk: enable adv7535 display
authorFancy Fang <chen.fang@nxp.com>
Tue, 24 Dec 2019 02:47:57 +0000 (10:47 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:22:29 +0000 (11:22 +0800)
Enable LCDIFv3 -> SEC DSIM -> ADV7535 display pipeline
on i.MX8MP EVK board by default.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
arch/arm64/boot/dts/freescale/imx8mp-evk.dts

index 2e5c4ea..0e77573 100644 (file)
        };
 };
 
+&i2c2 {
+       clock-frequency = <100000>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_i2c2>;
+       status = "okay";
+
+       adv_bridge: adv7535@3d {
+               compatible = "adi,adv7533";
+               reg = <0x3d>;
+               adi,addr-cec = <0x3b>;
+               adi,dsi-lanes = <4>;
+               status = "okay";
+
+               port {
+                       adv7535_from_dsim: endpoint {
+                               remote-endpoint = <&dsim_to_adv7535>;
+                       };
+               };
+       };
+};
+
 &i2c3 {
        clock-frequency = <400000>;
        pinctrl-names = "default";
        };
 };
 
+&lcdif1 {
+       status = "okay";
+};
+
+&mipi_dsi {
+       status = "okay";
+
+       port@1 {
+               dsim_to_adv7535: endpoint {
+                       remote-endpoint = <&adv7535_from_dsim>;
+                       attach-bridge;
+               };
+       };
+};
+
 &snvs_pwrkey {
        status = "okay";
 };
                >;
        };
 
+       pinctrl_i2c2: i2c2grp {
+               fsl,pins = <
+                       MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL         0x400001c3
+                       MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA         0x400001c3
+               >;
+       };
+
        pinctrl_i2c3: i2c3grp {
                fsl,pins = <
                        MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL         0x400001c3