Skip to content

Commit abc3f12

Browse files
committed
Merge branch 'imx/imx6q' into next/soc
Conflicts: Documentation/devicetree/bindings/arm/fsl.txt arch/arm/Kconfig arch/arm/Kconfig.debug arch/arm/plat-mxc/include/mach/common.h
2 parents b8df0ea + 8bcb976 commit abc3f12

34 files changed

Lines changed: 3662 additions & 80 deletions

File tree

‎Documentation/devicetree/bindings/arm/fsl.txt‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Freescale i.MX Platforms Device Tree Bindings
2+
-----------------------------------------------
3+
14
i.MX51 Babbage Board
25
Required root node properties:
36
- compatible = "fsl,imx51-babbage", "fsl,imx51";
@@ -17,3 +20,7 @@ Required root node properties:
1720
i.MX53 Smart Mobile Reference Design Board
1821
Required root node properties:
1922
- compatible = "fsl,imx53-smd", "fsl,imx53";
23+
24+
i.MX6 Quad SABRE Automotive Board
25+
Required root node properties:
26+
- compatible = "fsl,imx6q-sabreauto", "fsl,imx6q";

‎MAINTAINERS‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,13 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
793793
S: Maintained
794794
F: arch/arm/mach-mx5/
795795

796+
ARM/FREESCALE IMX6
797+
M: Shawn Guo <shawn.guo@linaro.org>
798+
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
799+
S: Maintained
800+
T: git git://git.linaro.org/people/shawnguo/linux-2.6.git
801+
F: arch/arm/mach-imx/*imx6*
802+
796803
ARM/GLOMATION GESBC9312SX MACHINE SUPPORT
797804
M: Lennert Buytenhek <kernel@wantstofly.org>
798805
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)

‎arch/arm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ config SMP
14351435
depends on REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP || \
14361436
MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || \
14371437
ARCH_EXYNOS4 || ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || \
1438-
ARCH_MSM_SCORPIONMP || ARCH_SHMOBILE || ARCH_HIGHBANK
1438+
ARCH_MSM_SCORPIONMP || ARCH_SHMOBILE || ARCH_HIGHBANK || SOC_IMX6Q
14391439
select USE_GENERIC_SMP_HELPERS
14401440
select HAVE_ARM_SCU if !ARCH_MSM_SCORPIONMP
14411441
help

‎arch/arm/Kconfig.debug‎

Lines changed: 112 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,118 @@ choice
135135
Say Y here if you want the debug print routines to direct
136136
their output to the UART on Highbank based devices.
137137

138+
config DEBUG_IMX1_UART
139+
bool "i.MX1 Debug UART"
140+
depends on SOC_IMX1
141+
help
142+
Say Y here if you want kernel low-level debugging support
143+
on i.MX1.
144+
145+
config DEBUG_IMX23_UART
146+
bool "i.MX23 Debug UART"
147+
depends on SOC_IMX23
148+
help
149+
Say Y here if you want kernel low-level debugging support
150+
on i.MX23.
151+
152+
config DEBUG_IMX25_UART
153+
bool "i.MX25 Debug UART"
154+
depends on SOC_IMX25
155+
help
156+
Say Y here if you want kernel low-level debugging support
157+
on i.MX25.
158+
159+
config DEBUG_IMX21_IMX27_UART
160+
bool "i.MX21 and i.MX27 Debug UART"
161+
depends on SOC_IMX21 || SOC_IMX27
162+
help
163+
Say Y here if you want kernel low-level debugging support
164+
on i.MX21 or i.MX27.
165+
166+
config DEBUG_IMX28_UART
167+
bool "i.MX28 Debug UART"
168+
depends on SOC_IMX28
169+
help
170+
Say Y here if you want kernel low-level debugging support
171+
on i.MX28.
172+
173+
config DEBUG_IMX31_IMX35_UART
174+
bool "i.MX31 and i.MX35 Debug UART"
175+
depends on SOC_IMX31 || SOC_IMX35
176+
help
177+
Say Y here if you want kernel low-level debugging support
178+
on i.MX31 or i.MX35.
179+
180+
config DEBUG_IMX51_UART
181+
bool "i.MX51 Debug UART"
182+
depends on SOC_IMX51
183+
help
184+
Say Y here if you want kernel low-level debugging support
185+
on i.MX51.
186+
187+
config DEBUG_IMX50_IMX53_UART
188+
bool "i.MX50 and i.MX53 Debug UART"
189+
depends on SOC_IMX50 || SOC_IMX53
190+
help
191+
Say Y here if you want kernel low-level debugging support
192+
on i.MX50 or i.MX53.
193+
194+
config DEBUG_IMX6Q_UART
195+
bool "i.MX6Q Debug UART"
196+
depends on SOC_IMX6Q
197+
help
198+
Say Y here if you want kernel low-level debugging support
199+
on i.MX6Q.
200+
201+
config DEBUG_S3C_UART0
202+
depends on PLAT_SAMSUNG
203+
bool "Use S3C UART 0 for low-level debug"
204+
help
205+
Say Y here if you want the debug print routines to direct
206+
their output to UART 0. The port must have been initialised
207+
by the boot-loader before use.
208+
209+
The uncompressor code port configuration is now handled
210+
by CONFIG_S3C_LOWLEVEL_UART_PORT.
211+
212+
config DEBUG_S3C_UART1
213+
depends on PLAT_SAMSUNG
214+
bool "Use S3C UART 1 for low-level debug"
215+
help
216+
Say Y here if you want the debug print routines to direct
217+
their output to UART 1. The port must have been initialised
218+
by the boot-loader before use.
219+
220+
The uncompressor code port configuration is now handled
221+
by CONFIG_S3C_LOWLEVEL_UART_PORT.
222+
223+
config DEBUG_S3C_UART2
224+
depends on PLAT_SAMSUNG
225+
bool "Use S3C UART 2 for low-level debug"
226+
help
227+
Say Y here if you want the debug print routines to direct
228+
their output to UART 2. The port must have been initialised
229+
by the boot-loader before use.
230+
231+
The uncompressor code port configuration is now handled
232+
by CONFIG_S3C_LOWLEVEL_UART_PORT.
233+
234+
config DEBUG_REALVIEW_STD_PORT
235+
bool "RealView Default UART"
236+
depends on ARCH_REALVIEW
237+
help
238+
Say Y here if you want the debug print routines to direct
239+
their output to the serial port on RealView EB, PB11MP, PBA8
240+
and PBX platforms.
241+
242+
config DEBUG_REALVIEW_PB1176_PORT
243+
bool "RealView PB1176 UART"
244+
depends on MACH_REALVIEW_PB1176
245+
help
246+
Say Y here if you want the debug print routines to direct
247+
their output to the standard serial port on the RealView
248+
PB1176 platform.
249+
138250
endchoice
139251

140252
config EARLY_PRINTK
@@ -153,18 +265,6 @@ config OC_ETM
153265
buffer driver that will allow you to collect traces of the
154266
kernel code.
155267

156-
config DEBUG_S3C_UART
157-
depends on PLAT_SAMSUNG
158-
int "S3C UART to use for low-level debug"
159-
default "0"
160-
help
161-
Choice for UART for kernel low-level using S3C UARTS,
162-
should be between zero and two. The port must have been
163-
initialised by the boot-loader before use.
164-
165-
The uncompressor code port configuration is now handled
166-
by CONFIG_S3C_LOWLEVEL_UART_PORT.
167-
168268
config ARM_KPROBES_TEST
169269
tristate "Kprobes test module"
170270
depends on KPROBES && MODULES

‎arch/arm/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ machine-$(CONFIG_ARCH_MMP) := mmp
159159
machine-$(CONFIG_ARCH_MSM) := msm
160160
machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0
161161
machine-$(CONFIG_ARCH_IMX_V4_V5) := imx
162-
machine-$(CONFIG_ARCH_MX3) := imx
162+
machine-$(CONFIG_ARCH_IMX_V6_V7) := imx
163163
machine-$(CONFIG_ARCH_MX5) := mx5
164164
machine-$(CONFIG_ARCH_MXS) := mxs
165165
machine-$(CONFIG_ARCH_NETX) := netx
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/*
2+
* Copyright 2011 Freescale Semiconductor, Inc.
3+
* Copyright 2011 Linaro Ltd.
4+
*
5+
* The code contained herein is licensed under the GNU General Public
6+
* License. You may obtain a copy of the GNU General Public License
7+
* Version 2 or later at the following locations:
8+
*
9+
* http://www.opensource.org/licenses/gpl-license.html
10+
* http://www.gnu.org/copyleft/gpl.html
11+
*/
12+
13+
/dts-v1/;
14+
/include/ "imx6q.dtsi"
15+
16+
/ {
17+
model = "Freescale i.MX6 Quad SABRE Automotive Board";
18+
compatible = "fsl,imx6q-sabreauto", "fsl,imx6q";
19+
20+
chosen {
21+
bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait";
22+
};
23+
24+
memory {
25+
reg = <0x10000000 0x80000000>;
26+
};
27+
28+
soc {
29+
aips-bus@02100000 { /* AIPS2 */
30+
enet@02188000 {
31+
phy-mode = "rgmii";
32+
local-mac-address = [00 04 9F 01 1B 61];
33+
status = "okay";
34+
};
35+
36+
usdhc@02198000 { /* uSDHC3 */
37+
cd-gpios = <&gpio5 11 0>; /* GPIO6_11 */
38+
wp-gpios = <&gpio5 14 0>; /* GPIO6_14 */
39+
status = "okay";
40+
};
41+
42+
usdhc@0219c000 { /* uSDHC4 */
43+
fsl,card-wired;
44+
status = "okay";
45+
};
46+
47+
uart3: uart@021f0000 { /* UART4 */
48+
status = "okay";
49+
};
50+
};
51+
};
52+
53+
leds {
54+
compatible = "gpio-leds";
55+
56+
debug-led {
57+
label = "Heartbeat";
58+
gpios = <&gpio2 25 0>; /* GPIO3_25 */
59+
linux,default-trigger = "heartbeat";
60+
};
61+
};
62+
};

0 commit comments

Comments
 (0)