2021-05-19 03:55:47 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020, Bernhard Kraemer
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "teensy40.dts"
|
|
|
|
|
2023-04-06 21:29:57 +08:00
|
|
|
/ {
|
|
|
|
model = "PJRC TEENSY 4.1 board";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,flash-controller = &w25q64jvxgim;
|
|
|
|
zephyr,flash = &w25q64jvxgim;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-05-19 03:55:47 +08:00
|
|
|
/delete-node/ &w25q16jvuxim;
|
|
|
|
&flexspi {
|
2023-04-06 21:29:57 +08:00
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>;
|
2021-05-19 03:55:47 +08:00
|
|
|
/* WINBOND flash memory*/
|
|
|
|
w25q64jvxgim: w25q64jvxgim@0 {
|
2023-04-06 21:29:57 +08:00
|
|
|
compatible = "nxp,imx-flexspi-nor";
|
|
|
|
size = <DT_SIZE_M(8 * 8)>;
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <DT_FREQ_M(133)>;
|
2021-05-19 03:55:47 +08:00
|
|
|
status = "okay";
|
2023-04-06 21:29:57 +08:00
|
|
|
jedec-id = [ef 70 17];
|
|
|
|
|
|
|
|
erase-block-size = <4096>;
|
|
|
|
write-block-size = <1>;
|
2021-05-19 03:55:47 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-09-14 04:10:14 +08:00
|
|
|
&enet_mac {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-0 = <&pinmux_enet>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
nxp,unique-mac;
|
|
|
|
phy-connection-type = "rmii";
|
|
|
|
phy-handle = <&phy>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&enet_mdio {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-0 = <&pinmux_enet_mdio>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
phy: phy@0 {
|
|
|
|
status = "okay";
|
|
|
|
compatible = "ti,dp83825";
|
|
|
|
reg = <0>;
|
|
|
|
reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
|
|
|
|
int-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
|
|
|
|
ti,interface-type = "rmii";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-05-19 03:55:47 +08:00
|
|
|
&lpspi3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usdhc1 {
|
|
|
|
status = "okay";
|
2022-02-02 09:11:10 +08:00
|
|
|
no-1-8-v;
|
2022-02-26 01:21:45 +08:00
|
|
|
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";
|
2024-11-01 04:24:57 +08:00
|
|
|
disk-name = "SD";
|
2022-02-26 01:21:45 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2021-05-19 03:55:47 +08:00
|
|
|
};
|