/* * Copyright (c) 2024 Analog Devices, Inc. * * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include #include #include #include / { model = "Analog Devices MAX32662EVKIT"; compatible = "adi,max32662evkit"; chosen { zephyr,console = &uart0; zephyr,shell-uart = &uart0; zephyr,sram = &sram2; zephyr,flash = &flash0; }; leds { compatible = "gpio-leds"; led1: led_1 { gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; label = "Red LED"; }; }; buttons { compatible = "gpio-keys"; pb1: pb1 { gpios = <&gpio0 6 (GPIO_PULL_UP | GPIO_ACTIVE_LOW | MAX32_GPIO_VSEL_VDDIOH)>; label = "SW3"; zephyr,code = ; }; }; /* These aliases are provided for compatibility with samples */ aliases { led0 = &led1; sw0 = &pb1; }; }; &uart0 { pinctrl-0 = <&uart0a_tx_p0_10 &uart0a_rx_p0_11>; pinctrl-names = "default"; current-speed = <115200>; data-bits = <8>; parity = "none"; status = "okay"; }; &clk_ipo { status = "okay"; }; &gpio0 { status = "okay"; }; &trng { status = "okay"; };