From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:25 +0200 Subject: [U-Boot] [U-Boot, v4, 58/66] rockchip: board: lion-rk3368: add support for the RK3368-uQ7 In-Reply-To: <1501706105-7490-59-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-59-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > The RK3368-uQ7 (codenamed 'Lion') is a micro-Qseven (40mm x 70mm, > MXM-230 edge connector compatible with the Qseven specification) > form-factor system-on-module based on the octo-core Rockchip RK3368. > It is designed, supported and manufactured by Theobroma Systems. > > It provides the following features: > - 8x Cortex-A53 (in 2 clusters of 4 cores each) > - (on-module) up to 4GB of DDR3 memory > - (on-module) SPI-NOR flash > - (on-module) eMMC > - Gigabit Ethernet (with an on-module KSZ9031 PHY) > - USB > - HDMI > - MIPI-DSI/single-channel LVDS (muxed on the 'LVDS-A' pin-group) > - various 'slow' interfaces (e.g. UART, SPI, I2C, I2S, ...) > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: > - (after rebase) update defconfig > - (after rebase and defconfig update) lion_rk3368.h: remove > CONFIG_ENV_IS_NOWHERE > - moves remaining 'u-boot,dm-pre-reloc' to -u-boot.dtsi > - marks sgrf-node as pre-reloc > - defines SPL_LDSCRIPT and TPL_LDSCRIPT via defconfig > > Changes in v2: > - marks pinctrl-node as 'u-boot,dm-pre-reloc' to ensure MMC2 (eMMC) > works in the SPL stage > - makes uart0 as 'u-boot,dm-pre-reloc' to allow initialising the > preloader console (instead of relying solely on the debug UART) > - adds support for SPI1 (and the on-module SPI flash) > - splits the a 'u-boot.dtsi' off the DTS file > - updates the defconfig for SPI and SPI flash support > > arch/arm/dts/Makefile | 1 + > arch/arm/dts/rk3368-lion-u-boot.dtsi | 88 ++++++++++ > arch/arm/dts/rk3368-lion.dts | 195 +++++++++++++++++++++ > arch/arm/dts/rk3368.dtsi | 4 - > arch/arm/mach-rockchip/rk3368/Kconfig | 21 +++ > board/theobroma-systems/lion_rk3368/Kconfig | 15 ++ > board/theobroma-systems/lion_rk3368/MAINTAINERS | 10 ++ > board/theobroma-systems/lion_rk3368/Makefile | 7 + > board/theobroma-systems/lion_rk3368/README | 60 +++++++ > .../theobroma-systems/lion_rk3368/fit_spl_atf.its | 51 ++++++ > board/theobroma-systems/lion_rk3368/lion_rk3368.c | 25 +++ > configs/lion-rk3368_defconfig | 92 ++++++++++ > include/configs/lion_rk3368.h | 18 ++ > 13 files changed, 583 insertions(+), 4 deletions(-) > create mode 100644 arch/arm/dts/rk3368-lion-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3368-lion.dts > create mode 100644 board/theobroma-systems/lion_rk3368/Kconfig > create mode 100644 board/theobroma-systems/lion_rk3368/MAINTAINERS > create mode 100644 board/theobroma-systems/lion_rk3368/Makefile > create mode 100644 board/theobroma-systems/lion_rk3368/README > create mode 100644 board/theobroma-systems/lion_rk3368/fit_spl_atf.its > create mode 100644 board/theobroma-systems/lion_rk3368/lion_rk3368.c > create mode 100644 configs/lion-rk3368_defconfig > create mode 100644 include/configs/lion_rk3368.h > Applied to u-boot-rockchip, thanks!