62 lines
1.3 KiB
Plaintext
62 lines
1.3 KiB
Plaintext
/*
|
|
* Copyright (c) 2019, PHYTEC Messtechnik GmbH
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "waveshare_epaper_common.dtsi"
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,display = &ssd16xx_waveshare_epaper_gdeh0213b1;
|
|
};
|
|
|
|
mipi_dbi_waveshare_epaper_gdeh0213b1 {
|
|
compatible = "zephyr,mipi-dbi-spi";
|
|
spi-dev = <&arduino_spi>;
|
|
dc-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>; /* D9 */
|
|
reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
ssd16xx_waveshare_epaper_gdeh0213b1: ssd16xxfb@0 {
|
|
compatible = "gooddisplay,gdeh0213b1", "solomon,ssd1673";
|
|
mipi-max-frequency = <4000000>;
|
|
reg = <0>;
|
|
width = <250>;
|
|
height = <120>;
|
|
busy-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */
|
|
|
|
full {
|
|
gdv = [10 0a];
|
|
sdv = [19];
|
|
vcom = <0xa8>;
|
|
border-waveform = <0x71>;
|
|
dummy-line = <0x1a>;
|
|
gate-line-width = <0x08>;
|
|
lut = [
|
|
22 55 AA 55 AA 55 AA 11
|
|
00 00 00 00 00 00 00 00
|
|
1E 1E 1E 1E 1E 1E 1E 1E
|
|
01 00 00 00 00
|
|
];
|
|
};
|
|
|
|
partial {
|
|
gdv = [10 0a];
|
|
sdv = [19];
|
|
vcom = <0xa8>;
|
|
border-waveform = <0x71>;
|
|
dummy-line = <0x1a>;
|
|
gate-line-width = <0x08>;
|
|
lut = [
|
|
18 00 00 00 00 00 00 00
|
|
00 00 00 00 00 00 00 00
|
|
0F 01 00 00 00 00 00 00
|
|
00 00 00 00 00
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|