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

Commit 0837a404 authored by Sunil Paidimarri's avatar Sunil Paidimarri
Browse files

ARM: dts: msm: Update multi queue and ptp config for stmmac



Update RX queue classification for EMAC.
Add PTP reference and required clock rates.

Change-Id: Ib2150ba250ff6c7f9eea04ca8f6e7aaf458574e1
Acked-by: default avatarRahul Kawadgave <rahulak@qti.qualcomm.com>
Signed-off-by: default avatarSunil Paidimarri <hisunil@codeaurora.org>
parent 4f9559a8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ Optional properties:
  this clock is used for programming the Timestamp Addend Register. If not
  passed then the system clock will be used and this is fine on some
  platforms.
- snps,ptp-ref-clk-rate: PTP reference clock rate.
- snps,ptp-req-clk-rate: PTP clock rate for required accuracy.
- tx-fifo-depth: See ethernet.txt file in the same directory
- rx-fifo-depth: See ethernet.txt file in the same directory
- snps,pbl		Programmable Burst Length (tx and rx)
+7 −6
Original line number Diff line number Diff line
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-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
@@ -1414,26 +1414,25 @@
			snps,dcb-algorithm;
			snps,map-to-dma-channel = <0x0>;
			snps,route-up;
			snps,route-ptp;
			snps,route-dcbcp;
			snps,priority = <0x1>;
		};

		queue1 {
			snps,dcb-algorithm;
			snps,map-to-dma-channel = <0x1>;
			snps,route-avcp;
			snps,route-multi-broad;
			snps,route-ptp;
		};

		queue2 {
			snps,avb-algorithm;
			snps,map-to-dma-channel = <0x2>;
			snps,route-avcp;
		};

		queue3 {
			snps,avb-algorithm;
			snps,map-to-dma-channel = <0x3>;
			snps,priority = <0x0C>;
			snps,priority = <0xC>;
		};
	};

@@ -1477,6 +1476,8 @@
			<&clock_gcc GCC_ETH_PTP_CLK>,
			<&clock_gcc GCC_ETH_RGMII_CLK>;
		clock-names = "stmmaceth", "pclk", "ptp_ref", "rgmii";
		snps,ptp-ref-clk-rate = <230400000>;
		snps,ptp-req-clk-rate = <57600000>;
		interrupts-extended = <&pdc 0 62 4>, <&pdc 0 60 4>,
			<&tlmm 90 2>, <&pdc 0 290 1>, <&pdc 0 291 1>;
		interrupt-names = "macirq", "eth_lpi",