diff options
| author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2017-12-28 01:58:11 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-12-28 12:10:39 -0500 |
| commit | c5a9ef30af363922a237fc4252522ef24d1b073e (patch) | |
| tree | c93e6974cd8321cd7938b85ab27c644e769e4d75 | |
| parent | b39ab1409769994129057940eafbdf2460e6e8b0 (diff) | |
dt-bindings: net: add DT bindings for Socionext UniPhier AVE
DT bindings for the AVE ethernet controller found on Socionext's
UniPhier platforms.
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt new file mode 100644 index 000000000000..270ea4efff13 --- /dev/null +++ b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | * Socionext AVE ethernet controller | ||
| 2 | |||
| 3 | This describes the devicetree bindings for AVE ethernet controller | ||
| 4 | implemented on Socionext UniPhier SoCs. | ||
| 5 | |||
| 6 | Required properties: | ||
| 7 | - compatible: Should be | ||
| 8 | - "socionext,uniphier-pro4-ave4" : for Pro4 SoC | ||
| 9 | - "socionext,uniphier-pxs2-ave4" : for PXs2 SoC | ||
| 10 | - "socionext,uniphier-ld11-ave4" : for LD11 SoC | ||
| 11 | - "socionext,uniphier-ld20-ave4" : for LD20 SoC | ||
| 12 | - reg: Address where registers are mapped and size of region. | ||
| 13 | - interrupts: Should contain the MAC interrupt. | ||
| 14 | - phy-mode: See ethernet.txt in the same directory. Allow to choose | ||
| 15 | "rgmii", "rmii", or "mii" according to the PHY. | ||
| 16 | - phy-handle: Should point to the external phy device. | ||
| 17 | See ethernet.txt file in the same directory. | ||
| 18 | - clocks: A phandle to the clock for the MAC. | ||
| 19 | |||
| 20 | Optional properties: | ||
| 21 | - resets: A phandle to the reset control for the MAC. | ||
| 22 | - local-mac-address: See ethernet.txt in the same directory. | ||
| 23 | |||
| 24 | Required subnode: | ||
| 25 | - mdio: A container for child nodes representing phy nodes. | ||
| 26 | See phy.txt in the same directory. | ||
| 27 | |||
| 28 | Example: | ||
| 29 | |||
| 30 | ether: ethernet@65000000 { | ||
| 31 | compatible = "socionext,uniphier-ld20-ave4"; | ||
| 32 | reg = <0x65000000 0x8500>; | ||
| 33 | interrupts = <0 66 4>; | ||
| 34 | phy-mode = "rgmii"; | ||
| 35 | phy-handle = <ðphy>; | ||
| 36 | clocks = <&sys_clk 6>; | ||
| 37 | resets = <&sys_rst 6>; | ||
| 38 | local-mac-address = [00 00 00 00 00 00]; | ||
| 39 | |||
| 40 | mdio { | ||
| 41 | #address-cells = <1>; | ||
| 42 | #size-cells = <0>; | ||
| 43 | |||
| 44 | ethphy: ethphy@1 { | ||
| 45 | reg = <1>; | ||
| 46 | }; | ||
| 47 | }; | ||
| 48 | }; | ||
