| Gregory CLEMENT | e3e37bc | 2012-10-27 18:22:45 +0200 | [diff] [blame] | 1 | /* | 
 | 2 |  * Device Tree file for Globalscale Mirabox | 
 | 3 |  * | 
 | 4 |  * Gregory CLEMENT <gregory.clement@free-electrons.com> | 
 | 5 |  * | 
 | 6 |  * This file is licensed under the terms of the GNU General Public | 
 | 7 |  * License version 2.  This program is licensed "as is" without any | 
 | 8 |  * warranty of any kind, whether express or implied. | 
 | 9 |  */ | 
 | 10 |  | 
 | 11 | /dts-v1/; | 
 | 12 | /include/ "armada-370.dtsi" | 
 | 13 |  | 
 | 14 | / { | 
 | 15 | 	model = "Globalscale Mirabox"; | 
 | 16 | 	compatible = "globalscale,mirabox", "marvell,armada370", "marvell,armada-370-xp"; | 
 | 17 |  | 
 | 18 | 	chosen { | 
 | 19 | 		bootargs = "console=ttyS0,115200 earlyprintk"; | 
 | 20 | 	}; | 
 | 21 |  | 
 | 22 | 	memory { | 
 | 23 | 		device_type = "memory"; | 
 | 24 | 		reg = <0x00000000 0x20000000>; /* 512 MB */ | 
 | 25 | 	}; | 
 | 26 |  | 
 | 27 | 	soc { | 
 | 28 | 		serial@d0012000 { | 
 | 29 | 			clock-frequency = <200000000>; | 
 | 30 | 			status = "okay"; | 
 | 31 | 		}; | 
 | 32 | 		timer@d0020300 { | 
 | 33 | 			clock-frequency = <600000000>; | 
 | 34 | 			status = "okay"; | 
 | 35 | 		}; | 
| Thomas Petazzoni | 9f32ccc | 2012-11-12 15:22:54 +0100 | [diff] [blame] | 36 | 		mdio { | 
 | 37 | 			phy0: ethernet-phy@0 { | 
 | 38 | 				reg = <0>; | 
 | 39 | 			}; | 
 | 40 |  | 
 | 41 | 			phy1: ethernet-phy@1 { | 
 | 42 | 				reg = <1>; | 
 | 43 | 			}; | 
 | 44 | 		}; | 
 | 45 | 		ethernet@d0070000 { | 
| Thomas Petazzoni | 9f32ccc | 2012-11-12 15:22:54 +0100 | [diff] [blame] | 46 | 			status = "okay"; | 
 | 47 | 			phy = <&phy0>; | 
 | 48 | 			phy-mode = "rgmii-id"; | 
 | 49 | 		}; | 
 | 50 | 		ethernet@d0074000 { | 
| Thomas Petazzoni | 9f32ccc | 2012-11-12 15:22:54 +0100 | [diff] [blame] | 51 | 			status = "okay"; | 
 | 52 | 			phy = <&phy1>; | 
 | 53 | 			phy-mode = "rgmii-id"; | 
 | 54 | 		}; | 
| Gregory CLEMENT | e3e37bc | 2012-10-27 18:22:45 +0200 | [diff] [blame] | 55 | 	}; | 
 | 56 | }; |