Guition 535 and 550 i2s config (#500)

This commit is contained in:
Shadowtrance 2026-02-14 05:11:51 +10:00 committed by GitHub
parent 8ff990d635
commit 4ab29ae466
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#include <tactility/bindings/root.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2s.h>
#include <tactility/bindings/esp32_spi.h>
#include <tactility/bindings/esp32_uart.h>
@ -31,6 +32,14 @@
pin-scl = <&gpio0 18 GPIO_FLAG_NONE>;
};
i2s0 {
compatible = "espressif,esp32-i2s";
port = <I2S_NUM_0>;
pin-bclk = <&gpio0 42 GPIO_FLAG_NONE>;
pin-ws = <&gpio0 2 GPIO_FLAG_NONE>;
pin-data-out = <&gpio0 41 GPIO_FLAG_NONE>;
};
display_spi: spi0 {
compatible = "espressif,esp32-spi";
host = <SPI2_HOST>;

View File

@ -3,6 +3,7 @@
#include <tactility/bindings/root.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2s.h>
#include <tactility/bindings/esp32_spi.h>
#include <tactility/bindings/esp32_uart.h>
@ -31,6 +32,15 @@
pin-scl = <&gpio0 18 GPIO_FLAG_NONE>;
};
i2s0 {
compatible = "espressif,esp32-i2s";
status = "disabled";
port = <I2S_NUM_0>;
pin-bclk = <&gpio0 0 GPIO_FLAG_NONE>;
pin-ws = <&gpio0 18 GPIO_FLAG_NONE>;
pin-data-out = <&gpio0 17 GPIO_FLAG_NONE>;
};
spi0 {
compatible = "espressif,esp32-spi";
host = <SPI2_HOST>;