1/*
2 * Copyright (c) 2020 Rohit Gujarathi
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	chosen {
9		zephyr,display = &ls0xx_ls013b7dh03;
10	};
11};
12
13&arduino_spi {
14	status = "okay";
15	cs-gpios = <&arduino_header 16 GPIO_ACTIVE_HIGH>; /* D10 */
16
17	ls0xx_ls013b7dh03: ls0xx@0 {
18		compatible = "sharp,ls0xx";
19		spi-max-frequency = <2000000>;
20		reg = <0>;
21		width = <128>;
22		height = <128>;
23		extcomin-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>; /* D8 */
24		extcomin-frequency = <60>; /* required if extcomin-gpios is defined */
25		disp-en-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>; /* D6 */
26	};
27};
28