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:
parent
0c7a5fdf1c
commit
5d332c974e
2 changed files with 9 additions and 16 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue