boards: Add MAX32655FTHR board
Added MAX32655FTHR boards. For more information about this board please check https://www.analog.com/MAX32655FTHR Co-authored-by: Maureen Helm <maureen.helm@analog.com> Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
This commit is contained in:
parent
ff89fc98ea
commit
7204e24aa1
10 changed files with 364 additions and 0 deletions
123
boards/adi/max32655fthr/max32655fthr_max32655_m4.dts
Normal file
123
boards/adi/max32655fthr/max32655fthr_max32655_m4.dts
Normal file
|
@ -0,0 +1,123 @@
|
|||
/*
|
||||
* Copyright (c) 2023-2024 Analog Devices, Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <adi/max32/max32655.dtsi>
|
||||
#include <adi/max32/max32655-pinctrl.dtsi>
|
||||
#include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
|
||||
|
||||
/ {
|
||||
model = "Analog Devices MAX32655FTHR";
|
||||
compatible = "adi,max32655fthr";
|
||||
|
||||
chosen {
|
||||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,sram = &sram2;
|
||||
zephyr,flash = &flash0;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
led1: led_1 {
|
||||
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
|
||||
label = "Red LED";
|
||||
};
|
||||
led2: led_2 {
|
||||
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
|
||||
label = "Blue LED";
|
||||
};
|
||||
led3: led_3 {
|
||||
gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
|
||||
label = "Green LED";
|
||||
};
|
||||
};
|
||||
|
||||
buttons {
|
||||
compatible = "gpio-keys";
|
||||
pb1: pb1 {
|
||||
gpios = <&gpio0 2 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||||
label = "SW2";
|
||||
};
|
||||
pb2: pb2 {
|
||||
gpios = <&gpio0 3 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||||
label = "SW3";
|
||||
};
|
||||
pb_wakeup: pb_wakeup {
|
||||
gpios = <&gpio3 1 (GPIO_PULL_UP | GPIO_ACTIVE_LOW
|
||||
| MAX32_GPIO_VSEL_VDDIOH)>;
|
||||
label = "Wakeup";
|
||||
};
|
||||
};
|
||||
|
||||
/* These aliases are provided for compatibility with samples */
|
||||
aliases {
|
||||
led0 = &led1;
|
||||
led1 = &led2;
|
||||
led2 = &led3;
|
||||
sw0 = &pb1;
|
||||
sw1 = &pb2;
|
||||
};
|
||||
|
||||
/* Used for accessing other pins */
|
||||
feather_header: feather_connector {
|
||||
compatible = "adafruit-feather-header";
|
||||
#gpio-cells = <2>;
|
||||
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||
gpio-map-pass-thru = <0 0x3f>;
|
||||
gpio-map = <12 0 &gpio0 31 0>, /* SDA */
|
||||
<13 0 &gpio0 30 0>, /* SCL */
|
||||
<14 0 &gpio1 9 0>, /* GPIO */
|
||||
<15 0 &gpio1 8 0>, /* GPIO */
|
||||
<16 0 &gpio0 20 0>, /* GPIO */
|
||||
<17 0 &gpio0 24 0>, /* GPIO */
|
||||
<18 0 &gpio0 25 0>, /* GPIO */
|
||||
<19 0 &gpio1 7 0>, /* GPIO */
|
||||
<20 0 &gpio1 6 0>, /* GPIO */
|
||||
/* 11 not connected */
|
||||
<10 0 &gpio2 7 0>, /* TX */
|
||||
<9 0 &gpio2 6 0>, /* RX */
|
||||
<8 0 &gpio0 22 0>, /* MISO */
|
||||
<7 0 &gpio0 21 0>, /* MOSI */
|
||||
<6 0 &gpio0 23 0>, /* SCK */
|
||||
<5 0 &gpio2 5 0>, /* AIN5 */
|
||||
<4 0 &gpio2 4 0>, /* AIN4 */
|
||||
<3 0 &gpio2 3 0>, /* AIN3 */
|
||||
<2 0 &gpio2 2 0>, /* AIN2 */
|
||||
<1 0 &gpio2 1 0>, /* AIN1 */
|
||||
<0 0 &gpio2 0 0>; /* AIN0 */
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
pinctrl-0 = <&uart0a_tx_p0_1 &uart0a_rx_p0_0>;
|
||||
pinctrl-names = "default";
|
||||
current-speed = <115200>;
|
||||
data-bits = <8>;
|
||||
parity = "none";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&clk_ipo {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio3 {
|
||||
status = "okay";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue