zephyr/boards/shields/waveshare_epaper/waveshare_epaper_gdew075t7....

35 lines
712 B
Plaintext

/*
* Copyright (c) 2020, PHYTEC Messtechnik GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "waveshare_epaper_common.dtsi"
/ {
chosen {
zephyr,display = &uc8179_waveshare_epaper_gdew075t7;
};
};
&arduino_spi {
uc8179_waveshare_epaper_gdew075t7: uc8179@0 {
compatible = "gooddisplay,gdew075t7", "ultrachip,uc8179";
spi-max-frequency = <4000000>;
reg = <0>;
width = <800>;
height = <480>;
dc-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */
reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */
busy-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */
softstart = [17 17 17 17];
full {
pwr = [07 07 3f 3f];
cdi = <07>;
tcon = <0x22>;
};
};
};