ipq9574: Update AP-AL02-C8 RDP

AL02-C8 is based on AL02-C4. Instead of QCA8075, QCA8084 is used
for Ethernet.

Change-Id: I70e3560461c1a547c40f5b9b839cc94ef2a39520
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
This commit is contained in:
Praveenkumar I 2022-03-21 10:47:33 +05:30
parent b30791ddf4
commit be92c58da6
4 changed files with 21 additions and 7 deletions

View file

@ -103,6 +103,7 @@ dtb-$(CONFIG_ARCH_IPQ9574) += ipq9574-al01-c1.dtb \
ipq9574-al02-c3.dtb \
ipq9574-al02-c4.dtb \
ipq9574-al02-c7.dtb \
ipq9574-al02-c8.dtb \
ipq9574-db-al01-c1.dtb \
ipq9574-db-al01-c2.dtb \
ipq9574-db-al01-c3.dtb \

View file

@ -0,0 +1,20 @@
/*
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 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 = <0x8050701>;
config_name = "config@al02-c8";
};

View file

@ -1160,11 +1160,9 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_IPQ807x_AP_HK10_C2 0x801010E
#define MACH_TYPE_IPQ9574_EMULATION 0xF050000
#define MACH_TYPE_IPQ9574_AP_AL02_C1 0x8050001
#define MACH_TYPE_IPQ9574_AP_AL02_C2 0x8050101
#define MACH_TYPE_IPQ9574_AP_AL02_C4 0x8050301
#define MACH_TYPE_IPQ9574_AP_AL02_C5 0x8050401
#define MACH_TYPE_IPQ9574_AP_AL02_C6 0x8050501
#define MACH_TYPE_IPQ9574_AP_AL02_C8 0x8050701
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type

View file

@ -1498,8 +1498,6 @@ unsigned int get_dts_machid(unsigned int machid)
return MACH_TYPE_IPQ9574_AP_AL02_C4;
case MACH_TYPE_IPQ9574_AP_AL02_C6:
return MACH_TYPE_IPQ9574_AP_AL02_C1;
case MACH_TYPE_IPQ9574_AP_AL02_C8:
return MACH_TYPE_IPQ9574_AP_AL02_C2;
default:
return machid;
}
@ -1521,9 +1519,6 @@ void ipq_uboot_fdt_fixup(void)
case MACH_TYPE_IPQ9574_AP_AL02_C6:
config = "config@al02-c6";
break;
case MACH_TYPE_IPQ9574_AP_AL02_C8:
config = "config@al02-c8";
break;
}
if (config != NULL)