mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
41 lines
758 B
Plaintext
41 lines
758 B
Plaintext
/dts-v1/;
|
|
|
|
#include <tactility/bindings/root.h>
|
|
#include <tactility/bindings/esp32_gpio.h>
|
|
#include <tactility/bindings/esp32_i2c.h>
|
|
#include <tactility/bindings/esp32_spi.h>
|
|
|
|
// Reference: https://www.waveshare.com/wiki/ESP32-S3-LCD-1.3
|
|
/ {
|
|
compatible = "root";
|
|
model = "Waveshare S3 LCD 1.3";
|
|
|
|
gpio0 {
|
|
compatible = "espressif,esp32-gpio";
|
|
gpio-count = <49>;
|
|
};
|
|
|
|
i2c_main {
|
|
compatible = "espressif,esp32-i2c";
|
|
port = <I2C_NUM_0>;
|
|
clock-frequency = <400000>;
|
|
pin-sda = <47>;
|
|
pin-scl = <48>;
|
|
};
|
|
|
|
spi0 {
|
|
compatible = "espressif,esp32-spi";
|
|
host = <SPI2_HOST>;
|
|
pin-mosi = <41>;
|
|
pin-sclk = <40>;
|
|
};
|
|
|
|
spi1 {
|
|
compatible = "espressif,esp32-spi";
|
|
host = <SPI3_HOST>;
|
|
pin-mosi = <18>;
|
|
pin-miso = <16>;
|
|
pin-sclk = <21>;
|
|
};
|
|
};
|