aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorNicolin Chen <Guangyu.Chen@freescale.com>2014-04-08 07:14:14 -0400
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:58:18 -0400
commitfd3b9e723eb9847f5848c582a691903f2db7fa4d (patch)
tree4d5023e00240c3dffef3789db73dc0ca957c13a0 /arch/arm/boot
parent2a5ece16f23ecd6da8bf0fc348345c12c4b13c80 (diff)
ENGR00307635-8 ARM: imx6sx: Add SAI support to each board level dts
SAI has pin conflicts with other moudles on all current boards of Solo X and two sdma event conflicts with UART5. Thus this patch adds new dtbs for SAI cases that occupy the pins and the event IDs of SDMA. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/Makefile4
-rw-r--r--arch/arm/boot/dts/imx6sx-17x17-arm2-sai.dts64
-rw-r--r--arch/arm/boot/dts/imx6sx-17x17-arm2-ssi.dts44
-rw-r--r--arch/arm/boot/dts/imx6sx-17x17-arm2.dts6
-rw-r--r--arch/arm/boot/dts/imx6sx-19x19-arm2-sai.dts23
-rw-r--r--arch/arm/boot/dts/imx6sx-sdb-sai.dts29
-rw-r--r--arch/arm/boot/dts/imx6sx-sdb.dts6
7 files changed, 176 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 058af19f340e..a1e0bf89c7bd 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -137,11 +137,15 @@ dtb-$(CONFIG_ARCH_MXC) += \
137 imx6sl-evk-ldo.dtb \ 137 imx6sl-evk-ldo.dtb \
138 imx6sl-evk-pf200.dtb \ 138 imx6sl-evk-pf200.dtb \
139 imx6sx-17x17-arm2.dtb \ 139 imx6sx-17x17-arm2.dtb \
140 imx6sx-17x17-arm2-sai.dtb \
141 imx6sx-17x17-arm2-ssi.dtb \
140 imx6sx-17x17-arm2-spdif.dtb \ 142 imx6sx-17x17-arm2-spdif.dtb \
141 imx6sx-19x19-arm2.dtb \ 143 imx6sx-19x19-arm2.dtb \
142 imx6sx-19x19-arm2-lcdif1.dtb \ 144 imx6sx-19x19-arm2-lcdif1.dtb \
145 imx6sx-19x19-arm2-sai.dtb \
143 imx6sx-sdb.dtb \ 146 imx6sx-sdb.dtb \
144 imx6sx-sdb-lcdif1.dtb \ 147 imx6sx-sdb-lcdif1.dtb \
148 imx6sx-sdb-sai.dtb \
145 vf610-twr.dtb 149 vf610-twr.dtb
146dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \ 150dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \
147 imx23-olinuxino.dtb \ 151 imx23-olinuxino.dtb \
diff --git a/arch/arm/boot/dts/imx6sx-17x17-arm2-sai.dts b/arch/arm/boot/dts/imx6sx-17x17-arm2-sai.dts
new file mode 100644
index 000000000000..f977f3c7e7f4
--- /dev/null
+++ b/arch/arm/boot/dts/imx6sx-17x17-arm2-sai.dts
@@ -0,0 +1,64 @@
1/*
2 * Copyright (C) 2014 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#include "imx6sx-17x17-arm2.dts"
10
11/ {
12 sound {
13 cpu-dai = <&sai2>;
14 };
15};
16
17&audmux {
18 /* Pin conflict with SAI */
19 status = "disabled";
20};
21
22&pinctrl_hog_1 {
23 /* Pin conflict with SAI */
24 fsl,pins = <
25 MX6SX_PAD_QSPI1A_SS0_B__GPIO4_IO_22 0x80000000
26 /* CAN1_2_EN */
27 MX6SX_PAD_QSPI1B_DATA1__GPIO4_IO_25 0x17059
28 /* CAN1_2_STBY_B */
29 MX6SX_PAD_QSPI1B_DATA3__GPIO4_IO_27 0x17059
30 /* CAN1_ERR_B */
31 MX6SX_PAD_QSPI1B_DATA0__GPIO4_IO_24 0x17059
32 /* CAN2_ERR_B */
33 MX6SX_PAD_QSPI1B_SS0_B__GPIO4_IO_30 0x17059
34 >;
35};
36
37&reg_sdb_vmmc{
38 /* Pin conflict with SAI */
39 gpio = <0 0 0>;
40};
41
42&sai2 {
43 status = "okay";
44};
45
46&sdma {
47 /* SDMA event remap for SAI2 */
48 fsl,sdma-event-remap = <0 17 1>, <0 18 1>;
49};
50
51&usdhc2 {
52 /* Pin conflict with SAI */
53 status = "disabled";
54};
55
56&usdhc3 {
57 /* Pin conflict with SAI */
58 status = "disabled";
59};
60
61&usdhc4 {
62 /* Pin conflict with SAI */
63 status = "disabled";
64};
diff --git a/arch/arm/boot/dts/imx6sx-17x17-arm2-ssi.dts b/arch/arm/boot/dts/imx6sx-17x17-arm2-ssi.dts
new file mode 100644
index 000000000000..07ea80347ca8
--- /dev/null
+++ b/arch/arm/boot/dts/imx6sx-17x17-arm2-ssi.dts
@@ -0,0 +1,44 @@
1/*
2 * Copyright (C) 2014 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#include "imx6sx-17x17-arm2.dts"
10
11&pinctrl_hog_1 {
12 /* Pin conflict with SSI */
13 fsl,pins = <
14 MX6SX_PAD_QSPI1A_SS0_B__GPIO4_IO_22 0x80000000
15 /* CAN1_2_EN */
16 MX6SX_PAD_QSPI1B_DATA1__GPIO4_IO_25 0x17059
17 /* CAN1_2_STBY_B */
18 MX6SX_PAD_QSPI1B_DATA3__GPIO4_IO_27 0x17059
19 /* CAN1_ERR_B */
20 MX6SX_PAD_QSPI1B_DATA0__GPIO4_IO_24 0x17059
21 /* CAN2_ERR_B */
22 MX6SX_PAD_QSPI1B_SS0_B__GPIO4_IO_30 0x17059
23 >;
24};
25
26&reg_sdb_vmmc{
27 /* Pin conflict with SSI */
28 gpio = <0 0 0>;
29};
30
31&usdhc2 {
32 /* Pin conflict with SSI */
33 status = "disabled";
34};
35
36&usdhc3 {
37 /* Pin conflict with SSI */
38 status = "disabled";
39};
40
41&usdhc4 {
42 /* Pin conflict with SSI */
43 status = "disabled";
44};
diff --git a/arch/arm/boot/dts/imx6sx-17x17-arm2.dts b/arch/arm/boot/dts/imx6sx-17x17-arm2.dts
index b7454023f2ec..77a8fa977c0f 100644
--- a/arch/arm/boot/dts/imx6sx-17x17-arm2.dts
+++ b/arch/arm/boot/dts/imx6sx-17x17-arm2.dts
@@ -447,6 +447,12 @@
447 }; 447 };
448}; 448};
449 449
450&sai2 {
451 pinctrl-names = "default";
452 pinctrl-0 = <&pinctrl_sai2_1>;
453 status = "disabled";
454};
455
450&spdif { 456&spdif {
451 pinctrl-names = "default"; 457 pinctrl-names = "default";
452 pinctrl-0 = <&pinctrl_spdif_1>; 458 pinctrl-0 = <&pinctrl_spdif_1>;
diff --git a/arch/arm/boot/dts/imx6sx-19x19-arm2-sai.dts b/arch/arm/boot/dts/imx6sx-19x19-arm2-sai.dts
new file mode 100644
index 000000000000..f0f232696d1d
--- /dev/null
+++ b/arch/arm/boot/dts/imx6sx-19x19-arm2-sai.dts
@@ -0,0 +1,23 @@
1/*
2 * Copyright (C) 2014 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#include "imx6sx-19x19-arm2.dts"
10
11&esai {
12 /* pin conflict with sai */
13 status = "disabled";
14};
15
16&sai1 {
17 status = "okay";
18};
19
20&sdma {
21 /* SDMA event remap for SAI1 */
22 fsl,sdma-event-remap = <0 15 1>, <0 16 1>;
23};
diff --git a/arch/arm/boot/dts/imx6sx-sdb-sai.dts b/arch/arm/boot/dts/imx6sx-sdb-sai.dts
new file mode 100644
index 000000000000..646aca721911
--- /dev/null
+++ b/arch/arm/boot/dts/imx6sx-sdb-sai.dts
@@ -0,0 +1,29 @@
1/*
2 * Copyright (C) 2014 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#include "imx6sx-sdb.dts"
10
11/ {
12 sound {
13 cpu-dai = <&sai1>;
14 };
15};
16
17&audmux {
18 /* pin conflict with sai */
19 status = "disabled";
20};
21
22&sai1 {
23 status = "okay";
24};
25
26&sdma {
27 /* SDMA event remap for SAI1 */
28 fsl,sdma-event-remap = <0 15 1>, <0 16 1>;
29};
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts
index d4e68ededd3e..b8a51857b323 100644
--- a/arch/arm/boot/dts/imx6sx-sdb.dts
+++ b/arch/arm/boot/dts/imx6sx-sdb.dts
@@ -431,6 +431,12 @@
431 status = "okay"; 431 status = "okay";
432}; 432};
433 433
434&sai1 {
435 pinctrl-names = "default";
436 pinctrl-0 = <&pinctrl_sai1_2>;
437 status = "disabled";
438};
439
434&ssi2 { 440&ssi2 {
435 status = "okay"; 441 status = "okay";
436}; 442};