zephyr/samples/display/st7789v/nrf52_pca10040.overlay

26 lines
442 B
Plaintext
Raw Normal View History

/*
* Copyright (c) 2019 Creative Product Design
*
* SPDX-License-Identifier: Apache-2.0
*/
&spi0 {
status = "okay";
sck-pin = <3>;
mosi-pin = <5>;
miso-pin = <26>;
cs-gpios = <&gpio0 27 0>;
st7789v@0 {
compatible = "sitronix,st7789v";
label = "DISPLAY";
spi-max-frequency = <20000000>;
reg = <0>;
cmd-data-gpios = <&gpio0 25 0>;
reset-gpios = <&gpio0 2 0>;
width = <320>;
height = <170>;
y-offset = <35>;
};
};