/* * Copyright 2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include #include "frdm_ke17z-pinctrl.dtsi" #include / { model = "NXP Freedom KE17Z board"; compatible = "nxp,frdm-ke17z", "nxp,ke17z", "nxp,mke17z7"; aliases { led0 = &red_led; led1 = &green_led; led2 = &blue_led; sw0 = &user_button_0; sw1 = &user_button_1; }; chosen { zephyr,sram = &sram_u; zephyr,flash = &flash0; zephyr,console = &lpuart0; zephyr,shell-uart = &lpuart0; }; leds { compatible = "gpio-leds"; red_led: led_0 { gpios = <&gpiod 10 GPIO_ACTIVE_LOW>; label = "RGB RED"; }; green_led: led_1 { gpios = <&gpiod 11 GPIO_ACTIVE_LOW>; label = "RGB GREEN"; }; blue_led: led_2 { gpios = <&gpiod 12 GPIO_ACTIVE_LOW>; label = "RGB BLUE"; }; }; gpio_keys { compatible = "gpio-keys"; user_button_0: button_0 { label = "User SW2"; gpios = <&gpiod 3 GPIO_ACTIVE_LOW>; zephyr,code = ; }; user_button_1: button_1 { label = "User SW3"; gpios = <&gpioe 14 GPIO_ACTIVE_LOW>; zephyr,code = ; }; }; }; &lpuart0 { status = "okay"; current-speed = <115200>; pinctrl-0 = <&lpuart0_default>; pinctrl-names = "default"; }; &gpiod { status = "okay"; }; &gpioe { status = "okay"; };