-
Notifications
You must be signed in to change notification settings - Fork 3
/
meson-g12a-spi-lcd.dts
33 lines (30 loc) · 1.15 KB
/
meson-g12a-spi-lcd.dts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/dts-v1/;
/plugin/;
/ {
compatible = "radxa,zero", "amlogic,g12a";
fragment@0 {
target = <&spicc1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&spicc1_pins &spicc1_ss0_pins>;
pinctrl-names = "default";
st7789v@0 {
compatible = "sitronix,st7789v";
status = "okay";
reg = <0>;
spi-max-frequency = <10000000>;
width = <135>;
height = <240>;
buswidth = <8>;
fps = <60>;
rotate = <270>;
debug = <1>; // 等级0~7 越高信息越多
// configure pin assigment below
reset-gpios = <0x2b 8 1>; // pin 36
dc-gpios = <0x2b 74 0>; // pin 12
led-gpios = <0x2b 73 0>; // pin 18
};
};
};
};