2018-02-25 19:07:30 +00:00
|
|
|
sun8i-v3s-licheepi-zero.dts | 18 ++++++++++++++++++
|
|
|
|
1 file changed, 18 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts
|
|
|
|
index d63a9a3..063c6bf 100644
|
|
|
|
--- a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts
|
|
|
|
+++ b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts
|
|
|
|
@@ -118,3 +118,21 @@
|
|
|
|
usb0_id_det-gpio = <&pio 5 6 GPIO_ACTIVE_HIGH>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&spi0 {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ st7789v@0 {
|
|
|
|
+ compatible = "sitronix,st7789v";
|
|
|
|
+ reg = <0>;
|
|
|
|
+
|
2018-03-06 10:20:25 +00:00
|
|
|
+ spi-max-frequency = <40000000>;
|
2018-02-25 19:07:30 +00:00
|
|
|
+ txbuflen = <115200>;
|
|
|
|
+ rotate = <0>;
|
2018-03-06 10:20:25 +00:00
|
|
|
+ fps = <42>;
|
2018-02-25 19:07:30 +00:00
|
|
|
+ buswidth = <8>;
|
|
|
|
+ reset-gpios = <&pio 1 4 GPIO_ACTIVE_LOW>;
|
|
|
|
+ dc-gpios = <&pio 1 5 GPIO_ACTIVE_LOW>;
|
|
|
|
+ debug = <0>;
|
|
|
|
+ };
|
|
|
|
+};
|