mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
* **DevicetreeCompiler** * Binding properties now support default values. * Compiler returns meaningful exit codes and reports errors more clearly. * Stronger validation of device configurations with unified error handling. * Added integration tests and a dedicated Devicetree test workflow. * **Changes** * Platform binding schemas updated: some fields made required, others gained explicit defaults. * Many device-tree files simplified by removing unused/placeholder pin and transfer-size entries. * **Documentation** * Removed several outdated TODO items.
32 lines
546 B
Plaintext
32 lines
546 B
Plaintext
/dts-v1/;
|
|
|
|
#include <tactility/bindings/root.h>
|
|
#include <tactility/bindings/esp32_gpio.h>
|
|
#include <tactility/bindings/esp32_spi.h>
|
|
|
|
/ {
|
|
compatible = "root";
|
|
model = "CYD E32R28T";
|
|
|
|
gpio0 {
|
|
compatible = "espressif,esp32-gpio";
|
|
gpio-count = <40>;
|
|
};
|
|
|
|
display_spi: spi0 {
|
|
compatible = "espressif,esp32-spi";
|
|
host = <SPI2_HOST>;
|
|
pin-mosi = <13>;
|
|
pin-miso = <12>;
|
|
pin-sclk = <14>;
|
|
};
|
|
|
|
sdcard_spi: spi1 {
|
|
compatible = "espressif,esp32-spi";
|
|
host = <SPI3_HOST>;
|
|
pin-mosi = <23>;
|
|
pin-miso = <19>;
|
|
pin-sclk = <18>;
|
|
};
|
|
};
|