mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
ramips: fix mt7620a ND/SD pins pinmuxes
Drop the nd_sd gpio pinmux in case sdcard is used. They're mutually exclusive and for most of the boards not even used as GPIOs. If the pins are in sdcard mode, the pins ND_WE_N and ND_CS_N are still GPIOs (#45 and #46). Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
parent
2cc7980dcb
commit
a14097e8e0
@ -173,7 +173,7 @@
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa", "nd_sd";
|
||||
ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
@ -135,7 +135,7 @@
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "uartf", "wled", "nd_sd";
|
||||
ralink,group = "uartf", "wled";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
@ -93,7 +93,7 @@
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
|
||||
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
@ -89,7 +89,7 @@
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
|
||||
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user