summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/mips/lantiq/rcu-gphy.txt
blob: a0c19bd1ce6625e603a658aba8420e033cf60910 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Lantiq XWAY SoC GPHY binding
============================

This binding describes a software-defined ethernet PHY, provided by the RCU
module on newer Lantiq XWAY SoCs (xRX200 and newer).

-------------------------------------------------------------------------------
Required properties:
- compatible		: Should be one of
				"lantiq,xrx200a1x-gphy"
				"lantiq,xrx200a2x-gphy"
				"lantiq,xrx300-gphy"
				"lantiq,xrx330-gphy"
- reg			: Addrress of the GPHY FW load address register
- resets		: Must reference the RCU GPHY reset bit
- reset-names		: One entry, value must be "gphy" or optional "gphy2"
- clocks		: A reference to the (PMU) GPHY clock gate

Optional properties:
- lantiq,gphy-mode	: GPHY_MODE_GE (default) or GPHY_MODE_FE as defined in
			  <dt-bindings/mips/lantiq_xway_gphy.h>


-------------------------------------------------------------------------------
Example for the GPHys on the xRX200 SoCs:

#include <dt-bindings/mips/lantiq_rcu_gphy.h>
	gphy0: gphy@20 {
		compatible = "lantiq,xrx200a2x-gphy";
		reg = <0x20 0x4>;

		resets = <&reset0 31 30>, <&reset1 7 7>;
		reset-names = "gphy", "gphy2";
		clocks = <&pmu0 XRX200_PMU_GATE_GPHY>;
		lantiq,gphy-mode = <GPHY_MODE_GE>;
	};