Commit 6074cfaa8ec3d63ee2d56d6776b5621c2f342ab8

Authored by Kever Yang
Committed by Philipp Tomsich
1 parent e129c480e4

rockchip: rk3128: add evb-rk3128 support

evb-rk3128 is an evb from Rockchip based on rk3128 SoC:
- 2 USB2.0 Host port;
- 1 HDMI port;
- 2 10/100M eth port;
- 2GB ddr;
- 16GB eMMC;
- UART to USB debug port;

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

Showing 4 changed files with 60 additions and 0 deletions Side-by-side Diff

arch/arm/mach-rockchip/rk3128/Kconfig
  1 +if ROCKCHIP_RK3128
  2 +
  3 +choice
  4 + prompt "RK3128 board select"
  5 +
  6 +config TARGET_EVB_RK3128
  7 + bool "RK3128 evaluation board"
  8 + select BOARD_LATE_INIT
  9 + help
  10 + RK3128evb is a evaluation board for Rockchip rk3128,
  11 + with full function and phisical connectors support like
  12 + usb2.0 host ports, LVDS, JTAG, MAC, SDcard, HDMI, USB-2-serial...
  13 +
  14 +endchoice
  15 +
  16 +config SYS_SOC
  17 + default "rockchip"
  18 +
  19 +config SYS_MALLOC_F_LEN
  20 + default 0x0800
  21 +
  22 +source "board/rockchip/evb_rk3128/Kconfig"
  23 +
  24 +endif
board/rockchip/evb_rk3128/Kconfig
  1 +if TARGET_EVB_RK3128
  2 +
  3 +config SYS_BOARD
  4 + default "evb_rk3128"
  5 +
  6 +config SYS_VENDOR
  7 + default "rockchip"
  8 +
  9 +config SYS_CONFIG_NAME
  10 + default "evb_rk3128"
  11 +
  12 +config BOARD_SPECIFIC_OPTIONS # dummy
  13 + def_bool y
  14 +
  15 +endif
board/rockchip/evb_rk3128/MAINTAINERS
  1 +EVB-RK3128
  2 +M: Kever Yang <kever.yang@rock-chips.com>
  3 +S: Maintained
  4 +F: board/rockchip/evb_rk3128
  5 +F: include/configs/evb_rk3128.h
  6 +F: configs/evb-rk3128_defconfig
include/configs/evb_rk3128.h
  1 +/*
  2 + * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  3 + *
  4 + * SPDX-License-Identifier: GPL-2.0+
  5 + */
  6 +
  7 +#ifndef __EVB_RK3128_H
  8 +#define __EVB_RK3128_H
  9 +
  10 +#include <configs/rk3128_common.h>
  11 +
  12 +#define CONFIG_ENV_IS_IN_MMC
  13 +#define CONFIG_SYS_MMC_ENV_DEV 0
  14 +
  15 +#endif