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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=19c7e950af8edbc3f26114266b6007851e381b5b;p=openwrt%2Fstaging%2Fblocktrron.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";