ramips: cudy wr1300v1 reduce SPI freq to 10000000
Reducing SPI flash frequency allows the build to boot on both old variants with W25Q128 chip and new variants with XM25QH128C chip. The old 80000000 value only boots on devices with the W25Q128 flash. This is also the change Cudy themselves made in their openwrt builds and their .dts file. Removed m25p,fast-read as it is not needed with slower speeds. Signed-off-by: Filip Milivojevic <zekica@gmail.com>
This commit is contained in:
		 Filip Milivojevic
					Filip Milivojevic
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							700c47a5f6
						
					
				
				
					commit
					990419dac3
				
			| @@ -65,8 +65,7 @@ | |||||||
| 	flash@0 { | 	flash@0 { | ||||||
| 		compatible = "jedec,spi-nor"; | 		compatible = "jedec,spi-nor"; | ||||||
| 		reg = <0>; | 		reg = <0>; | ||||||
| 		spi-max-frequency = <80000000>; | 		spi-max-frequency = <10000000>; | ||||||
| 		m25p,fast-read; |  | ||||||
|  |  | ||||||
| 		partitions { | 		partitions { | ||||||
| 			compatible = "fixed-partitions"; | 			compatible = "fixed-partitions"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user