MLK-13283 ARM: dts: imx: support for 1gb 6sxscm evb board
authorAlejandro Sierra <alejandro.sierra@nxp.com>
Mon, 26 Sep 2016 19:20:04 +0000 (14:20 -0500)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:32 +0000 (14:52 -0500)
Add support for the 1gb i.MX6SX SCM EVB board

Support the next features for 1Gb 6sxscm EVB:

 - Regular 1gb board
 - M4 support
 - MQS
 - SAI sound card
 - LCD and HDMI with sii902x support
 - Bluetooth and Wifi Murata ZP SDIO dongle

Signed-off-by: Alejandro Sierra <alejandro.sierra@nxp.com>
Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6sxscm-1gb-evb-btwifi-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6sxscm-1gb-evb-lcdif1-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6sxscm-1gb-evb-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6sxscm-1gb-evb-m4-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6sxscm-1gb-evb-mqs-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6sxscm-1gb-evb-sai-ldo.dts [new file with mode: 0644]

index e3a1157..667a29e 100644 (file)
@@ -467,7 +467,13 @@ dtb-$(CONFIG_SOC_IMX6SX) += \
        imx6sx-19x19-arm2.dtb \
        imx6sx-19x19-arm2-ldo.dtb \
        imx6sx-19x19-arm2-csi.dtb \
-       imx6sx-19x19-arm2-gpmi-weim.dtb
+       imx6sx-19x19-arm2-gpmi-weim.dtb \
+       imx6sxscm-1gb-evb-ldo.dtb \
+       imx6sxscm-1gb-evb-lcdif1-ldo.dtb \
+       imx6sxscm-1gb-evb-m4-ldo.dtb \
+       imx6sxscm-1gb-evb-mqs-ldo.dtb \
+       imx6sxscm-1gb-evb-sai-ldo.dtb \
+       imx6sxscm-1gb-evb-btwifi-ldo.dtb
 dtb-$(CONFIG_SOC_IMX6UL) += \
        imx6ul-14x14-evk.dtb \
        imx6ul-14x14-evk-btwifi.dtb \
