diff options
Diffstat (limited to 'Documentation/devicetree/bindings/net/marvell-pxa168.txt')
-rw-r--r-- | Documentation/devicetree/bindings/net/marvell-pxa168.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/marvell-pxa168.txt b/Documentation/devicetree/bindings/net/marvell-pxa168.txt new file mode 100644 index 000000000000..845a148a346e --- /dev/null +++ b/Documentation/devicetree/bindings/net/marvell-pxa168.txt | |||
@@ -0,0 +1,36 @@ | |||
1 | * Marvell PXA168 Ethernet Controller | ||
2 | |||
3 | Required 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 | |||
9 | Optional 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 | |||
16 | Sub-nodes: | ||
17 | Each PHY can be represented as a sub-node. This is not mandatory. | ||
18 | |||
19 | Sub-nodes required properties: | ||
20 | - reg: the MDIO address of the PHY. | ||
21 | |||
22 | Example: | ||
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 = <ðphy0>; | ||
32 | |||
33 | ethphy0: ethernet-phy@0 { | ||
34 | reg = <0>; | ||
35 | }; | ||
36 | }; | ||