From: Jonas Gorski Date: Wed, 28 Jun 2017 10:06:43 +0000 (+0200) Subject: brcm63xx: fix bcm6328 pinmux other register X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1dc7a0cfd5cdf90a8ce8381ef07bac11ad46afef;p=openwrt%2Fstaging%2Fadrian.git 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 --- 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 + +#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 +