forked from mirrors/linux
		
	ARM: dts: am3517: Add pinmuxing, CD and WP for MMC1
The boardboard supports card detect and write protect, so let's enable those pins. Signed-off-by: Derald D. Woods <woods.technical@gmail.com> Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
		
							parent
							
								
									8eb43b0ada
								
							
						
					
					
						commit
						cfaa856a25
					
				
					 1 changed files with 20 additions and 0 deletions
				
			
		| 
						 | 
					@ -47,8 +47,13 @@ &i2c3 {
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
&mmc1 {
 | 
					&mmc1 {
 | 
				
			||||||
 | 
						status = "okay";
 | 
				
			||||||
 | 
						pinctrl-names = "default";
 | 
				
			||||||
 | 
						pinctrl-0 = <&mmc1_pins>;
 | 
				
			||||||
	vmmc-supply = <&vmmc_fixed>;
 | 
						vmmc-supply = <&vmmc_fixed>;
 | 
				
			||||||
	bus-width = <4>;
 | 
						bus-width = <4>;
 | 
				
			||||||
 | 
						wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */
 | 
				
			||||||
 | 
						cd-gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>; /* gpio_127 */
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
&mmc2 {
 | 
					&mmc2 {
 | 
				
			||||||
| 
						 | 
					@ -59,3 +64,18 @@ &mmc3 {
 | 
				
			||||||
      status = "disabled";
 | 
					      status = "disabled";
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&omap3_pmx_core {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						mmc1_pins: pinmux_mmc1_pins {
 | 
				
			||||||
 | 
							pinctrl-single,pins = <
 | 
				
			||||||
 | 
								OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_clk.sdmmc1_clk */
 | 
				
			||||||
 | 
								OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_cmd.sdmmc1_cmd */
 | 
				
			||||||
 | 
								OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat0.sdmmc1_dat0 */
 | 
				
			||||||
 | 
								OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat1.sdmmc1_dat1 */
 | 
				
			||||||
 | 
								OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat2.sdmmc1_dat2 */
 | 
				
			||||||
 | 
								OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat3.sdmmc1_dat3 */
 | 
				
			||||||
 | 
								OMAP3_CORE1_IOPAD(0x2150, PIN_INPUT_PULLUP | MUX_MODE4) /* sdmmc1_dat4.gpio_126 */
 | 
				
			||||||
 | 
								OMAP3_CORE1_IOPAD(0x2152, PIN_INPUT_PULLUP | MUX_MODE4) /* sdmmc1_dat5.gpio_127 */
 | 
				
			||||||
 | 
							>;
 | 
				
			||||||
 | 
						};
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue