@@ -72,7 +72,42 @@
};
&clcd {
+ interrupt-names = "combined";
+ max-memory-bandwidth = <11700000>; /* Bps, 240x320@60 16bpp */
status = "okay";
+
+ port {
+ clcd_pads: endpoint {
+ remote-endpoint = <&clcd_panel>;
+ arm,pl11x,tft-r0g0b0-pads = <3 10 19>; /* Set LCD to BGR 565 */
+ };
+ };
+
+ panel {
+ compatible = "panel-dpi";
+
+ port {
+ clcd_panel: endpoint {
+ remote-endpoint = <&clcd_pads>;
+ };
+ };
+
+ panel-timing {
+ clock-frequency = <5850000>;
+
+ hactive = <240>;
+ hback-porch = <11>;
+ hfront-porch = <22>;
+ hsync-len = <5>;
+
+ vactive = <320>;
+ vback-porch = <2>;
+ vfront-porch = <1>;
+ vsync-len = <2>;
+
+ pixelclk-active = <1>;
+ };
+ };
};
&i2c1 {