Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Digsy MTC board Device Tree Source |
| 3 | * |
| 4 | * Copyright (C) 2009 Semihalf |
| 5 | * |
| 6 | * Based on the CM5200 by M. Balakowicz |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU General Public License as published by the |
| 10 | * Free Software Foundation; either version 2 of the License, or (at your |
| 11 | * option) any later version. |
| 12 | */ |
| 13 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 14 | /include/ "mpc5200b.dtsi" |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 15 | |
| 16 | / { |
| 17 | model = "intercontrol,digsy-mtc"; |
| 18 | compatible = "intercontrol,digsy-mtc"; |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 19 | |
| 20 | memory { |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 21 | reg = <0x00000000 0x02000000>; // 32MB |
| 22 | }; |
| 23 | |
| 24 | soc5200@f0000000 { |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 25 | timer@600 { // General Purpose Timer |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 26 | fsl,has-wdt; |
| 27 | }; |
| 28 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 29 | rtc@800 { |
| 30 | status = "disabled"; |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 31 | }; |
| 32 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 33 | can@900 { |
| 34 | status = "disabled"; |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 35 | }; |
| 36 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 37 | can@980 { |
| 38 | status = "disabled"; |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 39 | }; |
| 40 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 41 | psc@2000 { // PSC1 |
| 42 | status = "disabled"; |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 43 | }; |
| 44 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 45 | psc@2200 { // PSC2 |
| 46 | status = "disabled"; |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 47 | }; |
| 48 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 49 | psc@2400 { // PSC3 |
| 50 | status = "disabled"; |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 51 | }; |
| 52 | |
John Bonesio | abf1e27 | 2010-11-17 15:28:30 -0800 | [diff] [blame] | 53 | psc@2600 { // PSC4 |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 54 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 55 | }; |
| 56 | |
John Bonesio | abf1e27 | 2010-11-17 15:28:30 -0800 | [diff] [blame] | 57 | psc@2800 { // PSC5 |
Grzegorz Bernacki | 86f5a4a | 2009-02-26 22:55:29 -0700 | [diff] [blame] | 58 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 59 | }; |
| 60 | |
| 61 | psc@2c00 { // PSC6 |
| 62 | status = "disabled"; |
Grzegorz Bernacki | 86f5a4a | 2009-02-26 22:55:29 -0700 | [diff] [blame] | 63 | }; |
| 64 | |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 65 | ethernet@3000 { |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 66 | phy-handle = <&phy0>; |
| 67 | }; |
| 68 | |
| 69 | mdio@3000 { |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 70 | phy0: ethernet-phy@0 { |
| 71 | reg = <0>; |
| 72 | }; |
| 73 | }; |
| 74 | |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 75 | i2c@3d00 { |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 76 | rtc@50 { |
| 77 | compatible = "at,24c08"; |
| 78 | reg = <0x50>; |
| 79 | }; |
| 80 | |
| 81 | rtc@68 { |
| 82 | compatible = "dallas,ds1339"; |
| 83 | reg = <0x68>; |
| 84 | }; |
| 85 | }; |
| 86 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 87 | i2c@3d40 { |
| 88 | status = "disabled"; |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 89 | }; |
| 90 | }; |
| 91 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 92 | pci@f0000d00 { |
| 93 | status = "disabled"; |
| 94 | }; |
| 95 | |
John Bonesio | abf1e27 | 2010-11-17 15:28:30 -0800 | [diff] [blame] | 96 | localbus { |
Grzegorz Bernacki | bdad054 | 2009-02-04 13:39:17 -0700 | [diff] [blame] | 97 | ranges = <0 0 0xff000000 0x1000000>; |
| 98 | |
| 99 | // 16-bit flash device at LocalPlus Bus CS0 |
| 100 | flash@0,0 { |
| 101 | compatible = "cfi-flash"; |
| 102 | reg = <0 0 0x1000000>; |
| 103 | bank-width = <2>; |
| 104 | device-width = <2>; |
| 105 | #size-cells = <1>; |
| 106 | #address-cells = <1>; |
| 107 | |
| 108 | partition@0 { |
| 109 | label = "kernel"; |
| 110 | reg = <0x0 0x00200000>; |
| 111 | }; |
| 112 | partition@200000 { |
| 113 | label = "root"; |
| 114 | reg = <0x00200000 0x00300000>; |
| 115 | }; |
| 116 | partition@500000 { |
| 117 | label = "user"; |
| 118 | reg = <0x00500000 0x00a00000>; |
| 119 | }; |
| 120 | partition@f00000 { |
| 121 | label = "u-boot"; |
| 122 | reg = <0x00f00000 0x100000>; |
| 123 | }; |
| 124 | }; |
| 125 | }; |
| 126 | }; |