diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index b65b1c1d03..ce696d840d 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -65,6 +65,7 @@ ifneq ($(CONFIG_IPQ_TINY),y) dtb-$(CONFIG_ARCH_IPQ5018) += ipq5018-emulation.dtb \ ipq5018-mp02.1.dtb \ ipq5018-mp03.1-c2.dtb \ + ipq5018-mp03.1-c3.dtb \ ipq5018-mp03.3.dtb \ ipq5018-mp03.3-c2.dtb \ ipq5018-mp03.6-c1.dtb \ diff --git a/arch/arm/dts/ipq5018-mp03.1-c3.dts b/arch/arm/dts/ipq5018-mp03.1-c3.dts new file mode 100644 index 0000000000..eb2e8ea491 --- /dev/null +++ b/arch/arm/dts/ipq5018-mp03.1-c3.dts @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2016-2020, 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. + */ + +#include "ipq5018-mp03.1.dts" +/ { + model ="QCA, IPQ5018-MP03.1-C3"; + compatible = "qca,ipq5018", "qca,ipq5018-mp03.1-c3"; + machid = <0x8040201>; + config_name = "config@mp03.1-c3"; + + gmac_cfg { + gmac2_cfg { + /delete-property/s17c_switch_enable; + /delete-property/switch_port_count; + /delete-property/switch_gpio; + /delete-property/mac_pwr; + /delete-property/switch_phy_address; + phy_address = <0x1c>; + napa_gpio = <39>; + }; + }; +};