mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
arm64: dts: ipq9574: Add AL02-C13 RDP support
This RDP is based on AL02-C4. The extra feature is QCN90xx on PCIE0 Change-Id: Ic153279dbe18daf9f602bf44f0bf7539f43ba5f8 Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This commit is contained in:
parent
335ae409fb
commit
6148a349bd
3 changed files with 43 additions and 2 deletions
|
|
@ -108,6 +108,7 @@ dtb-$(CONFIG_ARCH_IPQ9574) += ipq9574-al01-c1.dtb \
|
|||
ipq9574-al02-c7.dtb \
|
||||
ipq9574-al02-c8.dtb \
|
||||
ipq9574-al02-c10.dtb \
|
||||
ipq9574-al02-c13.dtb \
|
||||
ipq9574-db-al01-c1.dtb \
|
||||
ipq9574-db-al01-c2.dtb \
|
||||
ipq9574-db-al01-c3.dtb \
|
||||
|
|
|
|||
40
arch/arm/dts/ipq9574-al02-c13.dts
Normal file
40
arch/arm/dts/ipq9574-al02-c13.dts
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. 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 "ipq9574-al02-c4.dts"
|
||||
/ {
|
||||
machid = <0x8050C01>;
|
||||
config_name = "config@al02-c13";
|
||||
|
||||
aliases {
|
||||
pci0 = "/pci@28000000";
|
||||
};
|
||||
|
||||
pci0: pci@28000000 {
|
||||
status = "ok";
|
||||
perst_gpio = <23>;
|
||||
pci_gpio {
|
||||
pci_rst {
|
||||
gpio = <23>;
|
||||
func = <0>;
|
||||
pull = <GPIO_PULL_UP>;
|
||||
oe = <GPIO_OD_ENABLE>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
drvstr = <GPIO_8MA>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -2076,7 +2076,7 @@ class Pack(object):
|
|||
flinfo.chipsize, blocksize, chipsize, root_part)
|
||||
self.partitions = mibib_qcn9224.get_parts()
|
||||
|
||||
script.append('if test "$machid" = "8050301" || test "$machid" = "8050501" || test "$machid" = "8050601" || test "$machid" = "8050701" || test "$machid" = "8050801" || test "$machid" = "8050a01" || test "$machid" = "8050b01"; then\n', fatal=False)
|
||||
script.append('if test "$machid" = "8050301" || test "$machid" = "8050501" || test "$machid" = "8050601" || test "$machid" = "8050701" || test "$machid" = "8050801" || test "$machid" = "8050a01" || test "$machid" = "8050b01" || test "$machid" = "8050c01"; then\n', fatal=False)
|
||||
ret = self.__gen_flash_script(script, flinfo, root, True)
|
||||
if ret == 0:
|
||||
return 0 #Issue in packing al+wkk single-image
|
||||
|
|
@ -2102,7 +2102,7 @@ class Pack(object):
|
|||
gpt = GPT(part_fname_qcn9224, flinfo.pagesize, flinfo.blocksize, flinfo.chipsize)
|
||||
self.partitions = gpt.get_parts()
|
||||
|
||||
script.append('if test "$machid" = "8050301" || test "$machid" = "8050501" || test "$machid" = "8050601" || test "$machid" = "8050701" || test "$machid" = "8050801" || test "$machid" = "8050a01" || test "$machid" = "8050b01"; then\n', fatal=False)
|
||||
script.append('if test "$machid" = "8050301" || test "$machid" = "8050501" || test "$machid" = "8050601" || test "$machid" = "8050701" || test "$machid" = "8050801" || test "$machid" = "8050a01" || test "$machid" = "8050b01" || test "$machid" = "8050c01"; then\n', fatal=False)
|
||||
ret = self.__gen_flash_script(script, flinfo, root, True)
|
||||
if ret == 0:
|
||||
return 0 #Issue in packing al+wkk single-image
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue