mirror of https://gitee.com/openkylin/linux.git
ARM: imx27-apf27dev: Add framebuffer support
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
parent
5d150eac17
commit
e724a2fc00
|
@ -16,6 +16,26 @@ / {
|
||||||
model = "Armadeus Systems APF27Dev docking/development board";
|
model = "Armadeus Systems APF27Dev docking/development board";
|
||||||
compatible = "armadeus,imx27-apf27dev", "armadeus,imx27-apf27", "fsl,imx27";
|
compatible = "armadeus,imx27-apf27dev", "armadeus,imx27-apf27", "fsl,imx27";
|
||||||
|
|
||||||
|
display: display {
|
||||||
|
model = "Chimei-LW700AT9003";
|
||||||
|
native-mode = <&timing0>;
|
||||||
|
bits-per-pixel = <16>; /* non-standard but required */
|
||||||
|
fsl,pcr = <0xfae80083>; /* non-standard but required */
|
||||||
|
display-timings {
|
||||||
|
timing0: 640x480 {
|
||||||
|
clock-frequency = <33000033>;
|
||||||
|
hactive = <800>;
|
||||||
|
vactive = <640>;
|
||||||
|
hback-porch = <96>;
|
||||||
|
hfront-porch = <96>;
|
||||||
|
vback-porch = <20>;
|
||||||
|
vfront-porch = <21>;
|
||||||
|
hsync-len = <64>;
|
||||||
|
vsync-len = <4>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
|
@ -50,6 +70,12 @@ &cspi2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&fb {
|
||||||
|
display = <&display>;
|
||||||
|
fsl,dmacr = <0x00020010>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
clock-frequency = <400000>;
|
clock-frequency = <400000>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
Loading…
Reference in New Issue