put vo in board dts for easy configuration
This commit is contained in:
@ -53,6 +53,15 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* mipi dsi for u-boot */
|
||||||
|
&vo {
|
||||||
|
compatible = "cvitek,vo";
|
||||||
|
reset-gpio = <&porte 2 GPIO_ACTIVE_LOW>;
|
||||||
|
pwm-gpio = <&porte 0 GPIO_ACTIVE_HIGH>;
|
||||||
|
power-gpio = <&porte 1 GPIO_ACTIVE_HIGH>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
/* mipi dsi for kernel */
|
/* mipi dsi for kernel */
|
||||||
&mipi_tx {
|
&mipi_tx {
|
||||||
compatible = "cvitek,mipi_tx";
|
compatible = "cvitek,mipi_tx";
|
||||||
|
|||||||
@ -53,6 +53,15 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* mipi dsi for u-boot */
|
||||||
|
&vo {
|
||||||
|
compatible = "cvitek,vo";
|
||||||
|
reset-gpio = <&porte 2 GPIO_ACTIVE_LOW>;
|
||||||
|
pwm-gpio = <&porte 0 GPIO_ACTIVE_HIGH>;
|
||||||
|
power-gpio = <&porte 1 GPIO_ACTIVE_HIGH>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
/* mipi dsi for kernel */
|
/* mipi dsi for kernel */
|
||||||
&mipi_tx {
|
&mipi_tx {
|
||||||
compatible = "cvitek,mipi_tx";
|
compatible = "cvitek,mipi_tx";
|
||||||
|
|||||||
@ -737,7 +737,7 @@
|
|||||||
reg-names = "ive_base";
|
reg-names = "ive_base";
|
||||||
};
|
};
|
||||||
|
|
||||||
vo {
|
vo: vo {
|
||||||
compatible = "cvitek,vo";
|
compatible = "cvitek,vo";
|
||||||
reg = <0x0 0x0a080000 0x0 0x10000>, <0x0 0x0a0c8000 0x0 0xa0>, <0x0 0x0a0d1000 0x0 0x100>;
|
reg = <0x0 0x0a080000 0x0 0x10000>, <0x0 0x0a0c8000 0x0 0xa0>, <0x0 0x0a0d1000 0x0 0x100>;
|
||||||
reg-names = "sc", "vip_sys", "dphy";
|
reg-names = "sc", "vip_sys", "dphy";
|
||||||
|
|||||||
Reference in New Issue
Block a user