diff --git a/arch/arm/boot/dts/imx6sxscm-1gb-evb-btwifi-ldo.dts b/arch/arm/boot/dts/imx6sxscm-1gb-evb-btwifi-ldo.dts
new file mode 100644 (file)
index 0000000..a31c4d6
--- /dev/null
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6sxscm-1gb-evb-ldo.dts"
+#include "imx6sxscm-evb-btwifi.dtsi"
diff --git a/arch/arm/boot/dts/imx6sxscm-1gb-evb-lcdif1-ldo.dts b/arch/arm/boot/dts/imx6sxscm-1gb-evb-lcdif1-ldo.dts
new file mode 100644 (file)
index 0000000..5b3e054
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6sxscm-1gb-evb-ldo.dts"
+/ {
+       regulators {
+               reg_lcd_3v3: regulator@4 {
+                       status = "okay";
+               };
+       };
+
+       sii902x_reset: sii902x-reset {
+               status = "okay";
+       };
+};
+
+&csi1 {
+       status = "disabled";
+};
+
+&lcdif1 {
+       status = "okay";
+};
+
+&i2c4 {
+       sii902x@39 {
+               status = "okay";
+       };
+};
+
+&ov5640 {
+       status = "disabled";
+};
\ No newline at end of file
diff --git a/arch/arm/boot/dts/imx6sxscm-1gb-evb-ldo.dts b/arch/arm/boot/dts/imx6sxscm-1gb-evb-ldo.dts
new file mode 100644 (file)
index 0000000..357b920
--- /dev/null
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6sxscm-evb-ldo.dts"
diff --git a/arch/arm/boot/dts/imx6sxscm-1gb-evb-m4-ldo.dts b/arch/arm/boot/dts/imx6sxscm-1gb-evb-m4-ldo.dts
new file mode 100644 (file)
index 0000000..8839631
--- /dev/null
@@ -0,0 +1,88 @@
+/*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6sxscm-1gb-evb-ldo.dts"
+/{
+       memory {
+               linux,usable-memory = <0x80000000 0x1ff00000>,
+                               <0xa0000000 0x1ff00000>;
+       };
+};
+
+&iomuxc {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_hog>;
+};
+
+/*
+ * The flollowing modules are conflicting with M4, disable them when m4
+ * is running.
+ */
+&adc1 {
+       status = "disabled";
+};
+
+&adc2 {
+       status = "disabled";
+};
+
+&flexcan1 {
+       status = "disabled";
+};
+
+&flexcan2 {
+       status = "disabled";
+};
+
+&i2c3 {
+       status = "disabled";
+};
+
+&ocram {
+       reg = <0x00901000 0xf000>;
+};
+
+&qspi2 {
+       status = "disabled";
+};
+
+&qspi_m4 {
+       status = "okay";
+};
+
+&rpmsg{
+       status = "okay";
+};
+
+&uart2 {
+       status = "disabled";
+};
+
+&clks {
+       fsl,shared-clks-number = <0x23>;
+       fsl,shared-clks-index = <IMX6SX_CLK_PLL2_BUS IMX6SX_CLK_PLL2_PFD0
+                       IMX6SX_CLK_PLL2_PFD2 IMX6SX_CLK_PLL3_USB_OTG
+                       IMX6SX_CLK_PLL3_PFD1 IMX6SX_CLK_PLL3_PFD2
+                       IMX6SX_CLK_PLL3_PFD3 IMX6SX_CLK_PLL4_AUDIO
+                       IMX6SX_CLK_PLL5_VIDEO
+                       IMX6SX_CLK_OCRAM IMX6SX_CLK_CAN1_SERIAL
+                       IMX6SX_CLK_CAN1_IPG IMX6SX_CLK_CAN2_SERIAL
+                       IMX6SX_CLK_CAN2_IPG IMX6SX_CLK_CANFD
+                       IMX6SX_CLK_ECSPI1 IMX6SX_CLK_ECSPI2
+                       IMX6SX_CLK_ECSPI3 IMX6SX_CLK_ECSPI4
+                       IMX6SX_CLK_ECSPI5 IMX6SX_CLK_QSPI1
+                       IMX6SX_CLK_QSPI2 IMX6SX_CLK_SSI1
+                       IMX6SX_CLK_SSI2 IMX6SX_CLK_SSI3
+                       IMX6SX_CLK_UART_SERIAL IMX6SX_CLK_UART_IPG
+                       IMX6SX_CLK_PERIPH_CLK2_SEL IMX6SX_CLK_DUMMY
+                       IMX6SX_CLK_I2C1 IMX6SX_CLK_I2C2
+                       IMX6SX_CLK_I2C3 IMX6SX_CLK_I2C4
+                       IMX6SX_CLK_EPIT1 IMX6SX_CLK_EPIT2>;
+       fsl,shared-mem-addr = <0x91F000>;
+       fsl,shared-mem-size = <0x1000>;
+};
diff --git a/arch/arm/boot/dts/imx6sxscm-1gb-evb-mqs-ldo.dts b/arch/arm/boot/dts/imx6sxscm-1gb-evb-mqs-ldo.dts
new file mode 100644 (file)
index 0000000..08aac2c
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6sxscm-1gb-evb-ldo.dts"
+/ {
+       sound-mqs {
+               compatible = "fsl,imx6sx-sdb-mqs",
+                            "fsl,imx-audio-mqs";
+               model = "mqs-audio";
+               cpu-dai = <&sai1>;
+               asrc-controller = <&asrc>;
+               audio-codec = <&mqs>;
+       };
+};
+
+&usdhc2 {
+       /* pin conflict with mqs*/
+       status = "disabled";
+};
+
+&mqs {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_mqs>;
+       clocks = <&clks IMX6SX_CLK_SAI1>;
+       clock-names = "mclk";
+       status = "okay";
+};
+
+&sai1 {
+       pinctrl-0 = <>;
+       status = "okay";
+};
+
+&sdma {
+       gpr = <&gpr>;
+       /* SDMA event remap for SAI1 */
+       fsl,sdma-event-remap = <0 15 1>, <0 16 1>;
+};
diff --git a/arch/arm/boot/dts/imx6sxscm-1gb-evb-sai-ldo.dts b/arch/arm/boot/dts/imx6sxscm-1gb-evb-sai-ldo.dts
new file mode 100644 (file)
index 0000000..d95d2e6
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6sxscm-1gb-evb-ldo.dts"
+/ {
+       sound {
+               cpu-dai = <&sai1>;
+       };
+};
+
+&audmux {
+       /* pin conflict with sai */
+       status = "disabled";
+};
+
+&sai1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_sai1>;
+       status = "okay";
+};
+
+&sdma {
+       gpr = <&gpr>;
+       /* SDMA event remap for SAI1 */
+       fsl,sdma-event-remap = <0 15 1>, <0 16 1>;
+};