From: Andrey Jr. Melnikov Date: Wed, 27 Jun 2018 17:32:23 +0000 (+0300) Subject: ramips: move mt7620n i2c_pins definition to right place X-Git-Tag: v18.06.0-rc2~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1961cdfb57c647530fc3b5729e1b5569e6fa98b0;p=oweals%2Fopenwrt.git 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 [fix commit message] Signed-off-by: Mathias Kresin --- 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";