diff options
| author | Stefan Roese <[email protected]> | 2018-10-26 14:53:27 +0200 |
|---|---|---|
| committer | Joe Hershberger <[email protected]> | 2018-11-05 10:41:56 -0600 |
| commit | c895ef465059c399fdfd3f581848c67017226741 (patch) | |
| tree | ff242ab48a8b8caec4de7946d1db422775f49c80 /doc | |
| parent | 5ef76e59c12c79d106ebda70b710468aa6bd8b75 (diff) | |
net: Add MT7628 ethernet driver
This patch adds ethernet support for the MIPS based Mediatek MT76xx SoCs
(e.g. MT7628 and MT7688), including a minimum setup of the integrated
switch. This driver is loosly based on the driver version included in
this MediaTek github repository:
https://github.com/MediaTek-Labs/linkit-smart-uboot.git
Tested on the MT7688 LinkIt smart-gateway and on the
Gardena-smart-gateway.
Signed-off-by: Stefan Roese <[email protected]>
Reviewed-by: Daniel Schwierzeck <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Frank Wunderlich <[email protected]>
Cc: Weijie Gao <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/device-tree-bindings/net/mediatek,mt7628-eth.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/net/mediatek,mt7628-eth.txt b/doc/device-tree-bindings/net/mediatek,mt7628-eth.txt new file mode 100644 index 00000000000..ec97504a3fe --- /dev/null +++ b/doc/device-tree-bindings/net/mediatek,mt7628-eth.txt @@ -0,0 +1,17 @@ +* MediaTek Frame Engine Ethernet controller + +Required properties: +- compatible: should be "mediatek,mt7628-eth" +- reg: address and length of the register set for the frame + engine ethernet controller and the internal switch. +- syscon: phandle to the system controller + +Example: + +eth@10100000 { + compatible = "mediatek,mt7628-eth"; + reg = <0x10100000 0x10000 + 0x10110000 0x8000>; + + syscon = <&sysc>; +}; |
