From b89dc5a9b33afaeb5b45d81d33a4907d7635e3ba Mon Sep 17 00:00:00 2001 From: Md Sadre Alam Date: Tue, 29 Mar 2022 17:32:55 +0530 Subject: [PATCH] ipq9574: Add support for AP-AL03-C1 Change-Id: I3285dfb517f821255a8a6ae46013a66ec46bb0e2 Signed-off-by: Md Sadre Alam --- arch/arm/dts/Makefile | 1 + arch/arm/dts/ipq9574-al03-c1.dts | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 arch/arm/dts/ipq9574-al03-c1.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 4871cdeeeb..4bc1913671 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -99,6 +99,7 @@ dtb-$(CONFIG_ARCH_IPQ6018) += ipq6018-cp01-c1.dtb \ dtb-$(CONFIG_ARCH_IPQ9574) += ipq9574-al01-c1.dtb \ ipq9574-al02-c1.dtb \ + ipq9574-al03-c1.dtb \ ipq9574-al02-c2.dtb \ ipq9574-al02-c3.dtb \ ipq9574-al02-c4.dtb \ diff --git a/arch/arm/dts/ipq9574-al03-c1.dts b/arch/arm/dts/ipq9574-al03-c1.dts new file mode 100644 index 0000000000..6cdf49f7fa --- /dev/null +++ b/arch/arm/dts/ipq9574-al03-c1.dts @@ -0,0 +1,41 @@ +/* + * 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-al01-c1.dts" +/ { + machid = <0x8050002>; + config_name = "config@al03-c1"; + + aliases { + pci0 = "/pci@28000000"; + /delete-property/pci1; + pci2 = "/pci@20000000"; + }; + + pci2: pci@20000000 { + status = "ok"; + perst_gpio = <29>; + pci_gpio { + pci_rst { + gpio = <29>; + func = <0>; + pull = ; + oe = ; + od_en = ; + drvstr = ; + }; + }; + }; +};