ARM: dts: imx6dl-prtvt7: Add display and panel nodes
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 11 Feb 2022 13:30:31 +0000 (14:30 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 13 Feb 2022 05:16:00 +0000 (13:16 +0800)
Add Innolux G070Y2-T02 panel to the Protonic VT7 board.

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-prtvt7.dts

index 190d266..be7c4cb 100644 (file)
                power-supply = <&reg_bl_12v0>;
        };
 
+       display {
+               compatible = "fsl,imx-parallel-display";
+               pinctrl-0 = <&pinctrl_ipu1_disp>;
+               pinctrl-names = "default";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               port@0 {
+                       reg = <0>;
+
+                       display_in: endpoint {
+                               remote-endpoint = <&ipu1_di0_disp0>;
+                       };
+               };
+
+               port@1 {
+                       reg = <1>;
+
+                       display_out: endpoint {
+                               remote-endpoint = <&panel_in>;
+                       };
+               };
+       };
+
        keys {
                compatible = "gpio-keys";
                autorepeat;
                };
        };
 
+       panel {
+               compatible = "innolux,g070y2-t02";
+               backlight = <&backlight_lcd>;
+               power-supply = <&reg_3v3>;
+
+               port {
+                       panel_in: endpoint {
+                               remote-endpoint = <&display_out>;
+                       };
+               };
+       };
+
        reg_bl_12v0: regulator-bl-12v0 {
                compatible = "regulator-fixed";
                pinctrl-names = "default";
                enable-active-high;
        };
 
+       reg_3v3: regulator-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+       };
+
        reg_1v8: regulator-1v8 {
                compatible = "regulator-fixed";
                regulator-name = "1v8";
        status = "okay";
 };
 
+&ipu1_di0_disp0 {
+       remote-endpoint = <&display_in>;
+};
+
 &pwm1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pwm1>;