blob: b5d79761ac970acb7ae506853def327f0eaa5147 [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +01001* Cadence MACB/GEM Ethernet controller
2
3Required properties:
4- compatible: Should be "cdns,[<chip>-]{macb|gem}"
Boris BREZILLONfc6c6c22015-03-07 07:37:06 +01005 Use "cdns,at91sam9260-macb" for Atmel at91sam9 SoCs or the 10/100Mbit IP
6 available on sama5d3 SoCs.
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +01007 Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb".
Nicolas Ferre5ade7e42013-05-14 15:14:49 +02008 Use "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +01009 the Cadence GEM, or the generic form: "cdns,gem".
Nicolas Ferrebb7506c2015-06-18 16:27:22 +020010 Use "atmel,sama5d2-gem" for the GEM IP (10/100) available on Atmel sama5d2 SoCs.
Nicolas Ferref76a28c2015-06-18 16:27:20 +020011 Use "atmel,sama5d3-gem" for the Gigabit IP available on Atmel sama5d3 SoCs.
Nicolas Ferref58393f2015-06-18 16:27:21 +020012 Use "atmel,sama5d4-gem" for the GEM IP (10/100) available on Atmel sama5d4 SoCs.
Harini Katakam988d6f02015-05-06 22:27:15 +053013 Use "cdns,zynqmp-gem" for Zynq Ultrascale+ MPSoC.
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +010014- reg: Address and length of the register set for the device
15- interrupts: Should contain macb interrupt
Sergei Shtylyove8f08ee2014-02-18 02:41:59 +030016- phy-mode: See ethernet.txt file in the same directory.
Soren Brinkmanne2897d72013-12-13 14:03:25 -080017- clock-names: Tuple listing input clock names.
18 Required elements: 'pclk', 'hclk'
19 Optional elements: 'tx_clk'
20- clocks: Phandles to input clocks.
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +010021
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +010022Examples:
23
24 macb0: ethernet@fffc4000 {
25 compatible = "cdns,at32ap7000-macb";
26 reg = <0xfffc4000 0x4000>;
27 interrupts = <21>;
28 phy-mode = "rmii";
29 local-mac-address = [3a 0e 03 04 05 06];
Soren Brinkmanne2897d72013-12-13 14:03:25 -080030 clock-names = "pclk", "hclk", "tx_clk";
31 clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +010032 };