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 mipi_dbi_waveshare_epaper_gdeh0154a07 { 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 #address-cells = <1>; 20 #size-cells = <0>; 21 22 ssd16xx_waveshare_epaper_gdeh0154a07: ssd16xxfb@0 { 23 compatible = "gooddisplay,gdeh0154a07", "solomon,ssd1681"; 24 mipi-max-frequency = <4000000>; 25 reg = <0>; 26 width = <200>; 27 height = <200>; 28 busy-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */ 29 30 tssv = <0x80>; 31 32 full { 33 border-waveform = <0x05>; 34 }; 35 36 partial { 37 border-waveform = <0x3c>; 38 }; 39 }; 40 }; 41}; 42