ramips: move mt7620n i2c_pins definition to right place
Move to i2c pins pinmux node to the pinctrl node.
Fixes: a0685deec4 ("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>
			
			
This commit is contained in:
		 Andrey Jr. Melnikov
					Andrey Jr. Melnikov
				
			
				
					committed by
					
						 Mathias Kresin
						Mathias Kresin
					
				
			
			
				
	
			
			
			 Mathias Kresin
						Mathias Kresin
					
				
			
						parent
						
							b701d78105
						
					
				
				
					commit
					19c7e950af
				
			| @@ -208,13 +208,6 @@ | |||||||
| 			pinctrl-0 = <&spi_cs1>; | 			pinctrl-0 = <&spi_cs1>; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		i2c_pins: i2c { |  | ||||||
| 			i2c { |  | ||||||
| 				ralink,group = "i2c"; |  | ||||||
| 				ralink,function = "i2c"; |  | ||||||
| 			}; |  | ||||||
| 		}; |  | ||||||
|  |  | ||||||
| 		uartlite: uartlite@c00 { | 		uartlite: uartlite@c00 { | ||||||
| 			compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a"; | 			compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a"; | ||||||
| 			reg = <0xc00 0x100>; | 			reg = <0xc00 0x100>; | ||||||
| @@ -272,6 +265,13 @@ | |||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
|  | 		i2c_pins: i2c { | ||||||
|  | 			i2c { | ||||||
|  | 				ralink,group = "i2c"; | ||||||
|  | 				ralink,function = "i2c"; | ||||||
|  | 			}; | ||||||
|  | 		}; | ||||||
|  |  | ||||||
| 		uartlite_pins: uartlite { | 		uartlite_pins: uartlite { | ||||||
| 			uart { | 			uart { | ||||||
| 				ralink,group = "uartlite"; | 				ralink,group = "uartlite"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user