blob: ac4260a22af5df20ad39650fe68088612b26af21 [file] [log] [blame]
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2020 Linumiz
* Author: Parthiban Nallathambi <parthiban@linumiz.com>
*
*/
/dts-v1/;
#include <infineon/xmc4500_F100x1024.dtsi>
#include "xmc45_relax_kit-pinctrl.dtsi"
/ {
model = "Infineon XMC4500 Relax Kit";
compatible = "infineon,xm4500-relax-kit", "infineon,xmc4500",
"infineon,xmc4xxx";
aliases {
led0 = &led1;
};
leds {
compatible = "gpio-leds";
/* leds are labelled LED1 and LED2 in the relax kit documentation */
led1: led1 {
gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
};
led2: led2 {
gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
};
};
chosen {
zephyr,sram = &dsram1;
zephyr,flash = &flash0;
zephyr,console = &usic1ch1;
zephyr,shell-uart = &usic1ch1;
};
};
&cpu0 {
clock-frequency = <120000000>;
};
&usic1ch1 {
compatible = "infineon,xmc4xxx-uart";
current-speed = <115200>;
pinctrl-0 = <&uart_tx_p0_1_u1c1 &uart_rx_p0_0_u1c1>;
pinctrl-names = "default";
input-src = "DX0D";
status = "okay";
};
&gpio1 {
status = "okay";
};