blob: 03c8adc32875c48d48b9248d6f22d6bc96e67c2d [file] [log] [blame]
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nxp/nxp_rw6xx.dtsi>
#include "frdm_rw612-pinctrl.dtsi"
/ {
model = "nxp,frdm_rw612";
aliases {
led0 = &green_led;
watchdog0 = &wwdt;
usart-0 = &flexcomm3;
i2c-0 = &flexcomm2;
};
chosen {
zephyr,sram = &sram_data;
zephyr,flash = &w25q512jvfiq;
zephyr,console = &flexcomm3;
zephyr,shell-uart = &flexcomm3;
};
leds {
compatible = "gpio-leds";
green_led: led_1 {
gpios = <&hsgpio0 12 0>;
};
};
};
&flexcomm3 {
compatible = "nxp,lpc-usart";
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&pinmux_flexcomm3_usart>;
pinctrl-names = "default";
};
&flexcomm0 {
compatible = "nxp,lpc-usart";
status = "disabled";
current-speed = <115200>;
pinctrl-0 = <&pinmux_flexcomm0_usart>;
pinctrl-names = "default";
};
&hsgpio0 {
status = "okay";
};
&flexspi {
status = "okay";
/* Winbond external flash */
w25q512jvfiq: w25q512jvfiq@0 {
compatible = "nxp,imx-flexspi-nor";
reg = <0>;
size = <DT_SIZE_M(64 * 8)>;
status = "okay";
erase-block-size = <4096>;
write-block-size = <1>;
spi-max-frequency = <133000000>;
};
};
&hci {
status = "okay";
wakeup-source;
};
&enet_mac {
status = "okay";
pinctrl-0 = <&pinmux_enet>;
pinctrl-names = "default";
phy-handle = <&phy>;
zephyr,random-mac-address;
phy-connection-type = "rmii";
};
&enet_mdio {
status = "okay";
pinctrl-0 = <&pinmux_mdio>;
pinctrl-names = "default";
phy: phy@2 {
compatible = "microchip,ksz8081";
reg = <2>;
status = "okay";
reset-gpios = <&hsgpio1 23 GPIO_ACTIVE_HIGH>;
int-gpios = <&hsgpio0 21 GPIO_ACTIVE_HIGH>;
microchip,interface-type = "rmii";
};
};
&wwdt {
status = "okay";
};
&dma0 {
status = "okay";
};
&mrt0_channel0 {
status = "okay";
};
&ctimer0 {
status = "okay";
};
&pmu {
reset-causes-en = <PMU_RESET_CM33_LOCKUP>,
<PMU_RESET_ITRC>,
<PMU_RESET_AP_RESET>;
};
/* OS Timer is the wakeup source for PM mode 2 */
&os_timer {
status = "okay";
wakeup-source;
};
&systick {
status = "disabled";
};
&adc0 {
status = "okay";
};
&dac0 {
status = "okay";
};
zephyr_udc0: &usb_otg {
status = "okay";
};
/*
* the default resistors on the board breaks out the MOSI/MISO
* pins to the nets labelled "UART" which go to J1 2 and 4,
* but we are using it for spi mosi and miso here.
* SCK is on J2 6 as labelled.
*/
&flexcomm1 {
compatible = "nxp,lpc-spi";
pinctrl-0 = <&pinmux_flexcomm1_spi>;
pinctrl-names = "default";
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
};
arduino_i2c: &flexcomm2 {
compatible = "nxp,lpc-i2c";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&pinmux_flexcomm2_i2c>;
pinctrl-names = "default";
};