Jean-Christophe PLAGNIOL-VILLARD | fb97a84 | 2011-11-18 15:29:25 +0100 | [diff] [blame] | 1 | * Cadence MACB/GEM Ethernet controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "cdns,[<chip>-]{macb|gem}" |
Boris BREZILLON | fc6c6c2 | 2015-03-07 07:37:06 +0100 | [diff] [blame] | 5 | Use "cdns,at91sam9260-macb" for Atmel at91sam9 SoCs or the 10/100Mbit IP |
| 6 | available on sama5d3 SoCs. |
Jean-Christophe PLAGNIOL-VILLARD | fb97a84 | 2011-11-18 15:29:25 +0100 | [diff] [blame] | 7 | Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb". |
Nicolas Ferre | 5ade7e4 | 2013-05-14 15:14:49 +0200 | [diff] [blame] | 8 | Use "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on |
Jean-Christophe PLAGNIOL-VILLARD | fb97a84 | 2011-11-18 15:29:25 +0100 | [diff] [blame] | 9 | the Cadence GEM, or the generic form: "cdns,gem". |
Nicolas Ferre | f76a28c | 2015-06-18 16:27:20 +0200 | [diff] [blame^] | 10 | Use "atmel,sama5d3-gem" for the Gigabit IP available on Atmel sama5d3 SoCs. |
| 11 | Use "atmel,sama5d4-gem" for the Gigabit IP available on Atmel sama5d4 SoCs. |
Harini Katakam | 988d6f0 | 2015-05-06 22:27:15 +0530 | [diff] [blame] | 12 | Use "cdns,zynqmp-gem" for Zynq Ultrascale+ MPSoC. |
Jean-Christophe PLAGNIOL-VILLARD | fb97a84 | 2011-11-18 15:29:25 +0100 | [diff] [blame] | 13 | - reg: Address and length of the register set for the device |
| 14 | - interrupts: Should contain macb interrupt |
Sergei Shtylyov | e8f08ee | 2014-02-18 02:41:59 +0300 | [diff] [blame] | 15 | - phy-mode: See ethernet.txt file in the same directory. |
Soren Brinkmann | e2897d7 | 2013-12-13 14:03:25 -0800 | [diff] [blame] | 16 | - clock-names: Tuple listing input clock names. |
| 17 | Required elements: 'pclk', 'hclk' |
| 18 | Optional elements: 'tx_clk' |
| 19 | - clocks: Phandles to input clocks. |
Jean-Christophe PLAGNIOL-VILLARD | fb97a84 | 2011-11-18 15:29:25 +0100 | [diff] [blame] | 20 | |
Jean-Christophe PLAGNIOL-VILLARD | fb97a84 | 2011-11-18 15:29:25 +0100 | [diff] [blame] | 21 | Examples: |
| 22 | |
| 23 | macb0: ethernet@fffc4000 { |
| 24 | compatible = "cdns,at32ap7000-macb"; |
| 25 | reg = <0xfffc4000 0x4000>; |
| 26 | interrupts = <21>; |
| 27 | phy-mode = "rmii"; |
| 28 | local-mac-address = [3a 0e 03 04 05 06]; |
Soren Brinkmann | e2897d7 | 2013-12-13 14:03:25 -0800 | [diff] [blame] | 29 | clock-names = "pclk", "hclk", "tx_clk"; |
| 30 | clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>; |
Jean-Christophe PLAGNIOL-VILLARD | fb97a84 | 2011-11-18 15:29:25 +0100 | [diff] [blame] | 31 | }; |