[source] brcm63xx: fix bcm6328 pinmux other register

LEDE Commits lede-commits at lists.infradead.org
Fri Jun 30 03:39:17 PDT 2017


jogo pushed a commit to source.git, branch master:
https://git.lede-project.org/1dc7a0cfd5cdf90a8ce8381ef07bac11ad46afef

commit 1dc7a0cfd5cdf90a8ce8381ef07bac11ad46afef
Author: Jonas Gorski <jonas.gorski at gmail.com>
AuthorDate: Wed Jun 28 12:06:43 2017 +0200

    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 at gmail.com>
---
 .../patches-4.4/132-pinctrl-add-a-pincontrol-driver-for-BCM6328.patch   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 e1f2140..3c5f15b 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 at 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
 +



More information about the lede-commits mailing list