Added MAX32690EVKit board For more information about this board please check https://www.analog.com/ MAX32690 has two core, Cortex-M4 and Risc-V. Examples can be build by below command for cortex-m4 west build -b max32690evkit/max32690/m4 samples/hello_world As a shorthand, the soc may be omitted from the build command and keeping the corresponding forward slashes: west build -b max32690evkit//m4 samples/hello_world Co-authored-by: Jason Murphy <jason.murphy@analog.com> Co-authored-by: Maureen Helm <maureen.helm@analog.com> Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
87 lines
1.3 KiB
Text
87 lines
1.3 KiB
Text
/*
|
|
* Copyright (c) 2023-2024 Analog Devices, Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <adi/max32/max32690.dtsi>
|
|
#include <adi/max32/max32690-pinctrl.dtsi>
|
|
#include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
|
|
|
|
/ {
|
|
model = "Analog Devices MAX32690EVKIT";
|
|
compatible = "adi,max32690evkit";
|
|
|
|
chosen {
|
|
zephyr,console = &uart2;
|
|
zephyr,shell-uart = &uart2;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
red_led: led_0 {
|
|
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
|
|
label = "LED0";
|
|
};
|
|
green_led: led_1 {
|
|
gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
|
|
label = "LED1";
|
|
};
|
|
};
|
|
|
|
buttons {
|
|
compatible = "gpio-keys";
|
|
pb0: pb0 {
|
|
gpios = <&gpio4 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
label = "SW2";
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
led0 = &red_led;
|
|
led1 = &green_led;
|
|
sw0 = &pb0;
|
|
};
|
|
};
|
|
|
|
&clk_ipo {
|
|
status = "okay";
|
|
};
|
|
|
|
&clk_ibro {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio3 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio4 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart2 {
|
|
clock-source = <ADI_MAX32_PRPH_CLK_SRC_IBRO>;
|
|
pinctrl-0 = <&uart2a_tx_p1_10 &uart2a_rx_p1_9>;
|
|
pinctrl-names = "default";
|
|
current-speed = <115200>;
|
|
data-bits = <8>;
|
|
parity = "none";
|
|
status = "okay";
|
|
};
|