mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
868b5cb74e
As a preparatory step remove the epdc reference which does not exist in the Linux upstream device tree and rename the qspi1 reference to qspi as this is how it is named in the Linux upstream device tree. This avoids the following error once synchronised: +Error: arch/arm/dts/.imx7d-sdb-qspi.dtb.pre.tmp:10.1-6 Label or path epdc not found +Error: arch/arm/dts/.imx7d-sdb-qspi.dtb.pre.tmp:29.1-7 Label or path qspi1 not found +Error: arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi:6.1-7 Label or path qspi1 not found Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
39 lines
828 B
Text
39 lines
828 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2015 Freescale Semiconductor, Inc.
|
|
* Copyright 2018 NXP
|
|
*/
|
|
|
|
#include "imx7d-sdb.dts"
|
|
|
|
&iomuxc {
|
|
qspi1 {
|
|
pinctrl_qspi1_1: qspi1grp_1 {
|
|
fsl,pins = <
|
|
MX7D_PAD_EPDC_DATA00__QSPI_A_DATA0 0x51
|
|
MX7D_PAD_EPDC_DATA01__QSPI_A_DATA1 0x51
|
|
MX7D_PAD_EPDC_DATA02__QSPI_A_DATA2 0x51
|
|
MX7D_PAD_EPDC_DATA03__QSPI_A_DATA3 0x51
|
|
MX7D_PAD_EPDC_DATA05__QSPI_A_SCLK 0x51
|
|
MX7D_PAD_EPDC_DATA06__QSPI_A_SS0_B 0x51
|
|
>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&qspi {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_qspi1_1>;
|
|
status = "okay";
|
|
ddrsmp=<0>;
|
|
|
|
flash0: mx25l51245g@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "macronix,mx25l51245g";
|
|
spi-max-frequency = <29000000>;
|
|
/* take off one dummy cycle */
|
|
spi-nor,ddr-quad-read-dummy = <5>;
|
|
reg = <0>;
|
|
};
|
|
};
|