mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	ARM: dts: imx6q-logicpd: Use GPIO chipselect
Using the native SPI chipselect on i.MX6 is known to be problematic. Doing it on a imx6q-sabresd causes the SPI NOR probe to fail: [ 5.388704] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00 Use the GPIO chipselect to avoid such problem. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
		
							parent
							
								
									dd1d4def68
								
							
						
					
					
						commit
						55df2079eb
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -212,6 +212,7 @@ | |||
| &ecspi1 { | ||||
| 	pinctrl-names = "default"; | ||||
| 	pinctrl-0 = <&pinctrl_ecspi1>; | ||||
| 	cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>; | ||||
| 	status = "disabled"; | ||||
| }; | ||||
| 
 | ||||
|  | @ -383,7 +384,7 @@ | |||
| 			MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK	0x100b1 | ||||
| 			MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI	0x100b1 | ||||
| 			MX6QDL_PAD_KEY_COL1__ECSPI1_MISO	0x100b1 | ||||
| 			MX6QDL_PAD_KEY_ROW1__ECSPI1_SS0		0x100b1 | ||||
| 			MX6QDL_PAD_KEY_ROW1__GPIO4_IO09		0x1b0b0 | ||||
| 		>; | ||||
| 	}; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Fabio Estevam
						Fabio Estevam