MLK-22419 arm64: dts: enable partition reset for imx8dxl phantom board
authorClark Wang <xiaoning.wang@nxp.com>
Fri, 9 Aug 2019 05:27:47 +0000 (13:27 +0800)
committerClark Wang <xiaoning.wang@nxp.com>
Fri, 9 Aug 2019 11:43:06 +0000 (19:43 +0800)
Enable partition reset function for imx8dxl phantom board.
Use fsl-imx8dxl-phantom-mek-rpmsg.dtb to enable this function.

Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/fsl-imx8dxl-phantom-mek-rpmsg.dts [new file with mode: 0755]

index dc152a0..b957b33 100644 (file)
@@ -91,7 +91,8 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QXP) += fsl-imx8qxp-lpddr4-arm2.dtb \
                                  fsl-imx8dx-17x17-val.dtb \
                                  fsl-imx8dx-lpddr4-arm2.dtb \
                                  fsl-imx8dxp-lpddr4-arm2.dtb \
-                                 fsl-imx8dxl-phantom-mek.dtb
+                                 fsl-imx8dxl-phantom-mek.dtb \
+                                 fsl-imx8dxl-phantom-mek-rpmsg.dtb
 dtb-$(CONFIG_ARCH_FSL_IMX8MQ) += fsl-imx8mq-ddr3l-arm2.dtb \
                                 fsl-imx8mq-ddr4-arm2.dtb \
                                 fsl-imx8mq-ddr4-arm2-gpmi-nand.dtb \
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8dxl-phantom-mek-rpmsg.dts b/arch/arm64/boot/dts/freescale/fsl-imx8dxl-phantom-mek-rpmsg.dts
new file mode 100755 (executable)
index 0000000..37750a1
--- /dev/null
@@ -0,0 +1,70 @@
+/*
+ * 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.
+ */
+
+/dts-v1/;
+
+#include "fsl-imx8dxl-phantom-mek.dtsi"
+
+/delete-node/ &i2c0_cm40;
+
+&i2c_rpbus_5 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+       status = "okay";
+
+       wm8960: wm8960@1a {
+               compatible = "wlf,wm8960";
+               reg = <0x1a>;
+               clocks = <&clk IMX8QXP_AUD_MCLKOUT0>;
+               clock-names = "mclk";
+               wlf,shared-lrclk;
+               power-domains = <&pd_mclk_out0>;
+               assigned-clocks = <&clk IMX8QXP_AUD_PLL0_DIV>,
+                               <&clk IMX8QXP_AUD_ACM_AUD_PLL_CLK0_DIV>,
+                               <&clk IMX8QXP_AUD_ACM_AUD_REC_CLK0_DIV>,
+                               <&clk IMX8QXP_AUD_MCLKOUT0>;
+               assigned-clock-rates = <786432000>, <49152000>, <12288000>, <12288000>;
+       };
+
+       pca6416: gpio@20 {
+               compatible = "ti,tca6416";
+               reg = <0x20>;
+               gpio-controller;
+               #gpio-cells = <2>;
+       };
+};
+
+&reg_can_en {
+       status = "disabled";
+};
+
+&reg_can_stby {
+       status = "disabled";
+};
+
+&intmux_cm40 {
+       status = "disabled";
+};
+
+&flexcan1 {
+       status = "disabled";
+};
+
+&flexcan2 {
+       status = "disabled";
+};
+
+&flexspi0 {
+       status = "disabled";
+};