-
Notifications
You must be signed in to change notification settings - Fork 0
/
ili9341opizero.dts
55 lines (47 loc) · 891 Bytes
/
ili9341opizero.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun8i-h3";
fragment@0 {
target = <&spi1>;
__overlay__ {
status = "okay";
spidev@0{
status = "disabled";
};
spidev@1{
status = "disabled";
};
};
};
fragment@1 {
target = <&pio>;
__overlay__ {
opiz_display_pins: opiz_display_pins {
pins = "PA2", "PA10", "PA18";
function = "gpio_out";
};
};
};
fragment@2 {
target = <&spi1>;
__overlay__ {
/* needed to avoid dtc warning */
#address-cells = <1>;
#size-cells = <0>;
opizdisplay: opiz-display@0{
compatible = "ilitek,ili9341";
reg = <0>;
pinctrl-names = "default";
pinctrl-0 = <&opiz_display_pins>;
spi-max-frequency = <32000000>;
rotate = <90>;
bgr;
fps = <30>;
buswidth = <8>;
reset-gpios = <&pio 0 10 1>;
dc-gpios = <&pio 0 2 0>;
};
};
};
};