Denis Carikli | 04e151e | 2014-05-22 16:00:43 +0200 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2013 Eukréa Electromatique <denis@eukrea.com> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; either version 2 |
| 7 | * of the License, or (at your option) any later version. |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
| 14 | #include "imx25-eukrea-mbimxsd25-baseboard.dts" |
| 15 | |
| 16 | / { |
| 17 | model = "Eukrea MBIMXSD25 with the DVI-VGA Display"; |
| 18 | compatible = "eukrea,mbimxsd25-baseboard-dvi-vga", "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25"; |
| 19 | |
| 20 | dvi_vga: display { |
| 21 | model = "DVI-VGA"; |
| 22 | bits-per-pixel = <16>; |
| 23 | fsl,pcr = <0xfa208b80>; |
| 24 | bus-width = <18>; |
| 25 | native-mode = <&dvi_vga_timings>; |
| 26 | display-timings { |
| 27 | dvi_vga_timings: 640x480 { |
| 28 | clock-frequency = <31250000>; |
| 29 | hactive = <640>; |
| 30 | vactive = <480>; |
| 31 | hback-porch = <100>; |
| 32 | hfront-porch = <100>; |
| 33 | vback-porch = <7>; |
| 34 | vfront-porch = <100>; |
| 35 | hsync-len = <7>; |
| 36 | vsync-len = <7>; |
| 37 | }; |
| 38 | }; |
| 39 | }; |
| 40 | }; |
| 41 | |
| 42 | &lcdc { |
| 43 | display = <&dvi_vga>; |
| 44 | status = "okay"; |
| 45 | }; |