1
0
Fork 0

arm: dts: add both ecspi and ecspi slave dts for imx6ul

add both ecspi and ecspi slave dts for imx6ul 14x14 evk

Signed-off-by: Han Xu <han.xu@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Han Xu 2019-11-06 18:28:48 -06:00 committed by Dong Aisheng
parent d1eb3e07a4
commit d1609c1a6b
3 changed files with 63 additions and 0 deletions

View File

@ -597,6 +597,8 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
imx6ul-14x14-evk-emmc.dtb \
imx6ul-14x14-evk-btwifi.dtb \
imx6ul-14x14-evk-btwifi-oob.dtb \
imx6ul-14x14-evk-ecspi-slave.dtb \
imx6ul-14x14-evk-ecspi.dtb \
imx6ul-9x9-evk.dtb \
imx6ul-9x9-evk-btwifi.dtb \
imx6ul-9x9-evk-btwifi-oob.dtb \

View File

@ -0,0 +1,17 @@
// SPDX-License-Identifier: GPL-2.0
//
// Copyright (C) 2018 NXP
/*
* DTS file for ECSPI Slave Certification at i.mx6ul 14x14 evk board.
* NOTE: Because Ethernet2 use the same pins with ecspi4, so disable
* fec1/fec2 for ECSPI4 test.
*/
#include "imx6ul-14x14-evk-ecspi.dts"
/delete-node/&spidev0;
&ecspi4 {
spi-slave;
};

View File

@ -0,0 +1,44 @@
// SPDX-License-Identifier: GPL-2.0
//
// Copyright (C) 2018 NXP
/*
* DTS file for ECSPI Certification at i.mx6ul 14x14 evk board.
* NOTE: Because Ethernet2 use the same pins with ecspi4, so disable
* fec1/fec2 for ECSPI4 test.
*/
#include "imx6ul-14x14-evk.dts"
&iomuxc {
pinctrl_ecspi4: ecspi4grp {
fsl,pins = <
MX6UL_PAD_ENET2_TX_DATA1__ECSPI4_SCLK 0x70a1
MX6UL_PAD_ENET2_TX_EN__ECSPI4_MOSI 0x70a1
MX6UL_PAD_ENET2_TX_CLK__ECSPI4_MISO 0x70a1
MX6UL_PAD_ENET2_RX_ER__ECSPI4_SS0 0x70a1
>;
};
};
&ecspi4 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi4>;
status = "okay";
spidev0: spi@0 {
reg = <0>;
compatible = "rohm,dh2228fv";
spi-max-frequency = <20000000>;
};
};
&fec1 {
status = "disabled";
};
&fec2 {
status = "disabled";
};