diff options
Diffstat (limited to 'src/soc/rockchip/rk3399/include')
-rw-r--r-- | src/soc/rockchip/rk3399/include/soc/addressmap.h | 5 | ||||
-rw-r--r-- | src/soc/rockchip/rk3399/include/soc/display.h | 25 | ||||
-rw-r--r-- | src/soc/rockchip/rk3399/include/soc/memlayout.ld | 1 |
3 files changed, 31 insertions, 0 deletions
diff --git a/src/soc/rockchip/rk3399/include/soc/addressmap.h b/src/soc/rockchip/rk3399/include/soc/addressmap.h index 28cbd7a56e..77fca9e6f7 100644 --- a/src/soc/rockchip/rk3399/include/soc/addressmap.h +++ b/src/soc/rockchip/rk3399/include/soc/addressmap.h @@ -59,6 +59,11 @@ #define TSADC_BASE 0xff260000 #define SARADC_BASE 0xff100000 #define RK_PWM_BASE 0xff420000 +#define EDP_BASE 0xff970000 + +#define VOP_BIG_BASE 0xff900000 /* corresponds to vop_id 0 */ +#define VOP_LIT_BASE 0xff8f0000 /* corresponds to vop_id 1 */ + #define DDRC0_BASE_ADDR 0xffa80000 #define SERVER_MSCH0_BASE_ADDR 0xffa84000 diff --git a/src/soc/rockchip/rk3399/include/soc/display.h b/src/soc/rockchip/rk3399/include/soc/display.h new file mode 100644 index 0000000000..7ccde5611a --- /dev/null +++ b/src/soc/rockchip/rk3399/include/soc/display.h @@ -0,0 +1,25 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2016 Rockchip Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __SOC_ROCKCHIP_RK3399_DISPLAY_H__ +#define __SOC_ROCKCHIP_RK3399_DISPLAY_H__ + +#define REF_CLK_24M (0x1 << 0) + +void rk_display_init(device_t dev, uintptr_t lcdbase, + unsigned long fb_size); +void mainboard_power_on_backlight(void); + +#endif diff --git a/src/soc/rockchip/rk3399/include/soc/memlayout.ld b/src/soc/rockchip/rk3399/include/soc/memlayout.ld index edb246d6f0..ac16394c86 100644 --- a/src/soc/rockchip/rk3399/include/soc/memlayout.ld +++ b/src/soc/rockchip/rk3399/include/soc/memlayout.ld @@ -22,6 +22,7 @@ SECTIONS POSTRAM_CBFS_CACHE(0x00100000, 1M) RAMSTAGE(0x00300000, 256K) DMA_COHERENT(0x10000000, 2M) + FRAMEBUFFER(0x10200000, 8M) SRAM_START(0xFF8C0000) BOOTBLOCK(0xFF8C2004, 32K - 4) |