blob: aaa696414f57a1012b5fc18586ce06da6a899309 [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}"
5 Use "cdns,at91sam9260-macb" Atmel at91sam9260 and at91sam9263 SoCs.
6 Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb".
Nicolas Ferre5ade7e42013-05-14 15:14:49 +02007 Use "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +01008 the Cadence GEM, or the generic form: "cdns,gem".
9- reg: Address and length of the register set for the device
10- interrupts: Should contain macb interrupt
Sergei Shtylyove8f08ee2014-02-18 02:41:59 +030011- phy-mode: See ethernet.txt file in the same directory.
Soren Brinkmanne2897d72013-12-13 14:03:25 -080012- clock-names: Tuple listing input clock names.
13 Required elements: 'pclk', 'hclk'
14 Optional elements: 'tx_clk'
15- clocks: Phandles to input clocks.
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +010016
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +010017Examples:
18
19 macb0: ethernet@fffc4000 {
20 compatible = "cdns,at32ap7000-macb";
21 reg = <0xfffc4000 0x4000>;
22 interrupts = <21>;
23 phy-mode = "rmii";
24 local-mac-address = [3a 0e 03 04 05 06];
Soren Brinkmanne2897d72013-12-13 14:03:25 -080025 clock-names = "pclk", "hclk", "tx_clk";
26 clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
Jean-Christophe PLAGNIOL-VILLARDfb97a842011-11-18 15:29:25 +010027 };