mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
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>
This commit is contained in:
parent
28cb6ed949
commit
1dc7a0cfd5
@ -66,7 +66,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
|
|||||||
+
|
+
|
||||||
+#define BCM6328_MUX_LO_REG 0x4
|
+#define BCM6328_MUX_LO_REG 0x4
|
||||||
+#define BCM6328_MUX_HI_REG 0x0
|
+#define BCM6328_MUX_HI_REG 0x0
|
||||||
+#define BCM6328_MUX_OTHER_REG 0xc
|
+#define BCM6328_MUX_OTHER_REG 0x8
|
||||||
+
|
+
|
||||||
+#define BCM6328_NGPIO 32
|
+#define BCM6328_NGPIO 32
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user