diff options
author | Mathias Kresin <dev@kresin.me> | 2018-08-31 07:53:42 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-09-06 21:35:53 +0200 |
commit | a14097e8e0eef8f7ee5e1e773defee83366a10a4 (patch) | |
tree | bfecbf937fafbdddfb48cf323f405be6d6278fe8 | |
parent | 2cc7980dcb5261561de32b719ada919ca3882faa (diff) | |
download | upstream-a14097e8e0eef8f7ee5e1e773defee83366a10a4.tar.gz upstream-a14097e8e0eef8f7ee5e1e773defee83366a10a4.tar.bz2 upstream-a14097e8e0eef8f7ee5e1e773defee83366a10a4.zip |
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>
-rw-r--r-- | target/linux/ramips/dts/D240.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/HC5X61.dtsi | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/OY-0001.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/ZTE-Q7.dts | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/D240.dts b/target/linux/ramips/dts/D240.dts index 8eddbecd70..613a20f995 100644 --- a/target/linux/ramips/dts/D240.dts +++ b/target/linux/ramips/dts/D240.dts @@ -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"; }; }; diff --git a/target/linux/ramips/dts/HC5X61.dtsi b/target/linux/ramips/dts/HC5X61.dtsi index 096a82513e..674ce23cbc 100644 --- a/target/linux/ramips/dts/HC5X61.dtsi +++ b/target/linux/ramips/dts/HC5X61.dtsi @@ -135,7 +135,7 @@ &pinctrl { state_default: pinctrl0 { gpio { - ralink,group = "uartf", "wled", "nd_sd"; + ralink,group = "uartf", "wled"; ralink,function = "gpio"; }; }; diff --git a/target/linux/ramips/dts/OY-0001.dts b/target/linux/ramips/dts/OY-0001.dts index 6dca2bfe1c..0aca63eb5b 100644 --- a/target/linux/ramips/dts/OY-0001.dts +++ b/target/linux/ramips/dts/OY-0001.dts @@ -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"; }; }; diff --git a/target/linux/ramips/dts/ZTE-Q7.dts b/target/linux/ramips/dts/ZTE-Q7.dts index 5d67ad3a96..ffeee7ad22 100644 --- a/target/linux/ramips/dts/ZTE-Q7.dts +++ b/target/linux/ramips/dts/ZTE-Q7.dts @@ -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"; }; }; |