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>
This commit is contained in:
Kumar Gala 2020-02-13 13:42:12 -06:00 committed by Kumar Gala
commit 5d332c974e
2 changed files with 9 additions and 16 deletions

View file

@ -46,4 +46,13 @@
&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";
};
};