summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-rpmsg.dtsi
diff options
context:
space:
mode:
authorClark Wang <xiaoning.wang@nxp.com>2019-02-21 14:59:39 +0800
committerClark Wang <xiaoning.wang@nxp.com>2019-02-22 09:53:53 +0800
commit815f1f4ce1816acb67379f39f95a61a69891386f (patch)
treecee10e149216e1418c612ceaf466c35856293302 /arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-rpmsg.dtsi
parent593be705b622ba8ef43e05b2b929e00da58bfd2f (diff)
MLK-20940-5 ARM64: dts: Add virtual i2c driver support for 8QXP/QM
Add new dts and dtsi file for virtual i2c driver on i.MX8QXP and i.MX8QM board. Merge fsl-imx8qm/8qxp-mek-m4.dts to fsl-imx8qm/8qxp-mek-rpmsg.dtsi. So delete these two files. Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-rpmsg.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-rpmsg.dtsi93
1 files changed, 93 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-rpmsg.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-rpmsg.dtsi
new file mode 100644
index 000000000000..ec35ad5a83e3
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-rpmsg.dtsi
@@ -0,0 +1,93 @@
+/*
+ * Copyright 2019 NXP
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include "fsl-imx8qm-mek.dtsi"
+
+/delete-node/ &i2c0_cm41;
+
+&i2c_rpbus_1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ pca6416: gpio@20 {
+ compatible = "ti,tca6416";
+ reg = <0x20>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+
+ cs42888: cs42888@48 {
+ compatible = "cirrus,cs42888";
+ reg = <0x48>;
+ clocks = <&clk IMX8QM_AUD_MCLKOUT0>;
+ clock-names = "mclk";
+ VA-supply = <&reg_audio>;
+ VD-supply = <&reg_audio>;
+ VLS-supply = <&reg_audio>;
+ VLC-supply = <&reg_audio>;
+ reset-gpio = <&gpio4 25 1>;
+ power-domains = <&pd_mclk_out0>;
+ assigned-clocks = <&clk IMX8QM_AUD_PLL0_DIV>,
+ <&clk IMX8QM_AUD_ACM_AUD_PLL_CLK0_DIV>,
+ <&clk IMX8QM_AUD_ACM_AUD_REC_CLK0_DIV>,
+ <&clk IMX8QM_AUD_MCLKOUT0>;
+ assigned-clock-rates = <786432000>, <49152000>, <12288000>, <12288000>;
+ fsl,txs-rxm;
+ status = "okay";
+ };
+};
+
+&rpmsg{
+ /*
+ * 64K for one rpmsg instance:
+ */
+ vdev-nums = <2>;
+ reg = <0x0 0x90000000 0x0 0x20000>;
+ status = "okay";
+};
+
+&rpmsg1{
+ /*
+ * 64K for one rpmsg instance, using 2 instance
+ * 0x90110000 - 0x9011FFFF: audio
+ */
+ vdev-nums = <2>;
+ reg = <0x0 0x90100000 0x0 0x20000>;
+ status = "okay";
+};
+
+&intmux_cm41 {
+ status = "disabled";
+};
+
+&intmux_cm40 {
+ status = "disabled";
+};
+
+&flexcan1 {
+ status = "disabled";
+};
+
+&flexcan2 {
+ status = "disabled";
+};
+
+&flexcan3 {
+ status = "disabled";
+};
+
+&flexspi0 {
+ status = "disabled";
+};