xref: /linux/Documentation/devicetree/bindings/net/marvell-pxa168.txt (revision 827634added7f38b7d724cab1dccdb2b004c13c3)
1* Marvell PXA168 Ethernet Controller
2
3Required properties:
4- compatible: should be "marvell,pxa168-eth".
5- reg: address and length of the register set for the device.
6- interrupts: interrupt for the device.
7- clocks: pointer to the clock for the device.
8
9Optional properties:
10- port-id: Ethernet port number. Should be '0','1' or '2'.
11- #address-cells: must be 1 when using sub-nodes.
12- #size-cells: must be 0 when using sub-nodes.
13- phy-handle: see ethernet.txt file in the same directory.
14- local-mac-address: see ethernet.txt file in the same directory.
15
16Sub-nodes:
17Each PHY can be represented as a sub-node. This is not mandatory.
18
19Sub-nodes required properties:
20- reg: the MDIO address of the PHY.
21
22Example:
23
24	eth0: ethernet@f7b90000 {
25		compatible = "marvell,pxa168-eth";
26		reg = <0xf7b90000 0x10000>;
27		clocks = <&chip CLKID_GETH0>;
28		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
29		#address-cells = <1>;
30		#size-cells = <0>;
31		phy-handle = <&ethphy0>;
32
33		ethphy0: ethernet-phy@0 {
34			reg = <0>;
35		};
36	};
37