2020-05-08 21:12:53 +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"
|
2020-05-08 21:12:53 +08:00
|
|
|
|
2021-11-27 01:30:11 +08:00
|
|
|
/ {
|
|
|
|
chosen {
|
2022-09-26 18:35:05 +08:00
|
|
|
zephyr,display = &ssd16xx_waveshare_epaper_gdeh0154a07;
|
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_gdeh0154a07: ssd16xxfb@0 {
|
2022-07-16 06:37:08 +08:00
|
|
|
compatible = "gooddisplay,gdeh0154a07", "solomon,ssd1681", "solomon,ssd16xxfb";
|
2020-05-08 21:12:53 +08:00
|
|
|
spi-max-frequency = <4000000>;
|
|
|
|
reg = <0>;
|
|
|
|
width = <200>;
|
|
|
|
height = <200>;
|
|
|
|
pp-width-bits = <8>;
|
|
|
|
pp-height-bits = <16>;
|
|
|
|
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 04:06:55 +08:00
|
|
|
border-waveform = <0x3c>;
|
2020-05-11 22:29:47 +08:00
|
|
|
tssv = <0x80>;
|
2020-05-08 21:12:53 +08:00
|
|
|
};
|
|
|
|
};
|