mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 02:15:45 +01:00 
			
		
		
		
	rockchip: rk3288-tinker: Attach missing peripherals at SPL
Tinker board needs to mux all the sdmmc gpio and activate the regulator connected to bank 7. Remove all the bank that are not in use and mark them as dm,spl so-that it would initialize at SPL. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
This commit is contained in:
		
				
					committed by
					
						 Kever Yang
						Kever Yang
					
				
			
			
				
	
			
			
			
						parent
						
							4bd143b57d
						
					
				
				
					commit
					f810ea6acb
				
			| @@ -13,20 +13,20 @@ | |||||||
| 	u-boot,dm-pre-reloc; | 	u-boot,dm-pre-reloc; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | &uart2_xfer { | ||||||
|  | 	u-boot,dm-pre-reloc; | ||||||
|  | }; | ||||||
|  |  | ||||||
| &sdmmc { | &sdmmc { | ||||||
| 	u-boot,dm-pre-reloc; | 	u-boot,dm-spl; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &emmc { | &gpio7 { | ||||||
| 	u-boot,dm-pre-reloc; | 	u-boot,dm-spl; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &gpio3 { | &vcc_sd { | ||||||
| 	u-boot,dm-pre-reloc; | 	u-boot,dm-spl; | ||||||
| }; |  | ||||||
|  |  | ||||||
| &gpio8 { |  | ||||||
| 	u-boot,dm-pre-reloc; |  | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &pcfg_pull_none_drv_8ma { | &pcfg_pull_none_drv_8ma { | ||||||
| @@ -37,10 +37,22 @@ | |||||||
| 	u-boot,dm-spl; | 	u-boot,dm-spl; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | &pcfg_pull_none { | ||||||
|  | 	u-boot,dm-spl; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &pcfg_pull_up { | ||||||
|  | 	u-boot,dm-spl; | ||||||
|  | }; | ||||||
|  |  | ||||||
| &sdmmc_bus4 { | &sdmmc_bus4 { | ||||||
| 	u-boot,dm-spl; | 	u-boot,dm-spl; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | &sdmmc_cd { | ||||||
|  | 	u-boot,dm-spl; | ||||||
|  | }; | ||||||
|  |  | ||||||
| &sdmmc_clk { | &sdmmc_clk { | ||||||
| 	u-boot,dm-spl; | 	u-boot,dm-spl; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -49,7 +49,10 @@ CONFIG_FASTBOOT_FLASH=y | |||||||
| CONFIG_FASTBOOT_FLASH_MMC_DEV=0 | CONFIG_FASTBOOT_FLASH_MMC_DEV=0 | ||||||
| CONFIG_FASTBOOT_CMD_OEM_FORMAT=y | CONFIG_FASTBOOT_CMD_OEM_FORMAT=y | ||||||
| CONFIG_ROCKCHIP_GPIO=y | CONFIG_ROCKCHIP_GPIO=y | ||||||
|  | CONFIG_SPL_GPIO_SUPPORT=y | ||||||
| CONFIG_SYS_I2C_ROCKCHIP=y | CONFIG_SYS_I2C_ROCKCHIP=y | ||||||
|  | CONFIG_SPL_I2C_SUPPORT=y | ||||||
|  | CONFIG_SPL_POWER_SUPPORT=y | ||||||
| CONFIG_MISC=y | CONFIG_MISC=y | ||||||
| CONFIG_I2C_EEPROM=y | CONFIG_I2C_EEPROM=y | ||||||
| CONFIG_MMC_DW=y | CONFIG_MMC_DW=y | ||||||
| @@ -64,7 +67,9 @@ CONFIG_SPL_PINCTRL=y | |||||||
| CONFIG_DM_PMIC=y | CONFIG_DM_PMIC=y | ||||||
| CONFIG_PMIC_RK8XX=y | CONFIG_PMIC_RK8XX=y | ||||||
| CONFIG_DM_REGULATOR_FIXED=y | CONFIG_DM_REGULATOR_FIXED=y | ||||||
|  | CONFIG_SPL_DM_REGULATOR=y | ||||||
| CONFIG_REGULATOR_RK8XX=y | CONFIG_REGULATOR_RK8XX=y | ||||||
|  | CONFIG_SPL_DM_REGULATOR_FIXED=y | ||||||
| CONFIG_PWM_ROCKCHIP=y | CONFIG_PWM_ROCKCHIP=y | ||||||
| CONFIG_RAM=y | CONFIG_RAM=y | ||||||
| CONFIG_SPL_RAM=y | CONFIG_SPL_RAM=y | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user