From d7e360899c5902d8ae2de9dcb420f9adab2fab39 Mon Sep 17 00:00:00 2001 From: Clark Wang Date: Fri, 9 Aug 2019 13:27:47 +0800 Subject: [PATCH] MLK-22419 arm64: dts: enable partition reset for imx8dxl phantom board Enable partition reset function for imx8dxl phantom board. Use fsl-imx8dxl-phantom-mek-rpmsg.dtb to enable this function. Acked-by: Fugang Duan Signed-off-by: Clark Wang --- arch/arm64/boot/dts/freescale/Makefile | 3 +- .../fsl-imx8dxl-phantom-mek-rpmsg.dts | 70 +++++++++++++++++++ 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100755 arch/arm64/boot/dts/freescale/fsl-imx8dxl-phantom-mek-rpmsg.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index dc152a0b198f..b957b3338378 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -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 index 000000000000..37750a147964 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-imx8dxl-phantom-mek-rpmsg.dts @@ -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>; + }; +}; + +®_can_en { + status = "disabled"; +}; + +®_can_stby { + status = "disabled"; +}; + +&intmux_cm40 { + status = "disabled"; +}; + +&flexcan1 { + status = "disabled"; +}; + +&flexcan2 { + status = "disabled"; +}; + +&flexspi0 { + status = "disabled"; +}; -- 2.17.1