* Copyright 2021 Ideas on Board Oy
*/
-/dts-v1/;
-/plugin/;
-
-&{/} {
+#define RENESAS_LVDS_OUTPUT lvds1
#include "panel-aa104xd12.dtsi"
-};
-
-&{/panel} {
- backlight = <&backlight>;
-
- port {
- panel_in: endpoint {
- remote-endpoint = <&lvds1_out>;
- };
- };
-};
-
-&lvds1 {
- status = "okay";
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@1 {
- reg = <1>;
-
- lvds1_out: endpoint {
- remote-endpoint = <&panel_in>;
- };
- };
- };
-};
* Copyright (C) 2014 Renesas Electronics Corp.
*/
-panel {
- compatible = "mitsubishi,aa104xd12", "panel-lvds";
-
- width-mm = <210>;
- height-mm = <158>;
- data-mapping = "jeida-18";
-
- panel-timing {
- /* 1024x768 @65Hz */
- clock-frequency = <65000000>;
- hactive = <1024>;
- vactive = <768>;
- hsync-len = <136>;
- hfront-porch = <20>;
- hback-porch = <160>;
- vfront-porch = <3>;
- vback-porch = <29>;
- vsync-len = <6>;
+/dts-v1/;
+/plugin/;
+
+&{/} {
+ panel {
+ compatible = "mitsubishi,aa104xd12", "panel-lvds";
+ backlight = <&backlight>;
+
+ width-mm = <210>;
+ height-mm = <158>;
+ data-mapping = "jeida-18";
+
+ panel-timing {
+ /* 1024x768 @65Hz */
+ clock-frequency = <65000000>;
+ hactive = <1024>;
+ vactive = <768>;
+ hsync-len = <136>;
+ hfront-porch = <20>;
+ hback-porch = <160>;
+ vfront-porch = <3>;
+ vback-porch = <29>;
+ vsync-len = <6>;
+ };
+
+ port {
+ lvds_panel_in: endpoint {
+ remote-endpoint = <&lvds_panel_out>;
+ };
+ };
};
+};
+
+&RENESAS_LVDS_OUTPUT {
+ status = "okay";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@1 {
+ reg = <1>;
- port {
+ lvds_panel_out: endpoint {
+ remote-endpoint = <&lvds_panel_in>;
+ };
+ };
};
};
* Copyright 2021 Ideas on Board Oy
*/
-/dts-v1/;
-/plugin/;
-
-&{/} {
+#define RENESAS_LVDS_OUTPUT lvds0
#include "panel-aa104xd12.dtsi"
-};
-
-&{/panel} {
- backlight = <&backlight>;
-
- port {
- panel_in: endpoint {
- remote-endpoint = <&lvds0_out>;
- };
- };
-};
-
-&lvds0 {
- status = "okay";
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@1 {
- reg = <1>;
-
- lvds0_out: endpoint {
- remote-endpoint = <&panel_in>;
- };
- };
- };
-};