Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 1 | /* |
| 2 | * CM5200 board Device Tree Source |
| 3 | * |
| 4 | * Copyright (C) 2007 Semihalf |
| 5 | * Marian Balakowicz <m8@semihalf.com> |
| 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 | |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 13 | /dts-v1/; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "schindler,cm5200"; |
| 17 | compatible = "schindler,cm5200"; |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
Grant Likely | b884245 | 2009-02-03 12:30:26 -0700 | [diff] [blame] | 20 | interrupt-parent = <&mpc5200_pic>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 21 | |
| 22 | cpus { |
| 23 | #address-cells = <1>; |
| 24 | #size-cells = <0>; |
| 25 | |
| 26 | PowerPC,5200@0 { |
| 27 | device_type = "cpu"; |
| 28 | reg = <0>; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 29 | d-cache-line-size = <32>; |
| 30 | i-cache-line-size = <32>; |
| 31 | d-cache-size = <0x4000>; // L1, 16K |
| 32 | i-cache-size = <0x4000>; // L1, 16K |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 33 | timebase-frequency = <0>; // from bootloader |
| 34 | bus-frequency = <0>; // from bootloader |
| 35 | clock-frequency = <0>; // from bootloader |
| 36 | }; |
| 37 | }; |
| 38 | |
| 39 | memory { |
| 40 | device_type = "memory"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 41 | reg = <0x00000000 0x04000000>; // 64MB |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | soc5200@f0000000 { |
Paul Gortmaker | 58a5be3 | 2008-01-26 07:33:20 +1100 | [diff] [blame] | 45 | #address-cells = <1>; |
| 46 | #size-cells = <1>; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 47 | compatible = "fsl,mpc5200b-immr"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 48 | ranges = <0 0xf0000000 0x0000c000>; |
| 49 | reg = <0xf0000000 0x00000100>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 50 | bus-frequency = <0>; // from bootloader |
| 51 | system-frequency = <0>; // from bootloader |
| 52 | |
| 53 | cdm@200 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 54 | compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 55 | reg = <0x200 0x38>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 56 | }; |
| 57 | |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 58 | mpc5200_pic: interrupt-controller@500 { |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 59 | // 5200 interrupts are encoded into two levels; |
| 60 | interrupt-controller; |
| 61 | #interrupt-cells = <3>; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 62 | compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 63 | reg = <0x500 0x80>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 64 | }; |
| 65 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 66 | timer@600 { // General Purpose Timer |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 67 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 68 | reg = <0x600 0x10>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 69 | interrupts = <1 9 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 70 | fsl,has-wdt; |
| 71 | }; |
| 72 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 73 | timer@610 { // General Purpose Timer |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 74 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 75 | reg = <0x610 0x10>; |
| 76 | interrupts = <1 10 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 77 | }; |
| 78 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 79 | timer@620 { // General Purpose Timer |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 80 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 81 | reg = <0x620 0x10>; |
| 82 | interrupts = <1 11 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 83 | }; |
| 84 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 85 | timer@630 { // General Purpose Timer |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 86 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 87 | reg = <0x630 0x10>; |
| 88 | interrupts = <1 12 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 89 | }; |
| 90 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 91 | timer@640 { // General Purpose Timer |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 92 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 93 | reg = <0x640 0x10>; |
| 94 | interrupts = <1 13 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 95 | }; |
| 96 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 97 | timer@650 { // General Purpose Timer |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 98 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 99 | reg = <0x650 0x10>; |
| 100 | interrupts = <1 14 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 101 | }; |
| 102 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 103 | timer@660 { // General Purpose Timer |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 104 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 105 | reg = <0x660 0x10>; |
| 106 | interrupts = <1 15 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 107 | }; |
| 108 | |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 109 | timer@670 { // General Purpose Timer |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 110 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 111 | reg = <0x670 0x10>; |
| 112 | interrupts = <1 16 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 113 | }; |
| 114 | |
| 115 | rtc@800 { // Real time clock |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 116 | compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 117 | reg = <0x800 0x100>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 118 | interrupts = <1 5 0 1 6 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 119 | }; |
| 120 | |
Grant Likely | b884245 | 2009-02-03 12:30:26 -0700 | [diff] [blame] | 121 | gpio_simple: gpio@b00 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 122 | compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 123 | reg = <0xb00 0x40>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 124 | interrupts = <1 7 0>; |
Grant Likely | b884245 | 2009-02-03 12:30:26 -0700 | [diff] [blame] | 125 | gpio-controller; |
| 126 | #gpio-cells = <2>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 127 | }; |
| 128 | |
Grant Likely | b884245 | 2009-02-03 12:30:26 -0700 | [diff] [blame] | 129 | gpio_wkup: gpio@c00 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 130 | compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 131 | reg = <0xc00 0x40>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 132 | interrupts = <1 8 0 0 3 0>; |
Grant Likely | b884245 | 2009-02-03 12:30:26 -0700 | [diff] [blame] | 133 | gpio-controller; |
| 134 | #gpio-cells = <2>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 135 | }; |
| 136 | |
| 137 | spi@f00 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 138 | compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 139 | reg = <0xf00 0x20>; |
| 140 | interrupts = <2 13 0 2 14 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 141 | }; |
| 142 | |
| 143 | usb@1000 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 144 | compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 145 | reg = <0x1000 0xff>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 146 | interrupts = <2 6 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 147 | }; |
| 148 | |
| 149 | dma-controller@1200 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 150 | compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 151 | reg = <0x1200 0x80>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 152 | interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 |
| 153 | 3 4 0 3 5 0 3 6 0 3 7 0 |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 154 | 3 8 0 3 9 0 3 10 0 3 11 0 |
| 155 | 3 12 0 3 13 0 3 14 0 3 15 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 156 | }; |
| 157 | |
| 158 | xlb@1f00 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 159 | compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 160 | reg = <0x1f00 0x100>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 161 | }; |
| 162 | |
| 163 | serial@2000 { // PSC1 |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 164 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 165 | reg = <0x2000 0x100>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 166 | interrupts = <2 1 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 167 | }; |
| 168 | |
| 169 | serial@2200 { // PSC2 |
Grant Likely | b884245 | 2009-02-03 12:30:26 -0700 | [diff] [blame] | 170 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 171 | reg = <0x2200 0x100>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 172 | interrupts = <2 2 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 173 | }; |
| 174 | |
| 175 | serial@2400 { // PSC3 |
Grant Likely | b884245 | 2009-02-03 12:30:26 -0700 | [diff] [blame] | 176 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 177 | reg = <0x2400 0x100>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 178 | interrupts = <2 3 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 179 | }; |
| 180 | |
| 181 | serial@2c00 { // PSC6 |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 182 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 183 | reg = <0x2c00 0x100>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 184 | interrupts = <2 4 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 185 | }; |
| 186 | |
| 187 | ethernet@3000 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 188 | compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 189 | reg = <0x3000 0x400>; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 190 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 191 | interrupts = <2 5 0>; |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 192 | phy-handle = <&phy0>; |
| 193 | }; |
| 194 | |
| 195 | mdio@3000 { |
| 196 | #address-cells = <1>; |
| 197 | #size-cells = <0>; |
| 198 | compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 199 | reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 200 | interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 201 | |
| 202 | phy0: ethernet-phy@0 { |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 203 | reg = <0>; |
| 204 | }; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 205 | }; |
| 206 | |
| 207 | i2c@3d40 { |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 208 | #address-cells = <1>; |
| 209 | #size-cells = <0>; |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 210 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 211 | reg = <0x3d40 0x40>; |
| 212 | interrupts = <2 16 0>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 213 | }; |
| 214 | |
| 215 | sram@8000 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 216 | compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 217 | reg = <0x8000 0x4000>; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 218 | }; |
| 219 | }; |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 220 | |
Grant Likely | b884245 | 2009-02-03 12:30:26 -0700 | [diff] [blame] | 221 | localbus { |
| 222 | compatible = "fsl,mpc5200b-lpb","simple-bus"; |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 223 | #address-cells = <2>; |
| 224 | #size-cells = <1>; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 225 | ranges = <0 0 0xfc000000 0x2000000>; |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 226 | |
| 227 | // 16-bit flash device at LocalPlus Bus CS0 |
| 228 | flash@0,0 { |
| 229 | compatible = "cfi-flash"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 230 | reg = <0 0 0x2000000>; |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 231 | bank-width = <2>; |
| 232 | device-width = <2>; |
| 233 | #size-cells = <1>; |
| 234 | #address-cells = <1>; |
| 235 | }; |
| 236 | }; |
Marian Balakowicz | 8bd3b70 | 2007-11-10 04:12:31 +1100 | [diff] [blame] | 237 | }; |