From 29c22d4eb8a37269efb42254656a1478276b91fa Mon Sep 17 00:00:00 2001 From: Selvam Sathappan Periakaruppan Date: Sun, 27 Jun 2021 12:33:57 +0530 Subject: [PATCH] arm: dts: ipq9574: Add ipq9574 AL02 RDPs Support The main features of AL02-C1 are as below: Flash: SPI NOR(32 MB), QSPI NAND(256 MB) RAM: DDR4(2 GB) PCIe: 1x5G, 1x6G Ethernet: 2x10G, 4x1G USB: 1xUSB3 PMIC: I2C based MPS Only change in AL02-C2 is that it can support: Flash: eMMC(8 GB) with rework Other features are same as AL01-C1 Change-Id: I1c92c57aab854e7835439fd67fc5c2029256de2e Signed-off-by: Selvam Sathappan Periakaruppan --- arch/arm/dts/Makefile | 4 +++- arch/arm/dts/ipq9574-al02-c1.dts | 19 +++++++++++++++++++ arch/arm/dts/ipq9574-al02-c2.dts | 19 +++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/ipq9574-al02-c1.dts create mode 100644 arch/arm/dts/ipq9574-al02-c2.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 8e3a83a135..879f5a030b 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -98,7 +98,9 @@ dtb-$(CONFIG_ARCH_IPQ6018) += ipq6018-cp01-c1.dtb \ ipq6018-db-cp02.dtb dtb-$(CONFIG_ARCH_IPQ9574) += ipq9574-emulation.dtb \ - ipq9574-al01-c1.dtb + ipq9574-al01-c1.dtb \ + ipq9574-al02-c1.dtb \ + ipq9574-al02-c2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rk3288-firefly.dtb \ diff --git a/arch/arm/dts/ipq9574-al02-c1.dts b/arch/arm/dts/ipq9574-al02-c1.dts new file mode 100644 index 0000000000..673ce7b463 --- /dev/null +++ b/arch/arm/dts/ipq9574-al02-c1.dts @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2016-2019, 2021, 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 "ipq9574-soc.dtsi" +/ { + machid = <0x8050001>; + config_name = "config@al02-c1"; +}; diff --git a/arch/arm/dts/ipq9574-al02-c2.dts b/arch/arm/dts/ipq9574-al02-c2.dts new file mode 100644 index 0000000000..9c519c32e7 --- /dev/null +++ b/arch/arm/dts/ipq9574-al02-c2.dts @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2016-2019, 2021, 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 "ipq9574-soc.dtsi" +/ { + machid = <0x8050101>; + config_name = "config@al02-c2"; +};