2019-07-15 20:12:28 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019, PHYTEC Messtechnik GmbH
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2020-11-30 20:12:05 +08:00
|
|
|
#include "waveshare_epaper_common.dtsi"
|
2019-07-15 20:12:28 +08:00
|
|
|
|
2021-11-27 01:30:11 +08:00
|
|
|
/ {
|
|
|
|
chosen {
|
2022-09-26 18:35:05 +08:00
|
|
|
zephyr,display = &ssd16xx_waveshare_epaper_gdeh0213b72;
|
2021-11-27 01:30:11 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-11-30 20:12:05 +08:00
|
|
|
&arduino_spi {
|
2022-09-26 18:35:05 +08:00
|
|
|
ssd16xx_waveshare_epaper_gdeh0213b72: ssd16xxfb@0 {
|
2022-07-16 18:11:46 +08:00
|
|
|
compatible = "gooddisplay,gdeh0213b72", "solomon,ssd1675a";
|
2019-07-15 20:12:28 +08:00
|
|
|
spi-max-frequency = <4000000>;
|
|
|
|
reg = <0>;
|
|
|
|
width = <250>;
|
|
|
|
height = <120>;
|
2019-12-30 00:06:18 +08:00
|
|
|
dc-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */
|
|
|
|
reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */
|
|
|
|
busy-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */
|
2022-07-13 03:38:44 +08:00
|
|
|
|
|
|
|
full {
|
|
|
|
gdv = [15];
|
|
|
|
sdv = [41 a8 32];
|
2022-07-22 05:07:13 +08:00
|
|
|
vcom = <0x55>;
|
2022-07-13 03:38:44 +08:00
|
|
|
border-waveform = <0x03>;
|
|
|
|
dummy-line = <0x30>;
|
|
|
|
gate-line-width = <0x0a>;
|
|
|
|
lut = [
|
|
|
|
80 60 40 00 00 00 00
|
|
|
|
10 60 20 00 00 00 00
|
|
|
|
80 60 40 00 00 00 00
|
|
|
|
10 60 20 00 00 00 00
|
|
|
|
00 00 00 00 00 00 00
|
|
|
|
03 03 00 00 02
|
|
|
|
09 09 00 00 02
|
|
|
|
03 03 00 00 02
|
|
|
|
00 00 00 00 00
|
|
|
|
00 00 00 00 00
|
|
|
|
00 00 00 00 00
|
|
|
|
00 00 00 00 00
|
|
|
|
];
|
|
|
|
};
|
2019-07-15 20:12:28 +08:00
|
|
|
|
2022-07-22 05:07:13 +08:00
|
|
|
partial {
|
|
|
|
gdv = [15];
|
|
|
|
sdv = [41 a8 32];
|
|
|
|
vcom = <0x26>;
|
|
|
|
border-waveform = <0x01>;
|
|
|
|
dummy-line = <0x30>;
|
|
|
|
gate-line-width = <0x0a>;
|
|
|
|
lut = [
|
|
|
|
00 00 00 00 00 00 00
|
|
|
|
80 00 00 00 00 00 00
|
|
|
|
40 00 00 00 00 00 00
|
|
|
|
80 00 00 00 00 00 00
|
|
|
|
00 00 00 00 00 00 00
|
|
|
|
0A 00 00 00 04
|
|
|
|
00 00 00 00 00
|
|
|
|
00 00 00 00 00
|
|
|
|
00 00 00 00 00
|
|
|
|
00 00 00 00 00
|
|
|
|
00 00 00 00 00
|
|
|
|
00 00 00 00 00
|
|
|
|
];
|
|
|
|
};
|
2019-07-15 20:12:28 +08:00
|
|
|
};
|
|
|
|
};
|