1/* 2 * Copyright (c) 2019, 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 = &ssd16xx_waveshare_epaper_gdeh029a1; 12 }; 13}; 14 15&arduino_spi { 16 ssd16xx_waveshare_epaper_gdeh029a1: ssd16xxfb@0 { 17 compatible = "gooddisplay,gdeh029a1", "solomon,ssd1608"; 18 spi-max-frequency = <4000000>; 19 reg = <0>; 20 width = <296>; 21 height = <128>; 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_HIGH>; /* D7 */ 25 26 softstart = [d7 d6 9d]; 27 28 full { 29 vcom = <0x9a>; 30 border-waveform = <0x33>; 31 dummy-line = <0x1a>; 32 gate-line-width = <0x08>; 33 lut = [ 34 50 AA 55 AA 11 00 00 00 35 00 00 00 00 00 00 00 00 36 00 00 00 00 FF FF 1F 00 37 00 00 00 00 00 00 38 ]; 39 }; 40 41 partial { 42 vcom = <0xa8>; 43 border-waveform = <0x01>; 44 dummy-line = <0x1a>; 45 gate-line-width = <0x08>; 46 lut = [ 47 10 18 18 08 18 18 08 00 48 00 00 00 00 00 00 00 00 49 00 00 00 00 13 14 44 12 50 00 00 00 00 00 00 51 ]; 52 }; 53 }; 54}; 55