zephyr/boards/phytec/phyboard_electra/phyboard_electra_am6442_m4.dts

73 lines
1.4 KiB
Plaintext

/*
* Copyright (C) 2024 PHYTEC Messtechnik GmbH
* Author: Daniel Schultz <d.schultz@phytec.de>
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <ti/am64x_m4.dtsi>
/ {
model = "PHYTEC phyBOARD-Electra AM64x M4";
compatible = "phytec,phyboard-electra-am64xx-m4", "ti,am6442";
chosen {
zephyr,sram = &sram0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram1 = &ddr0;
};
aliases {
led0 = &heartbeat_led;
};
cpus {
cpu@0 {
status = "okay";
clock-frequency = <DT_FREQ_M(400)>;
};
};
ddr0:memory@a4100000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0xa4100000 DT_SIZE_K(4)>;
zephyr,memory-region = "DDR";
};
leds: leds {
compatible = "gpio-leds";
heartbeat_led: led_0 {
gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
label = "Heartbeat LED";
};
};
};
&pinctrl {
mcu_uart0_rx_default: mcu_uart0_rx_default {
pinmux = <K3_PINMUX(0x028, PIN_INPUT, MUX_MODE_0)>;
};
mcu_uart0_tx_default: mcu_uart0_tx_default {
pinmux = <K3_PINMUX(0x002C, PIN_OUTPUT, MUX_MODE_0)>;
};
mcu_gpio0_led_default: mcu_gpio0_led_default {
pinmux = <K3_PINMUX(0x0018, PIN_OUTPUT, MUX_MODE_7)>;
};
};
&uart0 {
current-speed = <115200>;
pinctrl-0 = <&mcu_uart0_rx_default &mcu_uart0_tx_default>;
pinctrl-names = "default";
status = "okay";
};
&gpio0 {
pinctrl-0 = <&mcu_gpio0_led_default>;
pinctrl-names = "default";
status = "okay";
};