/* * Copyright 2024 NXP * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include #include "frdm_mcxw71-pinctrl.dtsi" / { model = "NXP FRDM-MCXW71 board"; aliases { led0 = &blue_led; blue-pwm-led = &blue_pwm_led; green-pwm-led = &green_pwm_led; red-pwm-led = &red_pwm_led; }; chosen { zephyr,flash = &flash; zephyr,flash-controller = &fmu; zephyr,code-partition = &slot0_partition; zephyr,sram = &stcm0; zephyr,console = &lpuart1; zephyr,shell-uart = &lpuart1; zephyr,uart-pipe = &lpuart0; zephyr,canbus = &flexcan0; zephyr,uart-mcumgr = &lpuart0; }; user_led { compatible = "gpio-leds"; blue_led: led { gpios = <&gpioc 1 GPIO_ACTIVE_LOW>; }; }; pwmleds { compatible = "pwm-leds"; blue_pwm_led: pwm_led_0 { pwms = <&tpm0 1 PWM_MSEC(20) PWM_POLARITY_INVERTED>; }; green_pwm_led: pwm_led_1 { pwms = <&tpm0 2 PWM_MSEC(20) PWM_POLARITY_INVERTED>; }; red_pwm_led: pwm_led_2 { pwms = <&tpm0 0 PWM_MSEC(20) PWM_POLARITY_INVERTED>; }; }; }; &vref { status = "okay"; }; &gpioc { status = "okay"; }; &lpuart0 { current-speed = <115200>; status = "okay"; pinctrl-0 = <&pinmux_lpuart0>; pinctrl-names = "default"; }; &lpuart1 { current-speed = <115200>; status = "okay"; pinctrl-0 = <&pinmux_lpuart1>; pinctrl-names = "default"; }; &lpi2c1 { status = "okay"; pinctrl-0 = <&pinmux_lpi2c1>; pinctrl-names = "default"; }; &lpspi1 { status = "okay"; pinctrl-0 = <&pinmux_lpspi1>; pinctrl-names = "default"; }; &flash { partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; /* The MCUBoot swap-move algorithm uses the last 2 sectors * of the primary slot0 for swap status and move. */ boot_partition: partition@0 { reg = <0x0 DT_SIZE_K(64)>; }; slot0_partition: partition@10000 { reg = <0x10000 (DT_SIZE_K(416) + DT_SIZE_K(16))>; }; slot1_partition: partition@7C000 { reg = <0x7C000 DT_SIZE_K(416)>; }; storage_partition: partition@E4000 { reg = <0xE4000 DT_SIZE_K(112)>; }; }; }; &fmu { status = "okay"; }; &tpm0 { status = "okay"; pinctrl-0 = <&pinmux_tpm0>; pinctrl-names = "default"; }; &lptmr0 { status = "okay"; }; &flexcan0 { status = "okay"; pinctrl-0 = <&pinmux_flexcan>; pinctrl-names = "default"; can-transceiver { max-bitrate = <5000000>; }; }; &adc0 { pinctrl-0 = <&pinmux_lpadc0>; pinctrl-names = "default"; status = "okay"; }; &nbu { status = "okay"; wakeup-source; };