1// SPDX-License-Identifier: GPL-2.0 OR X11 2/* 3 * Copyright 2019 (C) Pengutronix, Marco Felsch <kernel@pengutronix.de> 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 cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>, 18 <&gpio3 29 GPIO_ACTIVE_LOW>, 19 <&gpio3 25 GPIO_ACTIVE_LOW>; 20}; 21 22&pinctrl_ecspi4 { 23 fsl,pins = < 24 MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1 25 MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1 26 MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1 27 28 /* SPI4_IMX_CS2# - connected to internal flash */ 29 MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0 30 /* SPI4_IMX_CS0# - connected to SMARC SPI0_CS0# */ 31 MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0 32 /* SPI4_CS3# - connected to SMARC SPI0_CS1# */ 33 MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x1b0b0 34 >; 35}; 36