]> git.ipfire.org Git - thirdparty/openwrt.git/blob
1d144bf2ca6bb727ddf2aba848de6127bfd95c31
[thirdparty/openwrt.git] /
1 From e442e5c1ab6bff5b5460b4fc949beb72aaf77970 Mon Sep 17 00:00:00 2001
2 From: eng33 <eng33@waveshare.com>
3 Date: Thu, 5 Dec 2024 18:11:26 +0800
4 Subject: [PATCH] arch:arm:boot:dts:overlays: Added waveshare 13.3inch panel
5 support
6
7 Signed-off-by: eng33 <eng33@waveshare.com>
8 ---
9 arch/arm/boot/dts/overlays/README | 2 ++
10 .../dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts | 7 +++++++
11 2 files changed, 9 insertions(+)
12
13 --- a/arch/arm/boot/dts/overlays/README
14 +++ b/arch/arm/boot/dts/overlays/README
15 @@ -5338,6 +5338,8 @@ Params: 2_8_inch 2.8" 480
16 8_0_inch 8.0" 1280x800
17 10_1_inch 10.1" 1280x800
18 11_9_inch 11.9" 320x1480
19 + 13_3_inch_4lane 13.3" 1920x1080 4lane
20 + 13_3_inch_2lane 13.3" 1920x1080 2lane
21 i2c1 Use i2c-1 with jumper wires from GPIOs 2&3
22 disable_touch Disable the touch controller
23 rotation Set the panel orientation property
24 --- a/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts
25 +++ b/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts
26 @@ -51,6 +51,11 @@
27 reg = <0x14>;
28 compatible = "goodix,gt911";
29 };
30 +
31 + touch2: ilitek@41 {
32 + compatible = "ilitek,ili251x";
33 + reg = <0x41>;
34 + };
35 };
36 };
37
38 @@ -120,6 +125,8 @@
39 <&touch>, "touchscreen-inverted-x?",
40 <&touch>, "touchscreen-inverted-y?";
41 8_8_inch = <&panel>, "compatible=waveshare,8.8inch-panel";
42 + 13_3_inch_4lane = <&panel>, "compatible=waveshare,13.3inch-4lane-panel";
43 + 13_3_inch_2lane = <&panel>, "compatible=waveshare,13.3inch-2lane-panel";
44 i2c1 = <&i2c_frag>, "target:0=",<&i2c1>,
45 <0>, "-3-4+5";
46 disable_touch = <&touch>, "status=disabled";