2020-01-15 06:54:14 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020, PHYTEC Messtechnik GmbH
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2020-11-30 20:12:05 +08:00
|
|
|
#include "waveshare_epaper_common.dtsi"
|
2020-01-15 06:54:14 +08:00
|
|
|
|
2021-11-27 01:30:11 +08:00
|
|
|
/ {
|
|
|
|
chosen {
|
2022-09-26 18:35:05 +08:00
|
|
|
zephyr,display = &uc8179_waveshare_epaper_gdew075t7;
|
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
|
|
|
uc8179_waveshare_epaper_gdew075t7: uc8179@0 {
|
2022-08-16 19:15:54 +08:00
|
|
|
compatible = "gooddisplay,gdew075t7", "ultrachip,uc8179";
|
2020-01-15 06:54:14 +08:00
|
|
|
spi-max-frequency = <4000000>;
|
|
|
|
reg = <0>;
|
|
|
|
width = <800>;
|
|
|
|
height = <480>;
|
2020-01-31 20:17:59 +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_LOW>; /* D7 */
|
2022-07-17 22:19:30 +08:00
|
|
|
|
2020-01-15 06:54:14 +08:00
|
|
|
softstart = [17 17 17 17];
|
2022-07-17 22:19:30 +08:00
|
|
|
|
|
|
|
full {
|
|
|
|
pwr = [07 07 3f 3f];
|
|
|
|
cdi = <07>;
|
|
|
|
tcon = <0x22>;
|
|
|
|
};
|
2020-01-15 06:54:14 +08:00
|
|
|
};
|
|
|
|
};
|