You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.1 KiB
71 lines
1.1 KiB
/* |
|
* Copyright (c) 2024 Mario Paja |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
/dts-v1/; |
|
|
|
#include <espressif/esp32c6/esp32c6_wroom_n4.dtsi> |
|
#include "xiao_esp32c6-pinctrl.dtsi" |
|
#include <zephyr/dt-bindings/input/input-event-codes.h> |
|
#include <espressif/partitions_0x0_default.dtsi> |
|
#include "seeed_xiao_connector.dtsi" |
|
|
|
/ { |
|
model = "Seeed XIAO ESP32C6"; |
|
compatible = "seeed,xiao-esp32c6"; |
|
|
|
chosen { |
|
zephyr,sram = &sram0; |
|
zephyr,console = &usb_serial; |
|
zephyr,shell-uart = &usb_serial; |
|
zephyr,flash = &flash0; |
|
zephyr,code-partition = &slot0_partition; |
|
}; |
|
|
|
leds: leds { |
|
compatible = "gpio-leds"; |
|
yellow_led: led_0 { |
|
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; |
|
label = "User LED1"; |
|
}; |
|
}; |
|
|
|
aliases { |
|
led0 = &yellow_led; |
|
watchdog0 = &wdt0; |
|
}; |
|
|
|
}; |
|
|
|
&trng0 { |
|
status = "okay"; |
|
}; |
|
|
|
&gpio0 { |
|
status = "okay"; |
|
}; |
|
|
|
&wdt0 { |
|
status = "okay"; |
|
}; |
|
|
|
&usb_serial { |
|
status = "okay"; |
|
}; |
|
|
|
&spi2 { |
|
#address-cells = <1>; |
|
#size-cells = <0>; |
|
status = "okay"; |
|
pinctrl-0 = <&spim2_default>; |
|
pinctrl-names = "default"; |
|
}; |
|
|
|
&uart0 { |
|
status = "okay"; |
|
current-speed = <115200>; |
|
pinctrl-0 = <&uart0_default>; |
|
pinctrl-names = "default"; |
|
};
|
|
|