Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Lite5200 board Device Tree Source |
| 3 | * |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 4 | * Copyright 2006-2007 Secret Lab Technologies Ltd. |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 5 | * Grant Likely <grant.likely@secretlab.ca> |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify it |
| 8 | * under the terms of the GNU General Public License as published by the |
| 9 | * Free Software Foundation; either version 2 of the License, or (at your |
| 10 | * option) any later version. |
| 11 | */ |
| 12 | |
| 13 | / { |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 14 | model = "fsl,lite5200"; |
Marian Balakowicz | 5b5820d | 2007-11-15 22:40:21 +1100 | [diff] [blame] | 15 | compatible = "fsl,lite5200"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | |
| 19 | cpus { |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 20 | #address-cells = <1>; |
| 21 | #size-cells = <0>; |
| 22 | |
| 23 | PowerPC,5200@0 { |
| 24 | device_type = "cpu"; |
| 25 | reg = <0>; |
| 26 | d-cache-line-size = <20>; |
| 27 | i-cache-line-size = <20>; |
| 28 | d-cache-size = <4000>; // L1, 16K |
| 29 | i-cache-size = <4000>; // L1, 16K |
| 30 | timebase-frequency = <0>; // from bootloader |
| 31 | bus-frequency = <0>; // from bootloader |
| 32 | clock-frequency = <0>; // from bootloader |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 33 | }; |
| 34 | }; |
| 35 | |
| 36 | memory { |
| 37 | device_type = "memory"; |
| 38 | reg = <00000000 04000000>; // 64MB |
| 39 | }; |
| 40 | |
| 41 | soc5200@f0000000 { |
Paul Gortmaker | 58a5be3 | 2008-01-26 07:33:20 +1100 | [diff] [blame] | 42 | #address-cells = <1>; |
| 43 | #size-cells = <1>; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 44 | compatible = "fsl,mpc5200-immr"; |
Kumar Gala | f0c8ac8 | 2007-09-12 11:52:31 -0500 | [diff] [blame] | 45 | ranges = <0 f0000000 0000c000>; |
| 46 | reg = <f0000000 00000100>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 47 | bus-frequency = <0>; // from bootloader |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 48 | system-frequency = <0>; // from bootloader |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 49 | |
| 50 | cdm@200 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 51 | compatible = "fsl,mpc5200-cdm"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 52 | reg = <200 38>; |
| 53 | }; |
| 54 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 55 | mpc5200_pic: interrupt-controller@500 { |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 56 | // 5200 interrupts are encoded into two levels; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 57 | interrupt-controller; |
| 58 | #interrupt-cells = <3>; |
| 59 | device_type = "interrupt-controller"; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 60 | compatible = "fsl,mpc5200-pic"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 61 | reg = <500 80>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 62 | }; |
| 63 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 64 | timer@600 { // General Purpose Timer |
Marian Balakowicz | d24bc31 | 2007-10-19 04:44:24 +1000 | [diff] [blame] | 65 | compatible = "fsl,mpc5200-gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 66 | cell-index = <0>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 67 | reg = <600 10>; |
| 68 | interrupts = <1 9 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 69 | interrupt-parent = <&mpc5200_pic>; |
Marian Balakowicz | d24bc31 | 2007-10-19 04:44:24 +1000 | [diff] [blame] | 70 | fsl,has-wdt; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 71 | }; |
| 72 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 73 | timer@610 { // General Purpose Timer |
Marian Balakowicz | d24bc31 | 2007-10-19 04:44:24 +1000 | [diff] [blame] | 74 | compatible = "fsl,mpc5200-gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 75 | cell-index = <1>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 76 | reg = <610 10>; |
| 77 | interrupts = <1 a 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 78 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 79 | }; |
| 80 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 81 | timer@620 { // General Purpose Timer |
Marian Balakowicz | d24bc31 | 2007-10-19 04:44:24 +1000 | [diff] [blame] | 82 | compatible = "fsl,mpc5200-gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 83 | cell-index = <2>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 84 | reg = <620 10>; |
| 85 | interrupts = <1 b 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 86 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 87 | }; |
| 88 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 89 | timer@630 { // General Purpose Timer |
Marian Balakowicz | d24bc31 | 2007-10-19 04:44:24 +1000 | [diff] [blame] | 90 | compatible = "fsl,mpc5200-gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 91 | cell-index = <3>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 92 | reg = <630 10>; |
| 93 | interrupts = <1 c 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 94 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 95 | }; |
| 96 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 97 | timer@640 { // General Purpose Timer |
Marian Balakowicz | d24bc31 | 2007-10-19 04:44:24 +1000 | [diff] [blame] | 98 | compatible = "fsl,mpc5200-gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 99 | cell-index = <4>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 100 | reg = <640 10>; |
| 101 | interrupts = <1 d 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 102 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 103 | }; |
| 104 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 105 | timer@650 { // General Purpose Timer |
Marian Balakowicz | d24bc31 | 2007-10-19 04:44:24 +1000 | [diff] [blame] | 106 | compatible = "fsl,mpc5200-gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 107 | cell-index = <5>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 108 | reg = <650 10>; |
| 109 | interrupts = <1 e 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 110 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 111 | }; |
| 112 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 113 | timer@660 { // General Purpose Timer |
Marian Balakowicz | d24bc31 | 2007-10-19 04:44:24 +1000 | [diff] [blame] | 114 | compatible = "fsl,mpc5200-gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 115 | cell-index = <6>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 116 | reg = <660 10>; |
| 117 | interrupts = <1 f 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 118 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 119 | }; |
| 120 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 121 | timer@670 { // General Purpose Timer |
Marian Balakowicz | d24bc31 | 2007-10-19 04:44:24 +1000 | [diff] [blame] | 122 | compatible = "fsl,mpc5200-gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 123 | cell-index = <7>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 124 | reg = <670 10>; |
| 125 | interrupts = <1 10 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 126 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 127 | }; |
| 128 | |
| 129 | rtc@800 { // Real time clock |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 130 | compatible = "fsl,mpc5200-rtc"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 131 | device_type = "rtc"; |
| 132 | reg = <800 100>; |
| 133 | interrupts = <1 5 0 1 6 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 134 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 135 | }; |
| 136 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 137 | can@900 { |
| 138 | compatible = "fsl,mpc5200-mscan"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 139 | cell-index = <0>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 140 | interrupts = <2 11 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 141 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 142 | reg = <900 80>; |
| 143 | }; |
| 144 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 145 | can@980 { |
| 146 | compatible = "fsl,mpc5200-mscan"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 147 | cell-index = <1>; |
Domen Puncer | 0d0f4bc | 2007-05-07 01:38:48 +1000 | [diff] [blame] | 148 | interrupts = <2 12 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 149 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 150 | reg = <980 80>; |
| 151 | }; |
| 152 | |
| 153 | gpio@b00 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 154 | compatible = "fsl,mpc5200-gpio"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 155 | reg = <b00 40>; |
| 156 | interrupts = <1 7 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 157 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 158 | }; |
| 159 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 160 | gpio@c00 { |
| 161 | compatible = "fsl,mpc5200-gpio-wkup"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 162 | reg = <c00 40>; |
| 163 | interrupts = <1 8 0 0 3 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 164 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 165 | }; |
| 166 | |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 167 | spi@f00 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 168 | compatible = "fsl,mpc5200-spi"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 169 | reg = <f00 20>; |
| 170 | interrupts = <2 d 0 2 e 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 171 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 172 | }; |
| 173 | |
| 174 | usb@1000 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 175 | compatible = "fsl,mpc5200-ohci","ohci-be"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 176 | reg = <1000 ff>; |
| 177 | interrupts = <2 6 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 178 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 179 | }; |
| 180 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 181 | dma-controller@1200 { |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 182 | device_type = "dma-controller"; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 183 | compatible = "fsl,mpc5200-bestcomm"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 184 | reg = <1200 80>; |
| 185 | interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 |
| 186 | 3 4 0 3 5 0 3 6 0 3 7 0 |
| 187 | 3 8 0 3 9 0 3 a 0 3 b 0 |
| 188 | 3 c 0 3 d 0 3 e 0 3 f 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 189 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 190 | }; |
| 191 | |
| 192 | xlb@1f00 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 193 | compatible = "fsl,mpc5200-xlb"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 194 | reg = <1f00 100>; |
| 195 | }; |
| 196 | |
| 197 | serial@2000 { // PSC1 |
| 198 | device_type = "serial"; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 199 | compatible = "fsl,mpc5200-psc-uart"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 200 | port-number = <0>; // Logical port assignment |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 201 | cell-index = <0>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 202 | reg = <2000 100>; |
| 203 | interrupts = <2 1 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 204 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 205 | }; |
| 206 | |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 207 | // PSC2 in ac97 mode example |
| 208 | //ac97@2200 { // PSC2 |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 209 | // compatible = "fsl,mpc5200-psc-ac97"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 210 | // cell-index = <1>; |
| 211 | // reg = <2200 100>; |
| 212 | // interrupts = <2 2 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 213 | // interrupt-parent = <&mpc5200_pic>; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 214 | //}; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 215 | |
| 216 | // PSC3 in CODEC mode example |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 217 | //i2s@2400 { // PSC3 |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 218 | // compatible = "fsl,mpc5200-psc-i2s"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 219 | // cell-index = <2>; |
| 220 | // reg = <2400 100>; |
| 221 | // interrupts = <2 3 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 222 | // interrupt-parent = <&mpc5200_pic>; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 223 | //}; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 224 | |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 225 | // PSC4 in uart mode example |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 226 | //serial@2600 { // PSC4 |
| 227 | // device_type = "serial"; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 228 | // compatible = "fsl,mpc5200-psc-uart"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 229 | // cell-index = <3>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 230 | // reg = <2600 100>; |
| 231 | // interrupts = <2 b 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 232 | // interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 233 | //}; |
| 234 | |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 235 | // PSC5 in uart mode example |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 236 | //serial@2800 { // PSC5 |
| 237 | // device_type = "serial"; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 238 | // compatible = "fsl,mpc5200-psc-uart"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 239 | // cell-index = <4>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 240 | // reg = <2800 100>; |
| 241 | // interrupts = <2 c 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 242 | // interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 243 | //}; |
| 244 | |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 245 | // PSC6 in spi mode example |
| 246 | //spi@2c00 { // PSC6 |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 247 | // compatible = "fsl,mpc5200-psc-spi"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 248 | // cell-index = <5>; |
| 249 | // reg = <2c00 100>; |
| 250 | // interrupts = <2 4 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 251 | // interrupt-parent = <&mpc5200_pic>; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 252 | //}; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 253 | |
| 254 | ethernet@3000 { |
| 255 | device_type = "network"; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 256 | compatible = "fsl,mpc5200-fec"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 257 | reg = <3000 800>; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 258 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 259 | interrupts = <2 5 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 260 | interrupt-parent = <&mpc5200_pic>; |
René Bürgel | 8d81394 | 2008-04-03 19:58:37 +1100 | [diff] [blame^] | 261 | phy-handle = <&phy0>; |
| 262 | }; |
| 263 | |
| 264 | mdio@3000 { |
| 265 | #address-cells = <1>; |
| 266 | #size-cells = <0>; |
| 267 | compatible = "fsl,mpc5200-mdio"; |
| 268 | reg = <3000 400>; // fec range, since we need to setup fec interrupts |
| 269 | interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. |
| 270 | interrupt-parent = <&mpc5200_pic>; |
| 271 | |
| 272 | phy0:ethernet-phy@1 { |
| 273 | device_type = "ethernet-phy"; |
| 274 | reg = <1>; |
| 275 | }; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 276 | }; |
| 277 | |
| 278 | ata@3a00 { |
| 279 | device_type = "ata"; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 280 | compatible = "fsl,mpc5200-ata"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 281 | reg = <3a00 100>; |
| 282 | interrupts = <2 7 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 283 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 284 | }; |
| 285 | |
| 286 | i2c@3d00 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 287 | #address-cells = <1>; |
| 288 | #size-cells = <0>; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 289 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 290 | cell-index = <0>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 291 | reg = <3d00 40>; |
| 292 | interrupts = <2 f 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 293 | interrupt-parent = <&mpc5200_pic>; |
Domen Puncer | 5cae84c | 2007-05-07 01:38:49 +1000 | [diff] [blame] | 294 | fsl5200-clocking; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 295 | }; |
| 296 | |
| 297 | i2c@3d40 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 298 | #address-cells = <1>; |
| 299 | #size-cells = <0>; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 300 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 301 | cell-index = <1>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 302 | reg = <3d40 40>; |
| 303 | interrupts = <2 10 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 304 | interrupt-parent = <&mpc5200_pic>; |
Domen Puncer | 5cae84c | 2007-05-07 01:38:49 +1000 | [diff] [blame] | 305 | fsl5200-clocking; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 306 | }; |
| 307 | sram@8000 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 308 | compatible = "fsl,mpc5200-sram","sram"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 309 | reg = <8000 4000>; |
| 310 | }; |
| 311 | }; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 312 | |
| 313 | pci@f0000d00 { |
| 314 | #interrupt-cells = <1>; |
| 315 | #size-cells = <2>; |
| 316 | #address-cells = <3>; |
| 317 | device_type = "pci"; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 318 | compatible = "fsl,mpc5200-pci"; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 319 | reg = <f0000d00 100>; |
| 320 | interrupt-map-mask = <f800 0 0 7>; |
| 321 | interrupt-map = <c000 0 0 1 &mpc5200_pic 0 0 3 |
| 322 | c000 0 0 2 &mpc5200_pic 0 0 3 |
| 323 | c000 0 0 3 &mpc5200_pic 0 0 3 |
| 324 | c000 0 0 4 &mpc5200_pic 0 0 3>; |
| 325 | clock-frequency = <0>; // From boot loader |
| 326 | interrupts = <2 8 0 2 9 0 2 a 0>; |
| 327 | interrupt-parent = <&mpc5200_pic>; |
| 328 | bus-range = <0 0>; |
| 329 | ranges = <42000000 0 80000000 80000000 0 20000000 |
| 330 | 02000000 0 a0000000 a0000000 0 10000000 |
| 331 | 01000000 0 00000000 b0000000 0 01000000>; |
| 332 | }; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 333 | }; |