This patch enables support for the Rockchip RK3066 SD/MMC controller, which is
based on Designware IP. The device supports SD, SDIO, MMC and eMMC.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- dropped OF_PLATDATA
Changes since v2:
- none
Changes since v3:
-
This patch allows building of nand_bbt, nand_ids, nand_util for nand drivers
that need it.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
Changes since v3:
- none
drivers/mtd/nand/Makefile | 3 +++
1 file changed, 3 insertions(+)
rk3xxx.dtsi is used by rk3188 and rk3066. rk3188 uses alocated data in spl but
rk3066 needs it in tpl.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
Changes since v3:
- none
arch/arm/dts/rk3xxx.dtsi | 8
1 file changed,
Sysreset drivers for rk3066 and rk3188 contain common elements which can be
reused.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
Changes since v3:
- none
.../include/asm/arch-rockchip/sysreset_common.h| 20 +++
In current state dfu depends on cmd/mtdparts.c which isn't build in SPL.
This patch resolves it by cutting out unwanted code in SPL build.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
Changes since v3:
- removed unneded space
Rockchip bootrom first reads 1KB data from nand at offset 0x10080C00 and
executes it. Then waits for back to bootrom and loads another 32KB to sram
which also executes. Sdram initialisation code needs to be in one of these two
steps. Then bootloader loads another ~200KB of data at offset
Sandisk SDTNQGAMA is a 8GB size, 3.3V 8 bit chip with 16KB page size, 1KB write
size and 40 bit ecc support
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
Changes since v3:
- none
drivers/mtd/nand/nand_ids.c | 3 +++
1 file
dw_mmc supports two transfer modes in u-boot: idma and fifo.
This patch adds autodetection of transfer mode and eliminates setting this in
host config struct
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
Changes since v3:
- none
Use live tree functions to fill dwc2_plat_otg_data structure in board_usb_init.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- none
Changes since v3:
- none
arch/arm/mach-rockchip/rk3066-board.c | 52 +--
The Rockchip boot ROM requires a particular file format for booting from NAND:
* It starts with 512-byte, rc4 encoded header and is aligned to nand page size
* Then first 2KB of first stage loader (tpl) aligned to nand page size
* n empty pages
* second 2KB of first stage loader (tpl) aligned
Add basic Rockchip nand driver.
Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 bit
asynchronous flash interface support. Other features will come later.
Signed-off-by: Paweł Jarosz
---
Changes since v1:
- none
Changes since v2:
- fixed
Add rockchip rk3066 sdram driver
Signed-off-by: Paweł Jarosz
Acked-by: Simon Glass
Acked-by: Philipp Tomsich
---
Changes since v1:
- use common rockchip_sdram_size
- moved sdram init from sdram_init.c
Changes
mk808 is a tv stick with two usb ports, micro sd card slot, hdmi and
nand onboard.
Signed-off-by: Paweł Jarosz
Acked-by: Simon Glass
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
Add core skeleton for rk3066
Signed-off-by: Paweł Jarosz
Acked-by: Philipp Tomsich
---
Changes since v1:
- updated to shifted masks
- moved syscon.h below spl.h
- changed error to debug and return error reason
- changed Cortex-A7
rk3066 peripherials include usb, i2c, pwm, gpio, sdio, sdmmc, emmc, spi,
watchdog and uart
Signed-off-by: Paweł Jarosz
Reviewed-by: Simon Glass
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
Add support for system reset for rk3066 socs.
Signed-off-by: Paweł Jarosz
Reviewed-by: Simon Glass
Acked-by: Philipp Tomsich
---
Changes since v1:
- updated to shifted masks
Changes since v2:
- none
Changes
Add clock driver for rk3066 platform.
Signed-off-by: Paweł Jarosz
Acked-by: Philipp Tomsich
---
Changes since v1:
- updated to shifted masks
- moved clk init to tpl
Changes since v2:
- none
Changes since v3:
- none
Add driver supporting pin multiplexing on rk3066 platform.
Signed-off-by: Paweł Jarosz
Acked-by: Philipp Tomsich
---
Changes since v1:
- updated to shifted masks
- added nand support
Changes since v2:
- none
Changes since v3:
-
grf is needed by various drivers for rk3066 soc.
Signed-off-by: Paweł Jarosz
Acked-by: Philipp Tomsich
---
Changes since v1:
- updated to shifted masks
Changes since v2:
- none
Changes since v3:
- none
This patch serie adds support for Rockchip RK3066 processor.
Paweł Jarosz (19):
rockchip: rk3066: add grf header file
rockchip: rk3066: add rk3066 pinctrl driver
rockchip: rk3066: add sysreset driver
rockchip: rk3066: add clock driver for rk3066 soc
rockchip: rk3066: add rk3066 platform
20 matches
Mail list logo