837e7bfb1709af8e352ed360c5fd8100f9daabad
[openwrt/staging/lynxis.git] /
1 From f80af7bdb76f767a236eeb55b6ea210023180cd6 Mon Sep 17 00:00:00 2001
2 From: Michael Kaplan <m.kaplan@evva.com>
3 Date: Tue, 4 Feb 2020 16:14:48 +0100
4 Subject: [PATCH] overlays: fix sh1106-spi, ssd1306-spi and ssd1351-spi overlays
5
6 ---
7 .../arm/boot/dts/overlays/sh1106-spi-overlay.dts | 16 +++++++++-------
8 .../boot/dts/overlays/ssd1306-spi-overlay.dts | 16 +++++++++-------
9 .../boot/dts/overlays/ssd1351-spi-overlay.dts | 14 ++++++++------
10 3 files changed, 26 insertions(+), 20 deletions(-)
11
12 --- a/arch/arm/boot/dts/overlays/sh1106-spi-overlay.dts
13 +++ b/arch/arm/boot/dts/overlays/sh1106-spi-overlay.dts
14 @@ -71,12 +71,14 @@
15 };
16
17 __overrides__ {
18 - speed = <&sh1106>,"spi-max-frequency:0";
19 - rotate = <&sh1106>,"rotate:0";
20 - fps = <&sh1106>,"fps:0";
21 - debug = <&sh1106>,"debug:0";
22 - dc_pin = <&sh1106>,"dc-gpios:4>";
23 - reset_pin = <&sh1106>,"reset-gpios:4>";
24 - height = <&sh1106>,"sinowealth,height:0>";
25 + speed = <&sh1106>,"spi-max-frequency:0";
26 + rotate = <&sh1106>,"rotate:0";
27 + fps = <&sh1106>,"fps:0";
28 + debug = <&sh1106>,"debug:0";
29 + dc_pin = <&sh1106>,"dc-gpios:4",
30 + <&sh1106_pins>,"brcm,pins:4;
31 + reset_pin = <&sh1106>,"reset-gpios:4",
32 + <&sh1106_pins>,"brcm,pins:0;
33 + height = <&sh1106>,"sinowealth,height:0";
34 };
35 };
36 --- a/arch/arm/boot/dts/overlays/ssd1306-spi-overlay.dts
37 +++ b/arch/arm/boot/dts/overlays/ssd1306-spi-overlay.dts
38 @@ -71,12 +71,14 @@
39 };
40
41 __overrides__ {
42 - speed = <&ssd1306>,"spi-max-frequency:0";
43 - rotate = <&ssd1306>,"rotate:0";
44 - fps = <&ssd1306>,"fps:0";
45 - debug = <&ssd1306>,"debug:0";
46 - dc_pin = <&ssd1306>,"dc-gpios:4>";
47 - reset_pin = <&ssd1306>,"reset-gpios:4>";
48 - height = <&ssd1306>,"solomon,height:0>";
49 + speed = <&ssd1306>,"spi-max-frequency:0";
50 + rotate = <&ssd1306>,"rotate:0";
51 + fps = <&ssd1306>,"fps:0";
52 + debug = <&ssd1306>,"debug:0";
53 + dc_pin = <&ssd1306>,"dc-gpios:4";
54 + <&ssd1306_pins>,"brcm,pins:4";
55 + reset_pin = <&ssd1306>,"reset-gpios:4";
56 + <&ssd1306_pins>,"brcm,pins:0";
57 + height = <&ssd1306>,"solomon,height:0";
58 };
59 };
60 --- a/arch/arm/boot/dts/overlays/ssd1351-spi-overlay.dts
61 +++ b/arch/arm/boot/dts/overlays/ssd1351-spi-overlay.dts
62 @@ -71,11 +71,13 @@
63 };
64
65 __overrides__ {
66 - speed = <&ssd1351>,"spi-max-frequency:0";
67 - rotate = <&ssd1351>,"rotate:0";
68 - fps = <&ssd1351>,"fps:0";
69 - debug = <&ssd1351>,"debug:0";
70 - dc_pin = <&ssd1351>,"dc-gpios:4>";
71 - reset_pin = <&ssd1351>,"reset-gpios:4>";
72 + speed = <&ssd1351>,"spi-max-frequency:0";
73 + rotate = <&ssd1351>,"rotate:0";
74 + fps = <&ssd1351>,"fps:0";
75 + debug = <&ssd1351>,"debug:0";
76 + dc_pin = <&ssd1351>,"dc-gpios:4",
77 + <&ssd1351_pins>,"brcm,pins:4";
78 + reset_pin = <&ssd1351>,"reset-gpios:4";
79 + <&ssd1351_pins>,"brcm,pins:0";
80 };
81 };