aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorAndrey Jr. Melnikov <temnota.am@gmail.com>2018-06-27 20:32:23 +0300
committerMathias Kresin <dev@kresin.me>2018-06-27 23:48:32 +0200
commit1961cdfb57c647530fc3b5729e1b5569e6fa98b0 (patch)
treea195081f9d59842d2e93a4bf171e4d2fa3aeb146 /target/linux
parentdba362772e5ba5e991b6f2593c72e7fce460694d (diff)
downloadupstream-1961cdfb57c647530fc3b5729e1b5569e6fa98b0.tar.gz
upstream-1961cdfb57c647530fc3b5729e1b5569e6fa98b0.tar.bz2
upstream-1961cdfb57c647530fc3b5729e1b5569e6fa98b0.zip
ramips: move mt7620n i2c_pins definition to right place
Move to i2c pins pinmux node to the pinctrl node. Fixes: a0685deec458 ("ramips: Add i2c support for mt7620n") Signed-off-by: Andrey Jr. Melnikov <temnota.am@gmail.com> [fix commit message] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index 91d124ca75..78d12a2686 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -208,13 +208,6 @@
pinctrl-0 = <&spi_cs1>;
};
- i2c_pins: i2c {
- i2c {
- ralink,group = "i2c";
- ralink,function = "i2c";
- };
- };
-
uartlite: uartlite@c00 {
compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0xc00 0x100>;
@@ -272,6 +265,13 @@
};
};
+ i2c_pins: i2c {
+ i2c {
+ ralink,group = "i2c";
+ ralink,function = "i2c";
+ };
+ };
+
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";