overlays: Fix resetgpio and ledgpio for hy28a/b
authorPhil Elwell <phil@raspberrypi.org>
Tue, 16 Jan 2018 12:59:17 +0000 (12:59 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:57:28 +0000 (15:57 +0100)
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
arch/arm/boot/dts/overlays/hy28b-overlay.dts

index ac0f3c28ea855a620dc6a3385d9d15009f26358d..d7625a6372f512b27976011f4af42337f243b6bb 100644 (file)
@@ -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";
        };
 };
index 8018aebde8e557f45ffd63eb86f6c7a1048fe3cb..70c1118064b64be1811ed2f1bb04efd6b34f0a10 100644 (file)
                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";
        };
 };