ramips: DTS: VoCore2 improvements/fixes
The VoCore2 features 128MB of RAM, therefore set memory in DTS to 128*1024*1024 = 0x8000000 The board's LED is connected to GND, set it to ACTIVE_HIGH here. Make serial console working again on kernel 4.9 by change of pinmux configuration. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
This commit is contained in:
		 Paul Wassi
					Paul Wassi
				
			
				
					committed by
					
						 Mathias Kresin
						Mathias Kresin
					
				
			
			
				
	
			
			
			 Mathias Kresin
						Mathias Kresin
					
				
			
						parent
						
							870ca0da7a
						
					
				
				
					commit
					ece85e2e49
				
			| @@ -15,7 +15,7 @@ | |||||||
|  |  | ||||||
| 	memory@0 { | 	memory@0 { | ||||||
| 		device_type = "memory"; | 		device_type = "memory"; | ||||||
| 		reg = <0x0 0x4000000>; | 		reg = <0x0 0x8000000>; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
| 	gpio-leds { | 	gpio-leds { | ||||||
| @@ -23,7 +23,7 @@ | |||||||
|  |  | ||||||
| 		status { | 		status { | ||||||
| 			label = "vocore2:fuchsia:status"; | 			label = "vocore2:fuchsia:status"; | ||||||
| 			gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; | 			gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| }; | }; | ||||||
| @@ -31,28 +31,9 @@ | |||||||
| &pinctrl { | &pinctrl { | ||||||
| 	state_default: pinctrl0 { | 	state_default: pinctrl0 { | ||||||
| 		gpio { | 		gpio { | ||||||
| 			ralink,group = "refclk", "gpio"; | 			ralink,group = "wled_an", "perst", "wdt"; | ||||||
| 			ralink,function = "gpio"; | 			ralink,function = "gpio"; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		agpio { |  | ||||||
| 			ralink,group = "agpio"; |  | ||||||
| 			ralink,function = "uart2"; |  | ||||||
| 		}; |  | ||||||
| 	}; |  | ||||||
|  |  | ||||||
| 	uart1_pins: uart1 { |  | ||||||
| 		uart1 { |  | ||||||
| 			ralink,group = "uart1"; |  | ||||||
| 			ralink,function = "uart1"; |  | ||||||
| 		}; |  | ||||||
| 	}; |  | ||||||
|  |  | ||||||
| 	uart2_pins: uart2 { |  | ||||||
| 		uart2 { |  | ||||||
| 			ralink,group = "spis"; |  | ||||||
| 			ralink,function = "pwm"; |  | ||||||
| 		}; |  | ||||||
| 	}; | 	}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user