blob: 035110ea5dcd903e7da6fd0fd713fe2de7d5fbef [file] [log] [blame]
/*
* Copyright (c) 2021, Linumiz
*
*/
#include "waveshare_epaper_common.dtsi"
/ {
chosen {
zephyr,display = &uc8176_waveshare_epaper_gdew042t2;
};
mipi_dbi_waveshare_epaper_gdew042t2 {
compatible = "zephyr,mipi-dbi-spi";
spi-dev = <&arduino_spi>;
dc-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>; /* D9 */
reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */
write-only;
#address-cells = <1>;
#size-cells = <0>;
uc8176_waveshare_epaper_gdew042t2: uc8176@0 {
compatible = "gooddisplay,gdew042t2", "ultrachip,uc8176";
mipi-max-frequency = <4000000>;
reg = <0>;
width = <400>;
height = <300>;
busy-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */
softstart = [17 17 17];
full {
pwr = [03 00 26 26 09];
cdi = <0xd7>;
tcon = <0x22>;
};
};
};
};