aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-06-28 12:06:43 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2017-06-30 12:12:06 +0200
commit1dc7a0cfd5cdf90a8ce8381ef07bac11ad46afef (patch)
tree3c93280c68f170587c37a372f349e2d7d47f5e44
parent28cb6ed94990b85b5b6f25d2c70e43abeaf9a30d (diff)
downloadupstream-1dc7a0cfd5cdf90a8ce8381ef07bac11ad46afef.tar.gz
upstream-1dc7a0cfd5cdf90a8ce8381ef07bac11ad46afef.tar.bz2
upstream-1dc7a0cfd5cdf90a8ce8381ef07bac11ad46afef.zip
brcm63xx: fix bcm6328 pinmux other register
The pinmux register is at relative offset 0x8, not 0xc. Fixes hang when trying to modify pins >= 32. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
-rw-r--r--target/linux/brcm63xx/patches-4.4/132-pinctrl-add-a-pincontrol-driver-for-BCM6328.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/132-pinctrl-add-a-pincontrol-driver-for-BCM6328.patch b/target/linux/brcm63xx/patches-4.4/132-pinctrl-add-a-pincontrol-driver-for-BCM6328.patch
index e1f2140781..3c5f15b91f 100644
--- a/target/linux/brcm63xx/patches-4.4/132-pinctrl-add-a-pincontrol-driver-for-BCM6328.patch
+++ b/target/linux/brcm63xx/patches-4.4/132-pinctrl-add-a-pincontrol-driver-for-BCM6328.patch
@@ -66,7 +66,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
+
+#define BCM6328_MUX_LO_REG 0x4
+#define BCM6328_MUX_HI_REG 0x0
-+#define BCM6328_MUX_OTHER_REG 0xc
++#define BCM6328_MUX_OTHER_REG 0x8
+
+#define BCM6328_NGPIO 32
+