Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 1 | /* |
| 2 | * MPC8313E RDB Device Tree Source |
| 3 | * |
| 4 | * Copyright 2005, 2006, 2007 Freescale Semiconductor Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms of the GNU General Public License as published by the |
| 8 | * Free Software Foundation; either version 2 of the License, or (at your |
| 9 | * option) any later version. |
| 10 | */ |
| 11 | |
| 12 | / { |
| 13 | model = "MPC8313ERDB"; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 14 | compatible = "MPC8313ERDB", "MPC831xRDB", "MPC83xxRDB"; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 15 | #address-cells = <1>; |
| 16 | #size-cells = <1>; |
| 17 | |
| 18 | cpus { |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 19 | #address-cells = <1>; |
| 20 | #size-cells = <0>; |
| 21 | |
| 22 | PowerPC,8313@0 { |
| 23 | device_type = "cpu"; |
| 24 | reg = <0>; |
| 25 | d-cache-line-size = <20>; // 32 bytes |
| 26 | i-cache-line-size = <20>; // 32 bytes |
| 27 | d-cache-size = <4000>; // L1, 16K |
| 28 | i-cache-size = <4000>; // L1, 16K |
| 29 | timebase-frequency = <0>; // from bootloader |
| 30 | bus-frequency = <0>; // from bootloader |
| 31 | clock-frequency = <0>; // from bootloader |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 32 | }; |
| 33 | }; |
| 34 | |
| 35 | memory { |
| 36 | device_type = "memory"; |
| 37 | reg = <00000000 08000000>; // 128MB at 0 |
| 38 | }; |
| 39 | |
| 40 | soc8313@e0000000 { |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <1>; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 43 | device_type = "soc"; |
| 44 | ranges = <0 e0000000 00100000>; |
| 45 | reg = <e0000000 00000200>; |
| 46 | bus-frequency = <0>; |
| 47 | |
| 48 | wdt@200 { |
| 49 | device_type = "watchdog"; |
| 50 | compatible = "mpc83xx_wdt"; |
| 51 | reg = <200 100>; |
| 52 | }; |
| 53 | |
| 54 | i2c@3000 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 55 | #address-cells = <1>; |
| 56 | #size-cells = <0>; |
| 57 | cell-index = <0>; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 58 | compatible = "fsl-i2c"; |
| 59 | reg = <3000 100>; |
| 60 | interrupts = <e 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 61 | interrupt-parent = < &ipic >; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 62 | dfsrr; |
| 63 | }; |
| 64 | |
| 65 | i2c@3100 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 66 | #address-cells = <1>; |
| 67 | #size-cells = <0>; |
| 68 | cell-index = <1>; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 69 | compatible = "fsl-i2c"; |
| 70 | reg = <3100 100>; |
| 71 | interrupts = <f 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 72 | interrupt-parent = < &ipic >; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 73 | dfsrr; |
| 74 | }; |
| 75 | |
| 76 | spi@7000 { |
| 77 | device_type = "spi"; |
Peter Korsgaard | 33799e3 | 2007-10-03 17:44:58 +0200 | [diff] [blame] | 78 | compatible = "fsl_spi"; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 79 | reg = <7000 1000>; |
| 80 | interrupts = <10 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 81 | interrupt-parent = < &ipic >; |
Peter Korsgaard | 33799e3 | 2007-10-03 17:44:58 +0200 | [diff] [blame] | 82 | mode = "cpu"; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 83 | }; |
| 84 | |
| 85 | /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */ |
| 86 | usb@23000 { |
| 87 | device_type = "usb"; |
| 88 | compatible = "fsl-usb2-dr"; |
| 89 | reg = <23000 1000>; |
| 90 | #address-cells = <1>; |
| 91 | #size-cells = <0>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 92 | interrupt-parent = < &ipic >; |
| 93 | interrupts = <26 8>; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 94 | phy_type = "utmi_wide"; |
| 95 | }; |
| 96 | |
| 97 | mdio@24520 { |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 98 | #address-cells = <1>; |
| 99 | #size-cells = <0>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame^] | 100 | compatible = "fsl,gianfar-mdio"; |
| 101 | reg = <24520 20>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 102 | phy1: ethernet-phy@1 { |
| 103 | interrupt-parent = < &ipic >; |
| 104 | interrupts = <13 8>; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 105 | reg = <1>; |
| 106 | device_type = "ethernet-phy"; |
| 107 | }; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 108 | phy4: ethernet-phy@4 { |
| 109 | interrupt-parent = < &ipic >; |
| 110 | interrupts = <14 8>; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 111 | reg = <4>; |
| 112 | device_type = "ethernet-phy"; |
| 113 | }; |
| 114 | }; |
| 115 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame^] | 116 | enet0: ethernet@24000 { |
| 117 | cell-index = <0>; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 118 | device_type = "network"; |
| 119 | model = "eTSEC"; |
| 120 | compatible = "gianfar"; |
| 121 | reg = <24000 1000>; |
| 122 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 123 | interrupts = <25 8 24 8 23 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 124 | interrupt-parent = < &ipic >; |
| 125 | phy-handle = < &phy1 >; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 126 | }; |
| 127 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame^] | 128 | enet1: ethernet@25000 { |
| 129 | cell-index = <1>; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 130 | device_type = "network"; |
| 131 | model = "eTSEC"; |
| 132 | compatible = "gianfar"; |
| 133 | reg = <25000 1000>; |
| 134 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 135 | interrupts = <22 8 21 8 20 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 136 | interrupt-parent = < &ipic >; |
| 137 | phy-handle = < &phy4 >; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 138 | }; |
| 139 | |
| 140 | serial@4500 { |
| 141 | device_type = "serial"; |
| 142 | compatible = "ns16550"; |
| 143 | reg = <4500 100>; |
| 144 | clock-frequency = <0>; |
| 145 | interrupts = <9 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 146 | interrupt-parent = < &ipic >; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 147 | }; |
| 148 | |
| 149 | serial@4600 { |
| 150 | device_type = "serial"; |
| 151 | compatible = "ns16550"; |
| 152 | reg = <4600 100>; |
| 153 | clock-frequency = <0>; |
| 154 | interrupts = <a 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 155 | interrupt-parent = < &ipic >; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 156 | }; |
| 157 | |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 158 | crypto@30000 { |
| 159 | device_type = "crypto"; |
| 160 | model = "SEC2"; |
| 161 | compatible = "talitos"; |
| 162 | reg = <30000 7000>; |
| 163 | interrupts = <b 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 164 | interrupt-parent = < &ipic >; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 165 | /* Rev. 2.2 */ |
| 166 | num-channels = <1>; |
| 167 | channel-fifo-len = <18>; |
| 168 | exec-units-mask = <0000004c>; |
| 169 | descriptor-types-mask = <0122003f>; |
| 170 | }; |
| 171 | |
| 172 | /* IPIC |
| 173 | * interrupts cell = <intr #, sense> |
| 174 | * sense values match linux IORESOURCE_IRQ_* defines: |
| 175 | * sense == 8: Level, low assertion |
| 176 | * sense == 2: Edge, high-to-low change |
| 177 | */ |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 178 | ipic: pic@700 { |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 179 | interrupt-controller; |
| 180 | #address-cells = <0>; |
| 181 | #interrupt-cells = <2>; |
| 182 | reg = <700 100>; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 183 | device_type = "ipic"; |
| 184 | }; |
| 185 | }; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 186 | |
| 187 | pci@e0008500 { |
| 188 | interrupt-map-mask = <f800 0 0 7>; |
| 189 | interrupt-map = < |
| 190 | |
| 191 | /* IDSEL 0x0E -mini PCI */ |
| 192 | 7000 0 0 1 &ipic 12 8 |
| 193 | 7000 0 0 2 &ipic 12 8 |
| 194 | 7000 0 0 3 &ipic 12 8 |
| 195 | 7000 0 0 4 &ipic 12 8 |
| 196 | |
| 197 | /* IDSEL 0x0F - PCI slot */ |
| 198 | 7800 0 0 1 &ipic 11 8 |
| 199 | 7800 0 0 2 &ipic 12 8 |
| 200 | 7800 0 0 3 &ipic 11 8 |
| 201 | 7800 0 0 4 &ipic 12 8>; |
| 202 | interrupt-parent = < &ipic >; |
| 203 | interrupts = <42 8>; |
| 204 | bus-range = <0 0>; |
| 205 | ranges = <02000000 0 90000000 90000000 0 10000000 |
| 206 | 42000000 0 80000000 80000000 0 10000000 |
| 207 | 01000000 0 00000000 e2000000 0 00100000>; |
| 208 | clock-frequency = <3f940aa>; |
| 209 | #interrupt-cells = <1>; |
| 210 | #size-cells = <2>; |
| 211 | #address-cells = <3>; |
| 212 | reg = <e0008500 100>; |
| 213 | compatible = "fsl,mpc8349-pci"; |
| 214 | device_type = "pci"; |
| 215 | }; |
Kim Phillips | b359049 | 2007-02-07 22:19:12 -0600 | [diff] [blame] | 216 | }; |