arm: dts: ipq9574: Add AP-AL02-C10 RDP

AL02-C10 is based on AL02-C8.
C8 enables QCA8084 PHY mode, C10 is for Switch mode

Change-Id: Idbd154c66437357b5c2dbd636031af564c121cdf
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
This commit is contained in:
Ram Kumar D 2022-06-13 12:02:15 +05:30
parent 0782010934
commit 8b79b10ca8
3 changed files with 22 additions and 5 deletions

View file

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

View file

@ -0,0 +1,21 @@
/*
* 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-c8.dts"
/ {
machid = <0x8050901>;
config_name = "config@al02-c10";
};

View file

@ -1433,8 +1433,6 @@ unsigned int get_dts_machid(unsigned int machid)
return MACH_TYPE_IPQ9574_AP_AL02_C1;
case MACH_TYPE_IPQ9574_AP_AL02_C9:
return MACH_TYPE_IPQ9574_AP_AL02_C1;
case MACH_TYPE_IPQ9574_AP_AL02_C10:
return MACH_TYPE_IPQ9574_AP_AL02_C1;
case MACH_TYPE_IPQ9574_AP_AL02_C11:
return MACH_TYPE_IPQ9574_AP_AL02_C4;
default:
@ -1461,9 +1459,6 @@ void ipq_uboot_fdt_fixup(void)
case MACH_TYPE_IPQ9574_AP_AL02_C9:
config = "config@al02-c9";
break;
case MACH_TYPE_IPQ9574_AP_AL02_C10:
config = "config@al02-c10";
break;
case MACH_TYPE_IPQ9574_AP_AL02_C11:
config = "config@al02-c11";
break;