/* * Copyright 2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ #include "mimxrt1180_evk-pinctrl.dtsi" #include / { aliases { led0 = &green_led; sw0 = &user_button; pwm-led0 = &green_pwm_led; }; leds { compatible = "gpio-leds"; green_led: led-1 { gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>; label = "User LED D6"; }; }; gpio_keys { compatible = "gpio-keys"; user_button: button-1 { label = "User SW8"; gpios = <&gpio1 4 (GPIO_PULL_UP | GPIO_ACTIVE_HIGH)>; zephyr,code = ; }; }; pwmleds { compatible = "pwm-leds"; green_pwm_led: green_pwm_led { pwms = <&flexpwm2_pwm1 1 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; }; }; &lpuart1 { status = "okay"; current-speed = <115200>; pinctrl-0 = <&pinmux_lpuart1>; pinctrl-1 = <&pinmux_lpuart1_sleep>; pinctrl-names = "default", "sleep"; }; &user_button { status = "okay"; }; &green_led { status = "okay"; }; &gpio1 { status = "okay"; }; &gpio4 { status = "okay"; }; &flexspi { pinctrl-0 = <&pinmux_flexspi1>; pinctrl-names = "default"; }; &flexspi { status = "okay"; ahb-prefetch; ahb-read-addr-opt; rx-clock-source = <1>; w25q128jw: w25q128jw@0 { compatible = "nxp,imx-flexspi-nor"; size = ; reg = <0>; spi-max-frequency = <133000000>; status = "okay"; jedec-id = [ef 60 18]; erase-block-size = <4096>; write-block-size = <1>; partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; boot_partition: partition@0 { label = "mcuboot"; reg = <0x00000000 DT_SIZE_K(128)>; }; /* The MCUBoot swap-move algorithm uses the last 3 sectors * of the primary slot0 for swap status and move. */ slot0_partition: partition@20000 { label = "image-0"; reg = <0x00020000 (DT_SIZE_M(7) + DT_SIZE_K(12))>; }; slot1_partition: partition@723000 { label = "image-1"; reg = <0x00723000 DT_SIZE_M(7)>; }; storage_partition: partition@E23000 { label = "storage"; reg = <0x00E23000 (DT_SIZE_M(2) - DT_SIZE_K(140))>; }; }; }; }; &lpi2c2 { pinctrl-0 = <&pinmux_lpi2c2>; pinctrl-names = "default"; }; &lpi2c3 { pinctrl-0 = <&pinmux_lpi2c3>; pinctrl-names = "default"; }; &lpadc1 { pinctrl-0 = <&pinmux_lpadc1>; pinctrl-names = "default"; }; &flexcan3 { pinctrl-0 = <&pinmux_flexcan3>; pinctrl-names = "default"; can-transceiver { max-bitrate = <5000000>; }; }; &flexpwm2_pwm1 { status = "okay"; pinctrl-0 = <&pinmux_flexpwm2>; pinctrl-names = "default"; }; &tpm5 { pinctrl-0 = <&pinmux_tpm5>; pinctrl-names = "default"; }; &i3c2 { pinctrl-0 = <&pinmux_i3c2>; pinctrl-names = "default"; }; p3t1755dp_ard_i3c_interface: &i3c2 {}; p3t1755dp_ard_i2c_interface: &lpi2c2 {};