summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-09-14 21:36:01 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:34:14 +0800
commit47e828d2913fb07ca17269fe2ce6a523a4b27f57 (patch)
tree4c4bc2e8d92cb337d9577ef9eb1b87af7b4fd7ac /arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts
parent21bc8ccb1652bb89ed6e0ae2d1ba3d885661d608 (diff)
MLK-19664-2 ARM64: dts: imx8qm domu: enable gpio controller
Enable the gpio controller, but remove the power-domain property. Currently we are using mmio trap in XEN to handle GPIO. For Dom0, it has the highest priviledge to read/write any gpio registers and the interrupts are also forwarded to Dom0. For DomU, a new property as following is added to doma node in dom0 dts. gpios = <&gpio1 13 GPIO_ACTIVE_LOW>, <&gpio4 9 GPIO_ACTIVE_LOW>; xen will parse it and restrict domu read/write behavior. xen,shared means mmio trap is used. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts
index db9f3f97384c..06c9acb18afb 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts
@@ -407,6 +407,14 @@
xen,passthrough;
};
+&gpio1 {
+ xen,shared;
+};
+
+&gpio4 {
+ xen,shared;
+};
+
&dsp {
xen,passthrough;
};