You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
freifunkist-firmware/target/linux/brcm2708/patches-4.14/950-0160-overlays-Fix-reset...

42 lines
1.4 KiB

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";
};
};