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 mipi_dbi_waveshare_epaper_gdew075t7 { 15 compatible = "zephyr,mipi-dbi-spi"; 16 spi-dev = <&arduino_spi>; 17 dc-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>; /* D9 */ 18 reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */ 19 write-only; 20 #address-cells = <1>; 21 #size-cells = <0>; 22 23 uc8179_waveshare_epaper_gdew075t7: uc8179@0 { 24 compatible = "gooddisplay,gdew075t7", "ultrachip,uc8179"; 25 mipi-max-frequency = <4000000>; 26 reg = <0>; 27 width = <800>; 28 height = <480>; 29 busy-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */ 30 31 softstart = [17 17 17 17]; 32 33 full { 34 pwr = [07 07 3f 3f]; 35 cdi = <07>; 36 tcon = <0x22>; 37 }; 38 }; 39 }; 40}; 41