mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 20:50:52 +07:00
72eb4cca78
In the imx6q-sabreauto and imx6dl-sabreauto boards, the pin MX6Q{DL}_PAD_EIM_D19 is used as a GPIO for SPI NOR, but it is used as a data pin for the WEIM NOR. In order to fix the conflict, this patch removes the pin from the hog, and adds a new board-level pinctrl: pinctrl_ecspi1_sabreauto. The SPI NOR selects this pinctrl_ecspi1_sabreauto when it is enabled. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
40 lines
806 B
Plaintext
40 lines
806 B
Plaintext
/*
|
|
* Copyright (C) 2013 Freescale Semiconductor, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "imx6dl.dtsi"
|
|
#include "imx6qdl-sabreauto.dtsi"
|
|
|
|
/ {
|
|
model = "Freescale i.MX6 DualLite/Solo SABRE Automotive Board";
|
|
compatible = "fsl,imx6dl-sabreauto", "fsl,imx6dl";
|
|
};
|
|
|
|
&iomuxc {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_hog>;
|
|
|
|
hog {
|
|
pinctrl_hog: hoggrp {
|
|
fsl,pins = <
|
|
MX6DL_PAD_NANDF_CS2__GPIO6_IO15 0x80000000
|
|
MX6DL_PAD_SD2_DAT2__GPIO1_IO13 0x80000000
|
|
>;
|
|
};
|
|
};
|
|
|
|
ecspi1 {
|
|
pinctrl_ecspi1_sabreauto: ecspi1-sabreauto {
|
|
fsl,pins = <
|
|
MX6DL_PAD_EIM_D19__GPIO3_IO19 0x80000000
|
|
>;
|
|
};
|
|
};
|
|
};
|