Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 1 | /* |
| 2 | * MPC8349E-mITX-GP Device Tree Source |
| 3 | * |
| 4 | * Copyright 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 | model = "MPC8349EMITXGP"; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 13 | compatible = "MPC8349EMITXGP", "MPC834xMITX", "MPC83xxMITX"; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 14 | #address-cells = <1>; |
| 15 | #size-cells = <1>; |
| 16 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 17 | aliases { |
| 18 | ethernet0 = &enet0; |
| 19 | serial0 = &serial0; |
| 20 | serial1 = &serial1; |
| 21 | pci0 = &pci0; |
| 22 | }; |
| 23 | |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 24 | cpus { |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 25 | #address-cells = <1>; |
| 26 | #size-cells = <0>; |
| 27 | |
| 28 | PowerPC,8349@0 { |
| 29 | device_type = "cpu"; |
| 30 | reg = <0>; |
| 31 | d-cache-line-size = <20>; |
| 32 | i-cache-line-size = <20>; |
| 33 | d-cache-size = <8000>; |
| 34 | i-cache-size = <8000>; |
| 35 | timebase-frequency = <0>; // from bootloader |
| 36 | bus-frequency = <0>; // from bootloader |
| 37 | clock-frequency = <0>; // from bootloader |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 38 | }; |
| 39 | }; |
| 40 | |
| 41 | memory { |
| 42 | device_type = "memory"; |
| 43 | reg = <00000000 10000000>; |
| 44 | }; |
| 45 | |
| 46 | soc8349@e0000000 { |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <1>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 49 | device_type = "soc"; |
| 50 | ranges = <0 e0000000 00100000>; |
| 51 | reg = <e0000000 00000200>; |
| 52 | bus-frequency = <0>; // from bootloader |
| 53 | |
| 54 | wdt@200 { |
| 55 | device_type = "watchdog"; |
| 56 | compatible = "mpc83xx_wdt"; |
| 57 | reg = <200 100>; |
| 58 | }; |
| 59 | |
| 60 | i2c@3000 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 61 | #address-cells = <1>; |
| 62 | #size-cells = <0>; |
| 63 | cell-index = <0>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 64 | compatible = "fsl-i2c"; |
| 65 | reg = <3000 100>; |
| 66 | interrupts = <e 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 67 | interrupt-parent = < &ipic >; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 68 | dfsrr; |
| 69 | }; |
| 70 | |
| 71 | i2c@3100 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 72 | #address-cells = <1>; |
| 73 | #size-cells = <0>; |
| 74 | cell-index = <1>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 75 | compatible = "fsl-i2c"; |
| 76 | reg = <3100 100>; |
| 77 | interrupts = <f 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 78 | interrupt-parent = < &ipic >; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 79 | dfsrr; |
| 80 | }; |
| 81 | |
| 82 | spi@7000 { |
Anton Vorontsov | f3a2b29 | 2008-01-24 18:40:07 +0300 | [diff] [blame^] | 83 | cell-index = <0>; |
| 84 | compatible = "fsl,spi"; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 85 | reg = <7000 1000>; |
| 86 | interrupts = <10 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 87 | interrupt-parent = < &ipic >; |
Peter Korsgaard | 33799e3 | 2007-10-03 17:44:58 +0200 | [diff] [blame] | 88 | mode = "cpu"; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 89 | }; |
| 90 | |
| 91 | usb@23000 { |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 92 | compatible = "fsl-usb2-dr"; |
| 93 | reg = <23000 1000>; |
| 94 | #address-cells = <1>; |
| 95 | #size-cells = <0>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 96 | interrupt-parent = < &ipic >; |
| 97 | interrupts = <26 8>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 98 | dr_mode = "otg"; |
| 99 | phy_type = "ulpi"; |
| 100 | }; |
| 101 | |
| 102 | mdio@24520 { |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 103 | #address-cells = <1>; |
| 104 | #size-cells = <0>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 105 | compatible = "fsl,gianfar-mdio"; |
| 106 | reg = <24520 20>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 107 | |
| 108 | /* Vitesse 8201 */ |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 109 | phy1c: ethernet-phy@1c { |
| 110 | interrupt-parent = < &ipic >; |
| 111 | interrupts = <12 8>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 112 | reg = <1c>; |
| 113 | device_type = "ethernet-phy"; |
| 114 | }; |
| 115 | }; |
| 116 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 117 | enet0: ethernet@24000 { |
| 118 | cell-index = <0>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 119 | device_type = "network"; |
| 120 | model = "TSEC"; |
| 121 | compatible = "gianfar"; |
| 122 | reg = <24000 1000>; |
| 123 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 124 | interrupts = <20 8 21 8 22 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 125 | interrupt-parent = < &ipic >; |
| 126 | phy-handle = < &phy1c >; |
Grant Likely | ad25a4c | 2007-08-31 06:26:24 +1000 | [diff] [blame] | 127 | linux,network-index = <0>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 128 | }; |
| 129 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 130 | serial0: serial@4500 { |
| 131 | cell-index = <0>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 132 | device_type = "serial"; |
| 133 | compatible = "ns16550"; |
| 134 | reg = <4500 100>; |
| 135 | clock-frequency = <0>; // from bootloader |
| 136 | interrupts = <9 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 137 | interrupt-parent = < &ipic >; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 138 | }; |
| 139 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 140 | serial1: serial@4600 { |
| 141 | cell-index = <1>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 142 | device_type = "serial"; |
| 143 | compatible = "ns16550"; |
| 144 | reg = <4600 100>; |
| 145 | clock-frequency = <0>; // from bootloader |
| 146 | interrupts = <a 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 147 | interrupt-parent = < &ipic >; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 148 | }; |
| 149 | |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 150 | crypto@30000 { |
| 151 | device_type = "crypto"; |
| 152 | model = "SEC2"; |
| 153 | compatible = "talitos"; |
| 154 | reg = <30000 10000>; |
| 155 | interrupts = <b 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 156 | interrupt-parent = < &ipic >; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 157 | num-channels = <4>; |
| 158 | channel-fifo-len = <18>; |
| 159 | exec-units-mask = <0000007e>; |
| 160 | descriptor-types-mask = <01010ebf>; |
| 161 | }; |
| 162 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 163 | ipic: pic@700 { |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 164 | interrupt-controller; |
| 165 | #address-cells = <0>; |
| 166 | #interrupt-cells = <2>; |
| 167 | reg = <700 100>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 168 | device_type = "ipic"; |
| 169 | }; |
| 170 | }; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 171 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 172 | pci0: pci@e0008600 { |
| 173 | cell-index = <2>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 174 | interrupt-map-mask = <f800 0 0 7>; |
| 175 | interrupt-map = < |
| 176 | /* IDSEL 0x0F - PCI Slot */ |
| 177 | 7800 0 0 1 &ipic 14 8 /* PCI_INTA */ |
| 178 | 7800 0 0 2 &ipic 15 8 /* PCI_INTB */ |
| 179 | >; |
| 180 | interrupt-parent = < &ipic >; |
| 181 | interrupts = <43 8>; |
| 182 | bus-range = <1 1>; |
| 183 | ranges = <42000000 0 a0000000 a0000000 0 10000000 |
| 184 | 02000000 0 b0000000 b0000000 0 10000000 |
| 185 | 01000000 0 00000000 e3000000 0 01000000>; |
| 186 | clock-frequency = <3f940aa>; |
| 187 | #interrupt-cells = <1>; |
| 188 | #size-cells = <2>; |
| 189 | #address-cells = <3>; |
| 190 | reg = <e0008600 100>; |
| 191 | compatible = "fsl,mpc8349-pci"; |
| 192 | device_type = "pci"; |
| 193 | }; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 194 | }; |