ARM: dts: logicpd-som-lv: Fix MMC1 card detect
The card detect pin was incorrectly using IRQ_TYPE_LEVEL_LOW
instead of GPIO_ACTIVE_LOW when reading the state of the CD pin.
Without this patch, MMC1 won't be detected.
This is the same patch submitted to linux-omap, but I was hoping
to get it applied to U-Boot without having to wait for the
linux adoption and then backporting.
Fixes: 5448ff33f2 ("ARM: DTS: Resync Logic PD SOM-LV 37xx
devkit with Linux 4.18-RC4")
Signed-off-by: Adam Ford <aford173@gmail.com>
			
			
This commit is contained in:
		
							parent
							
								
									655d216af9
								
							
						
					
					
						commit
						d66f4fe982
					
				|  | @ -153,7 +153,7 @@ | |||
| 	pinctrl-names = "default"; | ||||
| 	pinctrl-0 = <&mmc1_pins>; | ||||
| 	wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;	/* gpio_126 */ | ||||
| 	cd-gpios = <&gpio4 14 IRQ_TYPE_LEVEL_LOW>;		/* gpio_110 */ | ||||
| 	cd-gpios = <&gpio4 14 GPIO_ACTIVE_LOW>;		/* gpio_110 */ | ||||
| 	vmmc-supply = <&vmmc1>; | ||||
| 	bus-width = <4>; | ||||
| 	cap-power-off-card; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue