/* * Copyright 2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include #include "frdm_ke17z512-pinctrl.dtsi" #include / { model = "NXP Freedom KE17Z512 board"; compatible = "nxp,ke17z512", "nxp,mke17z9", "nxp,ke1xz"; chosen { zephyr,sram = &sram_u; zephyr,flash = &flash0; zephyr,console = &lpuart2; zephyr,shell-uart = &lpuart2; }; aliases { led0 = &red_led; led1 = &green_led; led2 = &blue_led; sw0 = &user_button_2; sw1 = &user_button_3; }; leds { compatible = "gpio-leds"; red_led: led_0 { gpios = <&gpiod 10 GPIO_ACTIVE_LOW>; label = "Red LED"; }; green_led: led_1 { gpios = <&gpiod 5 GPIO_ACTIVE_LOW>; label = "Green LED"; }; blue_led: led_2 { gpios = <&gpiod 12 GPIO_ACTIVE_LOW>; label = "Blue LED"; }; }; gpio_keys { compatible = "gpio-keys"; user_button_2: button_0 { label = "User SW2"; gpios = <&gpioe 14 GPIO_ACTIVE_LOW>; zephyr,code = ; }; user_button_3: button_1 { label = "User SW3"; gpios = <&gpiod 3 GPIO_ACTIVE_LOW>; zephyr,code = ; }; }; }; &lpuart2 { status = "okay"; pinctrl-0 = <&lpuart2_default>; pinctrl-names = "default"; current-speed = <115200>; }; &gpiod { status = "okay"; }; &gpioe { status = "okay"; }; &lpi2c0 { status = "okay"; pinctrl-0 = <&lpi2c0_default>; pinctrl-names = "default"; }; &lpi2c1 { status = "okay"; pinctrl-0 = <&lpi2c1_default>; pinctrl-names = "default"; };