MLK-24005 arm64: dts: imx8qm: fix gpio usage for xen
GPIO4/3 needs to be given access for DomU for otg usb. MIPI GPIO needs to be passthrough DOmU LSIO_GPIO1 interrupts gives to DomU, dom0 not need the interrupt currently. Reviewed-by: zhang sanshan <pete.zhang@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 1615076996096b26353baefd79211f24e6aa835e)5.4-rM2-2.2.x-imx-squashed
parent
9f160e20cf
commit
9812b346b7
|
@ -293,6 +293,7 @@
|
|||
<&lsio_gpio1 28 GPIO_ACTIVE_LOW>,
|
||||
<&lsio_gpio1 30 GPIO_ACTIVE_LOW>,
|
||||
<&lsio_gpio4 1 GPIO_ACTIVE_LOW>,
|
||||
<&lsio_gpio4 3 GPIO_ACTIVE_LOW>,
|
||||
<&lsio_gpio4 6 GPIO_ACTIVE_LOW>,
|
||||
<&lsio_gpio4 9 GPIO_ACTIVE_LOW>,
|
||||
<&lsio_gpio4 11 GPIO_ACTIVE_HIGH>,
|
||||
|
@ -317,6 +318,12 @@
|
|||
xen,passthrough;
|
||||
};
|
||||
|
||||
gpio1_dummy: gpio1_dummy@0{
|
||||
/* Passthrough gpio1 interrupt to DomU */
|
||||
interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
|
||||
xen,passthrough;
|
||||
};
|
||||
|
||||
reserved-device-memory {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
@ -532,6 +539,12 @@
|
|||
};
|
||||
|
||||
&lsio_gpio1 {
|
||||
/*
|
||||
* Use GPT1 interrupt for hack
|
||||
* This could be removed when interrupt sharing be supported.
|
||||
*/
|
||||
interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
|
||||
xen,domu-irq;
|
||||
xen,shared;
|
||||
};
|
||||
|
||||
|
@ -553,7 +566,11 @@
|
|||
};
|
||||
|
||||
&gpio0_mipi_csi0 {
|
||||
xen,shared;
|
||||
xen,passthrough;
|
||||
};
|
||||
|
||||
&gpio0_mipi_csi1 {
|
||||
xen,passthrough;
|
||||
};
|
||||
|
||||
/* vpu_subsys */
|
||||
|
|
Loading…
Reference in New Issue