Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bfff23b authored by Rishi Gupta's avatar Rishi Gupta Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: sa515m: add dt for ethernet using mac switch



This commit adds device tree when sa515m and remote
processor are connected through ethernet.

Change-Id: Ide5b1b606b2145110ab50c1f30450ca959993050
Signed-off-by: default avatarRishi Gupta <rishgupt@codeaurora.org>
parent d8d7d242
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -431,7 +431,8 @@ dtb-$(CONFIG_ARCH_SDXPRAIRIE) += sdxprairie-rumi.dtb \
	sa515m-v2-ccard.dtb \
	sa515m-v2-ccard-pcie-ep.dtb \
	sa515m-v2-ccard-usb-ep.dtb \
	sa515m-v2-ccard-eth-ep.dtb
	sa515m-v2-ccard-eth-ep.dtb \
	sa515m-v2-ccard-eth-phy-ep.dtb

dtb-$(CONFIG_ARCH_MDM9607) += mdm9607-cdp.dtb \
        mdm9607-mtp.dtb \
+56 −0
Original line number Diff line number Diff line
/* Copyright (c) 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.
 */

/dts-v1/;

#include "sdxprairie-v2.dtsi"
#include "sa515m-ccard.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SA515M CCARD ETH V2 MAC SWT";
	compatible = "qcom,sa515m-ccard",
		"qcom,sdxprairie", "qcom,ccard";
	qcom,board-id = <0x020019 5>;

	/delete-node/ qcom_gadget;
	qcom_gadget {
		compatible = "qcom,usb-gadget";
		qcom,vid = <0x05c6>;

		composition1 {
			qcom,pid = <0x9105>;
			qcom,composition = "diag.diag,gsi.dpl";
		};
	};
};

&ipa_hw {
	qcom,ipa-config-is-auto;
	qcom,use-xbl-boot;
};

&usb {
	qcom,smmu-s1-bypass;
};

&sdx_ext_ipc {
	compatible = "qcom,sa515m-ccard";
	qcom,status-in-gpio = <&tlmm 76 0x00>;
	qcom,status-out-gpio = <&tlmm 33 0x00>;
	qcom,status-out2-gpio = <&tlmm 31 0x00>;
	qcom,wakeup-gpio-in = <&tlmm 77 0x00>;
	qcom,wakeup-gpio-out = <&tlmm 96 0x00>;
	pinctrl-names = "default";
	pinctrl-0 = <&wakeup_gpio_default>;
	qcom,default-policy-nop;
	status = "okay";
};