powerpc: Add a vga alias node for P1022
authorJason Jin <Jason.Jin@freescale.com>
Mon, 17 Aug 2015 07:50:57 +0000 (15:50 +0800)
committerScott Wood <scottwood@freescale.com>
Mon, 17 Aug 2015 23:52:33 +0000 (18:52 -0500)
commite8c4b3dfe17a7e83ea134d6a857f9a3e8e71357f
tree5a326198b6c92c5601fbacf3329702632a067be1
parentc60232029aee84f69da0e74aa6f6d249edbbc80b
powerpc: Add a vga alias node for P1022

In u-boot, when set the video as console, the name 'vga' is used
as a general name for the video device, during the fdt_fixup_stdout
process, the 'vga' name is used to search in the dtb to setup the
'linux,stdout-path' node. Though the P1022 DIU is not VGA-compatible
device, to meet the 'vga' name used in u-boot, the vga alias node is
added for P1022 in this patch. At the same time, a display alias is
also added so that no other components grow dependencies on the vga
alias node.

Signed-off-by: Jason Jin <Jason.Jin@freescale.com>
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/boot/dts/fsl/p1022si-post.dtsi
arch/powerpc/boot/dts/fsl/p1022si-pre.dtsi