mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-14 20:09:24 +01:00
Merge "ipq5018: Add support for BT-RAM dump collection"
This commit is contained in:
commit
34bd7e8a76
3 changed files with 55 additions and 1 deletions
|
|
@ -74,7 +74,8 @@ dtb-$(CONFIG_ARCH_IPQ5018) += ipq5018-emulation.dtb \
|
|||
ipq5018-db-mp03.1.dtb \
|
||||
ipq5018-db-mp03.1-c2.dtb \
|
||||
ipq5018-db-mp03.3.dtb \
|
||||
ipq5018-db-mp03.3-c2.dtb
|
||||
ipq5018-db-mp03.3-c2.dtb \
|
||||
ipq5018-sod.dtb
|
||||
else
|
||||
dtb-$(CONFIG_ARCH_IPQ5018) += ipq5018-emulation.dtb
|
||||
endif
|
||||
|
|
|
|||
46
arch/arm/dts/ipq5018-sod.dts
Normal file
46
arch/arm/dts/ipq5018-sod.dts
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
#include "ipq5018-soc.dtsi"
|
||||
/ {
|
||||
model ="QCA, IPQ5018-SOD";
|
||||
compatible = "qca,ipq5018", "qca,ipq5018-sod";
|
||||
machid = <0x0F040100>;
|
||||
config_name = "config@mp03.1";
|
||||
|
||||
aliases {
|
||||
console = "/serial@78AF000";
|
||||
};
|
||||
|
||||
console: serial@78AF000 {
|
||||
status = "ok";
|
||||
serial_gpio {
|
||||
blsp0_uart_rx {
|
||||
gpio = <20>;
|
||||
func = <1>;
|
||||
pull = <GPIO_PULL_DOWN>;
|
||||
drvstr = <GPIO_8MA>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
};
|
||||
blsp0_uart_tx {
|
||||
gpio = <21>;
|
||||
func = <1>;
|
||||
pull = <GPIO_NO_PULL>;
|
||||
drvstr = <GPIO_8MA>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
@ -68,10 +68,16 @@ struct dumpinfo_t dumpinfo_n[] = {
|
|||
* | (192k) |
|
||||
* | |
|
||||
* ------------------------
|
||||
* | |
|
||||
* | BTRAM Copy |
|
||||
* | (352k) |
|
||||
* | |
|
||||
* ------------------------
|
||||
*/
|
||||
{ "EBICS0.BIN", 0x40000000, 0x10000000, 0 },
|
||||
{ "IMEM.BIN", 0x08600000, 0x00001000, 0 },
|
||||
{ "NSSUTCM.BIN", 0x08600658, 0x00030000, 0, 1, 0x2000 },
|
||||
{ "BTRAM.BIN", 0x08600658, 0x00058000, 0, 1, 0x00032000 },
|
||||
{ "UNAME.BIN", 0, 0, 0, 0, 0, MINIMAL_DUMP },
|
||||
{ "CPU_INFO.BIN", 0, 0, 0, 0, 0, MINIMAL_DUMP },
|
||||
{ "DMESG.BIN", 0, 0, 0, 0, 0, MINIMAL_DUMP },
|
||||
|
|
@ -85,6 +91,7 @@ struct dumpinfo_t dumpinfo_s[] = {
|
|||
{ "EBICS_S1.BIN", CONFIG_TZ_END_ADDR, 0x10000000, 0 },
|
||||
{ "IMEM.BIN", 0x08600000, 0x00001000, 0 },
|
||||
{ "NSSUTCM.BIN", 0x08600658, 0x00030000, 0, 1, 0x2000 },
|
||||
{ "BTRAM.BIN", 0x08600658, 0x00058000, 0, 1, 0x00032000 },
|
||||
{ "UNAME.BIN", 0, 0, 0, 0, 0, MINIMAL_DUMP },
|
||||
{ "CPU_INFO.BIN", 0, 0, 0, 0, 0, MINIMAL_DUMP },
|
||||
{ "DMESG.BIN", 0, 0, 0, 0, 0, MINIMAL_DUMP },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue