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_gdeh0213b72; 12 }; 13 14 mipi_dbi_waveshare_epaper_gdeh0213b72 { 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_gdeh0213b72: ssd16xxfb@0 { 23 compatible = "gooddisplay,gdeh0213b72", "solomon,ssd1675a"; 24 mipi-max-frequency = <4000000>; 25 reg = <0>; 26 width = <250>; 27 height = <120>; 28 busy-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */ 29 30 full { 31 gdv = [15]; 32 sdv = [41 a8 32]; 33 vcom = <0x55>; 34 border-waveform = <0x03>; 35 dummy-line = <0x30>; 36 gate-line-width = <0x0a>; 37 lut = [ 38 80 60 40 00 00 00 00 39 10 60 20 00 00 00 00 40 80 60 40 00 00 00 00 41 10 60 20 00 00 00 00 42 00 00 00 00 00 00 00 43 03 03 00 00 02 44 09 09 00 00 02 45 03 03 00 00 02 46 00 00 00 00 00 47 00 00 00 00 00 48 00 00 00 00 00 49 00 00 00 00 00 50 ]; 51 }; 52 53 partial { 54 gdv = [15]; 55 sdv = [41 a8 32]; 56 vcom = <0x26>; 57 border-waveform = <0x01>; 58 dummy-line = <0x30>; 59 gate-line-width = <0x0a>; 60 lut = [ 61 00 00 00 00 00 00 00 62 80 00 00 00 00 00 00 63 40 00 00 00 00 00 00 64 80 00 00 00 00 00 00 65 00 00 00 00 00 00 00 66 0A 00 00 00 04 67 00 00 00 00 00 68 00 00 00 00 00 69 00 00 00 00 00 70 00 00 00 00 00 71 00 00 00 00 00 72 00 00 00 00 00 73 ]; 74 }; 75 }; 76 }; 77}; 78