- Mar 16, 2017
-
-
Jacob Chen authored
At current, only firefly and rock2 have network enabled. Let's enable other boards. Signed-off-by:
Jacob Chen <jacob2.chen@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Jacob Chen authored
Enable gmac interface for rk3288 board dts. use "okay" not "ok" Signed-off-by:
Jacob Chen <jacob2.chen@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Eddie Cai authored
rk3036 support sdmmc, add dts node to support it. Signed-off-by:
Eddie Cai <eddie.cai.linux@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Eddie Cai authored
add mmc alias for rk3399 Signed-off-by:
Eddie Cai <eddie.cai.linux@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Enable board config for evb-rk3328. SDcard and eMMC boot is OK in this initial version, USB and EMAC function is not available now, will comes later. Signed-off-by:
William Zhang <william.zhang@rock-chips.com> Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
evb-rk3328 is an evb from Rockchip based on rk3328 SoC: - 2 USB2.0 Host port; - 1 USB3.0 Host port; - 1 HDMI port; - 2 10/100M eth port; - 2GB ddr; - 16GB eMMC; - UART to USB debug port; Signed-off-by:
William Zhang <william.zhang@rock-chips.com> Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Add rk3328 sysreset driver. Signed-off-by:
William Zhang <william.zhang@rock-chips.com> Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Add rk3328 pinctrl driver and grf/iomux structure definition. Signed-off-by:
William Zhang <william.zhang@rock-chips.com> Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Add rk3328 clock driver and cru structure definition. Signed-off-by:
William Zhang <william.zhang@rock-chips.com> Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
RK3328 is a SoC from Rockchip with quad-core Cortex-A53 CPU. It supports two USB2.0 EHCI ports. Other interfaces are very much like RK3288, the DRAM are 32bit width address and support address from 0 to 4GB-16MB range. Signed-off-by:
William Zhang <william.zhang@rock-chips.com> Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org> Add empty arch/arm/mach-rockchip/rk3328/Kconfig to avoid build error: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Add dts binding header for rk3328, files origin from kernel. Signed-off-by:
William Zhang <william.zhang@rock-chips.com> Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Enable all the CONFIGs which need by SPL. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Added rockchip tag: Drop CONFIG_ROCKCHIP_DWMMC for now due to build error: Move changes to arch/arm/mach-rockchip/Kconfig to this patch: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Add SPL support for rk3399, default with of-platdata enabled. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Drop Kconfig changes to fix build error: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Add syscon and dmc node, and 'u-boot,dm-pre-reloc' option for required driver. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Added rockchip tag: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
RK3399 support DDR3, LPDDR3, DDR4 sdram, this patch is porting from coreboot, support 4GB lpddr3 in this version. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Added rockchip: tag: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Eddie Cai authored
We are using wrong mmc instance as boot target device now. below Jaehoon Chung's patch use mmc alias which correct it. That make tinker board can not find mmc device. So give it correct mmc device instance. commit 02ad33aa Author: Jaehoon Chung <jh80.chung@samsung.com> Date: Thu Feb 2 13:41:14 2017 +0900 mmc: mmc-uclass: use the fixed devnum with alias node Signed-off-by:
Eddie Cai <eddie.cai.linux@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Jacob Chen authored
We should remove config_spl_of_platdata to build u-boot-spl-dtb.bin rather than u-boot-spl-nodtb.bin since we use spl_back_to_brom. I miss it because i forget to clean build-dir.. Signed-off-by:
Jacob Chen <jacob-chen@iotwrt.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Heiko Stübner authored
The rk3188 needs 3 U-Boot stages: a tpl living in 1KB of sram, a spl the resides in the rest of the sram and loads the regular U-Boot living in regular ram. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
The sdram controller blocks are very similar to the rk3288 in utilizing memory scheduler, Designware uPCTL and Designware PUBL blocks, only limited to one bank instead of two. There are some minimal differences when setting up the ram, so it gets a separate driver for the rk3188 but reuses the driver structs, as there is no need to define the same again. More optimization can happen when the modelling of the controller parts in the dts actually follow the hardware layout hopefully at some point in the future. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
Add the core architecture code for the rk3188. It doesn't support the SPL yet, as because of some unknown error it doesn't start yet. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com> Drop these defines from rk3188_common.h CONFIG_GENERIC_MMC, CONFIG_BOUNCE_BUFFER, CONFIG_DOS_PARTITION CONFIG_PARTITION_UUIDS, CONFIG_CMD_PART: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Heiko Stübner authored
The rk3188 shares a lot of peripherals with the rk3066 and thus has a common include called rk3xxx.dtsi. Add both this one and the specialized rk3188 on top of it. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
Add a driver for setting up and modifying the various PLLs and peripheral clocks on the RK3188. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
Bring in required device clock binding files from Linux. The clock trees for rk3066 and rk3188 are largely similar, which makes them share the common parts in a shared header. While we focus on rk3188 for now, bring in both headers already for completeness sake. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Acked-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
Driver for the sysreset of Rockchip rk3188 socs. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
Add a driver which supports pin multiplexing setup for the most commonly used peripherals. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Acked-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
PMU is the power management unit and GRF is the general register file. Both are heavily used in U-Boot. Add header files with register definitions. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Acked-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
Add necessary structs to have the driver also work for the serial on the rk3188. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
Add the entry for the rk3188 requiring rc4-encryption of the SPL. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
Rockchip SoCs allow the spl code to be rc4-encoded, not only the image header, but only newer SoCs allow this encoding to be disabled. The rk3188 is not part of those and requires its boot code to be rc4-encoded with the regular key. So add the ability to do this encoding via a setting on a per-soc basis when building spl images. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
So far spl-boards have declared the back_to_brom() function as simple extern in the files themself. That doesn't scale well if every boards defines this on its own. Therefore move the declarations to a bootrom header. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
Right now the ROCKCHIP_SPL_BACK_TO_BROM option both triggers compilation of the bootrom hook-code as well as enabling the behaviour of loading the full U-Boot via the boot. New added socs may always need the bootrom code, while still being able to decide between loading U-Boot regularly or via the bootrom separately. So move the compilation of the bootrom code to a hidden option that gets selected by ROCKCHIP_SPL_BACK_TO_BROM, but can also be selected by other parts. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stübner authored
The sdram IP blocks used on rk3066, rk3188 and rk3288 are very similar and we want to unify things once all 3 work as expected. Therefore try to keep the rk3288 sdram driver in line by applying the general review comments received for the rk3188 variant to it as well. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Acked-by:
Simon Glass <sjg@chromium.org>
-
Heiko Stübner authored
Use defines to describe the bit shifts used to create the table for ddrconf register values. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Acked-by:
Simon Glass <sjg@chromium.org>
-
Heiko Stübner authored
The gpll and cpll init values are only used in rk_clk_init in the SPL and therefore produce compile time warnings in regular uboot builds. Fix that with an #ifdef. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Acked-by:
Simon Glass <sjg@chromium.org> Added rockchip tag: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Heiko Stübner authored
Right now the u-boot,dm-pre-reloc flag will make each marked node always appear in both spl and tpl. But systems needing an additional tpl might have special constraints for each, like the spl needing to be very tiny. So introduce two additional flags to mark nodes for only spl or tpl environments and introduce a function dm_fdt_pre_reloc to automate the necessary checks in code instances checking for pre-relocation flags. The behaviour of the original flag stays untouched and still marks a node for both spl and tpl. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
rk3399 has different syscon registers which may used in spl, add to support rk3399 spl. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Added rockchip tag: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Do not use the API which of-platdata not support. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Added rockchip tag: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Change some API in order to enable of-platdata. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Added rockchip tag: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
Add ddr clock setting, add rockchip_get_pmucru API, and enable of-platdata support. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Added rockchip tag and fix pmuclk_init() build warning: Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Kever Yang authored
rk3399 grf register bit defenitions should locate in header file, so that not only pinctrl can use it. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Added rockchip tag: Signed-off-by:
Simon Glass <sjg@chromium.org>
-