blob: e113183c66f52ea95a3f2b270cde9ef0270a493a [file] [log] [blame]
/*
* Copyright (c) 2020, Bernhard Kraemer
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "teensy40.dts"
/ {
model = "PJRC TEENSY 4.1 board";
chosen {
zephyr,flash-controller = &w25q64jvxgim;
zephyr,flash = &w25q64jvxgim;
};
};
/delete-node/ &w25q16jvuxim;
&flexspi {
status = "okay";
reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>;
/* WINBOND flash memory*/
w25q64jvxgim: w25q64jvxgim@0 {
compatible = "nxp,imx-flexspi-nor";
size = <DT_SIZE_M(8 * 8)>;
reg = <0>;
spi-max-frequency = <DT_FREQ_M(133)>;
status = "okay";
jedec-id = [ef 70 17];
erase-block-size = <4096>;
write-block-size = <1>;
};
};
&lpspi3 {
status = "okay";
};
&usdhc1 {
status = "okay";
no-1-8-v;
pinctrl-0 = <&pinmux_usdhc1>;
pinctrl-1 = <&pinmux_usdhc1_slow>;
pinctrl-2 = <&pinmux_usdhc1_med>;
pinctrl-3 = <&pinmux_usdhc1_fast>;
pinctrl-names = "default", "slow", "med", "fast";
mmc {
compatible = "zephyr,sdmmc-disk";
status = "okay";
};
};