sob-ap2: Enable GPIO26 + GPIO27 as GPIO, not MDIO
This commit is contained in:
parent
e67d0c78a6
commit
931bb20e63
|
@ -119,6 +119,12 @@ static void __init sysmocom_sob_ap2_setup(void)
|
||||||
ath79_register_leds_gpio(-1, ARRAY_SIZE(sysmocom_sob_ap2_leds_gpio),
|
ath79_register_leds_gpio(-1, ARRAY_SIZE(sysmocom_sob_ap2_leds_gpio),
|
||||||
sysmocom_sob_ap2_leds_gpio);
|
sysmocom_sob_ap2_leds_gpio);
|
||||||
ath79_register_usb();
|
ath79_register_usb();
|
||||||
|
|
||||||
|
/* Enable GPIO26 and GPIO27 */
|
||||||
|
ath79_reset_wr(AR933X_RESET_REG_BOOTSTRAP,
|
||||||
|
ath79_reset_rr(AR933X_RESET_REG_BOOTSTRAP) |
|
||||||
|
AR933X_BOOTSTRAP_MDIO_GPIO_EN);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init sysmocom_sob_jb02_setup(void)
|
static void __init sysmocom_sob_jb02_setup(void)
|
||||||
|
|
Loading…
Reference in New Issue