Skip to content

Commit 2125212

Browse files
mgrzeschikShawn Guo
authored andcommitted
ARM: dts: imx6qdl-kontron-samx6i: add Kontron SMARC SoM Support
The patch adds the following interfaces according the SMARC Spec 1.1 [1] and provided schematics: - SMARC SPI0/1 Note: Since Kontron still uses silicon revisions below 1.3 they have add a spi-nor to implement Workaround #1 of erratum ERR006282. - SMARC SDIO - SMARC LCD - SMARC HDMI - SMARC Management pins Note: Kontron don't route all of these pins to the i.MX6, some are routed to the SoM CPLD. - SMARC GPIO - SMARC CSI Camera Note: As specified in [1] the data lanes are shared to cover the csi and the parallel case. The case depends on the baseboard so muxing the data lanes is not part of this patch. - SMARC I2S - SMARC Watchdog Note: The watchdog output pin is routed to the CPLD and the SMARC header. The CPLD performs a reset after a 30s timeout so we need to enable the watchdog per default. - SMARC module eeprom Due to the lack of hardware not all of these interfaces are tesetd. [1] https://sget.org/standards/smarc Signed-off-by: Michael Grzeschik <[email protected]> Signed-off-by: Marco Felsch <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 2a51f9d commit 2125212

File tree

3 files changed

+442
-0
lines changed

3 files changed

+442
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// SPDX-License-Identifier: GPL-2.0 OR X11
2+
/*
3+
* Copyright 2019 (C) Pengutronix, Marco Felsch <[email protected]>
4+
*/
5+
6+
#include "imx6dl.dtsi"
7+
#include "imx6qdl-kontron-samx6i.dtsi"
8+
9+
/ {
10+
model = "Kontron SMARC sAMX6i Dual-Lite/Solo";
11+
compatible = "kontron,imx6dl-samx6i", "fsl,imx6dl";
12+
};
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// SPDX-License-Identifier: GPL-2.0 OR X11
2+
/*
3+
* Copyright 2019 (C) Pengutronix, Marco Felsch <[email protected]>
4+
*/
5+
6+
#include "imx6q.dtsi"
7+
#include "imx6qdl-kontron-samx6i.dtsi"
8+
#include <dt-bindings/gpio/gpio.h>
9+
10+
/ {
11+
model = "Kontron SMARC sAMX6i Quad/Dual";
12+
compatible = "kontron,imx6q-samx6i", "fsl,imx6q";
13+
};
14+
15+
/* Quad/Dual SoMs have 3 chip-select signals */
16+
&ecspi4 {
17+
fsl,spi-num-chipselects = <3>;
18+
cs-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>,
19+
<&gpio3 29 GPIO_ACTIVE_HIGH>,
20+
<&gpio3 25 GPIO_ACTIVE_HIGH>;
21+
};
22+
23+
&pinctrl_ecspi4 {
24+
fsl,pins = <
25+
MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1
26+
MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1
27+
MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1
28+
29+
/* SPI4_IMX_CS2# - connected to internal flash */
30+
MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0
31+
/* SPI4_IMX_CS0# - connected to SMARC SPI0_CS0# */
32+
MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0
33+
/* SPI4_CS3# - connected to SMARC SPI0_CS1# */
34+
MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x1b0b0
35+
>;
36+
};

0 commit comments

Comments
 (0)