ramips: move mt7620n i2c_pins definition to right place
authorAndrey Jr. Melnikov <temnota.am@gmail.com>
Wed, 27 Jun 2018 17:32:23 +0000 (20:32 +0300)
committerMathias Kresin <dev@kresin.me>
Thu, 28 Jun 2018 16:39:57 +0000 (18:39 +0200)
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>
target/linux/ramips/dts/mt7620n.dtsi

index 91d124ca75f448858c0be2682d1ad86f48f4c417..78d12a26865549b828225dfeb576da2f92ce1637 100644 (file)
                        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>;
                        };
                };
 
+               i2c_pins: i2c {
+                       i2c {
+                               ralink,group = "i2c";
+                               ralink,function = "i2c";
+                       };
+               };
+
                uartlite_pins: uartlite {
                        uart {
                                ralink,group = "uartlite";