1/*
2 * Copyright (c) 2020, PHYTEC Messtechnik GmbH
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include "waveshare_epaper_common.dtsi"
8
9/ {
10	chosen {
11		zephyr,display = &uc8179_waveshare_epaper_gdew075t7;
12	};
13};
14
15&arduino_spi {
16	uc8179_waveshare_epaper_gdew075t7: uc8179@0 {
17		compatible = "gooddisplay,gdew075t7", "ultrachip,uc8179";
18		spi-max-frequency = <4000000>;
19		reg = <0>;
20		width = <800>;
21		height = <480>;
22		dc-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>;	/* D9 */
23		reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>;	/* D8 */
24		busy-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>;	/* D7 */
25
26		softstart = [17 17 17 17];
27
28		full {
29			pwr = [07 07 3f 3f];
30			cdi = <07>;
31			tcon = <0x22>;
32		};
33	};
34};
35