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

Commit 81f1cd0d authored by Alok Chauhan's avatar Alok Chauhan
Browse files

ARM: dts: msm: Add regulator support for EMAC controller



Add other regualtor support for EMAC controller. These
regulators power the EMAC core and ePHY.

Change-Id: I9aab730fdd6c81eb7cee82ae431049bba3afa9c4
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent a660e4d0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -68,6 +68,8 @@ Optional properties:
			     the number of adjustment in 2 ^ -26 ns.
- no-ephy : Specifies in case there is no external phy present in ACPI mode.
- tstamp-eble : Enables the PTP (1588) timestamping feature in ACPI mode.
- <supply-name>-supply: phandle to the regulator device tree node
			Required "supply-name" are "emac_vreg*"

Example1:
	emac0: qcom,emac@feb20000 {
+5 −3
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2016, 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
@@ -1315,8 +1315,10 @@
				"emac_sgmii_irq",
				"emac_wol_irq";
		emac_vreg1-supply = <&mdm9607_l1>;
		emac_vreg2-supply = <&mdm9607_l5>;
		emac_vreg3-supply = <&emac_lan_vreg>;
		emac_vreg2-supply = <&mdm9607_l3>;
		emac_vreg3-supply = <&mdm9607_l5>;
		emac_vreg4-supply = <&mdm9607_l11>;
		emac_vreg5-supply = <&emac_lan_vreg>;
		clocks = <&clock_gcc clk_gcc_emac_0_axi_clk>,
			 <&clock_gcc clk_gcc_emac_0_ahb_clk>,
			 <&clock_gcc clk_gcc_emac_0_125m_clk>,