2018-03-28 01:25:06 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 Jan Van Winkel <jan.van_winkel@dxplore.eu>
|
2019-07-11 04:43:20 +08:00
|
|
|
* Copyright (c) 2019 O.S.Systems
|
2018-03-28 01:25:06 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
&spi1 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2019-07-11 04:43:20 +08:00
|
|
|
sck-pin = <47>;
|
|
|
|
mosi-pin = <45>;
|
|
|
|
miso-pin = <46>;
|
2018-03-28 01:25:06 +08:00
|
|
|
cs-gpios = <&gpio0 4 0>;
|
|
|
|
|
|
|
|
ili9340@0 {
|
|
|
|
compatible = "ilitek,ili9340";
|
|
|
|
label = "DISPLAY";
|
|
|
|
spi-max-frequency = <15151515>;
|
|
|
|
reg = <0>;
|
|
|
|
reset-gpios = <&gpio0 30 0>;
|
|
|
|
cmd-data-gpios = <&gpio0 31 0>;
|
|
|
|
};
|
|
|
|
};
|