zephyr/boards/arc/hsdk/hsdk.dts
Kumar Gala 5d332c974e board: hsdk: Convert defines into dts for display
The ILITEK ILI9340 should have been in the dts and added as #defines in
dts_fixup.h.  Fix this by adding a display node in the dts.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-03-11 07:59:38 -06:00

59 lines
800 B
Plaintext

/*
* Copyright (c) 2019, Synopsys, Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <arc_hsdk.dtsi>
/ {
model = "hsdk";
compatible = "snps,hsdk";
aliases {
uart-0 = &uart0;
};
chosen {
zephyr,sram = &ddr0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};
};
&uart0 {
status = "okay";
current-speed = <115200>;
};
&gpio0 {
status = "okay";
interrupts = <56 1>;
};
&spi0 {
status = "okay";
clock-frequency = <33333333>;
};
&spi1 {
status = "okay";
clock-frequency = <33333333>;
};
&spi2 {
status = "okay";
clock-frequency = <33333333>;
cs-gpios = <&gpio0 9 0>;
ili9340@0 {
compatible = "ilitek,ili9340";
cmd-data-gpios = <&gpio0 21 0>;
reg = <0>;
spi-max-frequency = <12000000>;
label = "DISPLAY";
};
};