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_gdeh0154a07; 12 }; 13}; 14 15&arduino_spi { 16 ssd16xx_waveshare_epaper_gdeh0154a07: ssd16xxfb@0 { 17 compatible = "gooddisplay,gdeh0154a07", "solomon,ssd1681"; 18 spi-max-frequency = <4000000>; 19 reg = <0>; 20 width = <200>; 21 height = <200>; 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 tssv = <0x80>; 27 28 full { 29 border-waveform = <0x05>; 30 }; 31 32 partial { 33 border-waveform = <0x3c>; 34 }; 35 }; 36}; 37