blob: 4ec56413779d3af28b60b3b647d4134d7f3e42bb [file] [log] [blame]
Maxime Ripard4bdcb1d2013-05-30 03:49:21 +00001* Allwinner A10 MDIO Ethernet Controller interface
2
3Required properties:
Maxime Ripardefe20572014-02-02 14:49:12 +01004- compatible: should be "allwinner,sun4i-a10-mdio"
5 (Deprecated: "allwinner,sun4i-mdio").
Maxime Ripard4bdcb1d2013-05-30 03:49:21 +00006- reg: address and length of the register set for the device.
7
8Optional properties:
9- phy-supply: phandle to a regulator if the PHY needs one
10
11Example at the SoC level:
12mdio@01c0b080 {
Maxime Ripardefe20572014-02-02 14:49:12 +010013 compatible = "allwinner,sun4i-a10-mdio";
Maxime Ripard4bdcb1d2013-05-30 03:49:21 +000014 reg = <0x01c0b080 0x14>;
15 #address-cells = <1>;
16 #size-cells = <0>;
17};
18
19And at the board level:
20
21mdio@01c0b080 {
22 phy-supply = <&reg_emac_3v3>;
23
24 phy0: ethernet-phy@0 {
25 reg = <0>;
26 };
27};