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
|
From c912fa6af8ed1452717a4754960f328b6fc09ff0 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 16 Jan 2018 12:59:17 +0000
Subject: [PATCH 160/454] overlays: Fix resetgpio and ledgpio for hy28a/b
Offsets for overlay parameters are specified in bytes, not in access
units.
See: https://github.com/raspberrypi/linux/issues/2344
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
---
arch/arm/boot/dts/overlays/hy28a-overlay.dts | 4 ++--
arch/arm/boot/dts/overlays/hy28b-overlay.dts | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
--- a/arch/arm/boot/dts/overlays/hy28a-overlay.dts
+++ b/arch/arm/boot/dts/overlays/hy28a-overlay.dts
@@ -86,8 +86,8 @@
debug = <&hy28a>,"debug:0";
xohms = <&hy28a_ts>,"ti,x-plate-ohms;0";
resetgpio = <&hy28a>,"reset-gpios:4",
- <&hy28a_pins>, "brcm,pins:1";
+ <&hy28a_pins>, "brcm,pins:4";
ledgpio = <&hy28a>,"led-gpios:4",
- <&hy28a_pins>, "brcm,pins:2";
+ <&hy28a_pins>, "brcm,pins:8";
};
};
--- a/arch/arm/boot/dts/overlays/hy28b-overlay.dts
+++ b/arch/arm/boot/dts/overlays/hy28b-overlay.dts
@@ -141,8 +141,8 @@
debug = <&hy28b>,"debug:0";
xohms = <&hy28b_ts>,"ti,x-plate-ohms;0";
resetgpio = <&hy28b>,"reset-gpios:4",
- <&hy28b_pins>, "brcm,pins:1";
+ <&hy28b_pins>, "brcm,pins:4";
ledgpio = <&hy28b>,"led-gpios:4",
- <&hy28b_pins>, "brcm,pins:2";
+ <&hy28b_pins>, "brcm,pins:8";
};
};
|