I am trying with this config:
/ {
chosen {
// zephyr,display = &uc8179_7inch5_epaper_gdew075t7;
zephyr,display = &waveshare_epaper_gdey0213b74;
};
/*
WAVESHARE e-Paper Raw Panel Shield
https://docs.zephyrproject.org/latest/boards/shields/waveshare_epaper/doc/index.html
*/
mipi_dbi_xiao_epaper {
compatible = "zephyr,mipi-dbi-spi";
spi-dev = <&xiao_spi>;
dc-gpios = <&xiao_d 3 GPIO_ACTIVE_HIGH>;
reset-gpios = <&xiao_d 0 GPIO_ACTIVE_LOW>;
write-only;
#address-cells = <1>;
#size-cells = <0>;
/*
2.13" Monochrome eInk / ePaper Display with 122x250 Pixels
waveshare_epaper_gdey0213b74
eInk SPI Pins XIAO
RST D0
CS D1
DC D3
BUSY D5
SCK D8
MOSI D10
*/
waveshare_epaper_gdey0213b74: waveshare_epaper_gdey0213b74@0 {
compatible = "gooddisplay,waveshare_epaper_gdey0213b74";
mipi-max-frequency = <4000000>;
reg = <0>;
width = <250>;
height = <122>;
busy-gpios = <&xiao_d 5 GPIO_ACTIVE_LOW>;
softstart = [17 17 17 17];
full {
pwr = [07 07 3f 3f];
cdi = <07>;
tcon = <0x22>;
};
};
};
};
&xiao_spi {
status = "okay";
cs-gpios = <&xiao_d 1 GPIO_ACTIVE_LOW>;
};