blob: fcea7bd5bc2e2917e75c626d6f2327c80c0a6bba [file] [log] [blame]
/*
* Copyright (c) 2020, PHYTEC Messtechnik GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "waveshare_epaper_common.dtsi"
/ {
chosen {
zephyr,display = &uc8179;
};
};
&arduino_spi {
uc8179: uc8179@0 {
compatible = "gooddisplay,gdew042t2", "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 */
pwr = [07 07 3f 3f];
softstart = [17 17 17 17];
cdi = <07>;
tcon = <0x22>;
};
};