1/* 2 * MPC8349E-mITX Device Tree Source 3 * 4 * Copyright 2006 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 = "MPC8349EMITX"; 13 compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX"; 14 #address-cells = <1>; 15 #size-cells = <1>; 16 17 aliases { 18 ethernet0 = &enet0; 19 ethernet1 = &enet1; 20 serial0 = &serial0; 21 serial1 = &serial1; 22 pci0 = &pci0; 23 pci1 = &pci1; 24 }; 25 26 cpus { 27 #address-cells = <1>; 28 #size-cells = <0>; 29 30 PowerPC,8349@0 { 31 device_type = "cpu"; 32 reg = <0>; 33 d-cache-line-size = <20>; 34 i-cache-line-size = <20>; 35 d-cache-size = <8000>; 36 i-cache-size = <8000>; 37 timebase-frequency = <0>; // from bootloader 38 bus-frequency = <0>; // from bootloader 39 clock-frequency = <0>; // from bootloader 40 }; 41 }; 42 43 memory { 44 device_type = "memory"; 45 reg = <00000000 10000000>; 46 }; 47 48 soc8349@e0000000 { 49 #address-cells = <1>; 50 #size-cells = <1>; 51 device_type = "soc"; 52 ranges = <0 e0000000 00100000>; 53 reg = <e0000000 00000200>; 54 bus-frequency = <0>; // from bootloader 55 56 wdt@200 { 57 device_type = "watchdog"; 58 compatible = "mpc83xx_wdt"; 59 reg = <200 100>; 60 }; 61 62 i2c@3000 { 63 #address-cells = <1>; 64 #size-cells = <0>; 65 cell-index = <0>; 66 compatible = "fsl-i2c"; 67 reg = <3000 100>; 68 interrupts = <e 8>; 69 interrupt-parent = < &ipic >; 70 dfsrr; 71 }; 72 73 i2c@3100 { 74 #address-cells = <1>; 75 #size-cells = <0>; 76 cell-index = <1>; 77 compatible = "fsl-i2c"; 78 reg = <3100 100>; 79 interrupts = <f 8>; 80 interrupt-parent = < &ipic >; 81 dfsrr; 82 }; 83 84 spi@7000 { 85 device_type = "spi"; 86 compatible = "fsl_spi"; 87 reg = <7000 1000>; 88 interrupts = <10 8>; 89 interrupt-parent = < &ipic >; 90 mode = "cpu"; 91 }; 92 93 usb@22000 { 94 compatible = "fsl-usb2-mph"; 95 reg = <22000 1000>; 96 #address-cells = <1>; 97 #size-cells = <0>; 98 interrupt-parent = < &ipic >; 99 interrupts = <27 8>; 100 phy_type = "ulpi"; 101 port1; 102 }; 103 104 usb@23000 { 105 compatible = "fsl-usb2-dr"; 106 reg = <23000 1000>; 107 #address-cells = <1>; 108 #size-cells = <0>; 109 interrupt-parent = < &ipic >; 110 interrupts = <26 8>; 111 dr_mode = "peripheral"; 112 phy_type = "ulpi"; 113 }; 114 115 mdio@24520 { 116 #address-cells = <1>; 117 #size-cells = <0>; 118 compatible = "fsl,gianfar-mdio"; 119 reg = <24520 20>; 120 121 /* Vitesse 8201 */ 122 phy1c: ethernet-phy@1c { 123 interrupt-parent = < &ipic >; 124 interrupts = <12 8>; 125 reg = <1c>; 126 device_type = "ethernet-phy"; 127 }; 128 }; 129 130 enet0: ethernet@24000 { 131 cell-index = <0>; 132 device_type = "network"; 133 model = "TSEC"; 134 compatible = "gianfar"; 135 reg = <24000 1000>; 136 local-mac-address = [ 00 00 00 00 00 00 ]; 137 interrupts = <20 8 21 8 22 8>; 138 interrupt-parent = < &ipic >; 139 phy-handle = < &phy1c >; 140 linux,network-index = <0>; 141 }; 142 143 enet1: ethernet@25000 { 144 cell-index = <1>; 145 device_type = "network"; 146 model = "TSEC"; 147 compatible = "gianfar"; 148 reg = <25000 1000>; 149 local-mac-address = [ 00 00 00 00 00 00 ]; 150 interrupts = <23 8 24 8 25 8>; 151 interrupt-parent = < &ipic >; 152 /* Vitesse 7385 isn't on the MDIO bus */ 153 fixed-link = <1 1 d#1000 0 0>; 154 linux,network-index = <1>; 155 }; 156 157 serial0: serial@4500 { 158 cell-index = <0>; 159 device_type = "serial"; 160 compatible = "ns16550"; 161 reg = <4500 100>; 162 clock-frequency = <0>; // from bootloader 163 interrupts = <9 8>; 164 interrupt-parent = < &ipic >; 165 }; 166 167 serial1: serial@4600 { 168 cell-index = <1>; 169 device_type = "serial"; 170 compatible = "ns16550"; 171 reg = <4600 100>; 172 clock-frequency = <0>; // from bootloader 173 interrupts = <a 8>; 174 interrupt-parent = < &ipic >; 175 }; 176 177 crypto@30000 { 178 device_type = "crypto"; 179 model = "SEC2"; 180 compatible = "talitos"; 181 reg = <30000 10000>; 182 interrupts = <b 8>; 183 interrupt-parent = < &ipic >; 184 num-channels = <4>; 185 channel-fifo-len = <18>; 186 exec-units-mask = <0000007e>; 187 descriptor-types-mask = <01010ebf>; 188 }; 189 190 ipic: pic@700 { 191 interrupt-controller; 192 #address-cells = <0>; 193 #interrupt-cells = <2>; 194 reg = <700 100>; 195 device_type = "ipic"; 196 }; 197 }; 198 199 pci0: pci@e0008500 { 200 cell-index = <1>; 201 interrupt-map-mask = <f800 0 0 7>; 202 interrupt-map = < 203 /* IDSEL 0x10 - SATA */ 204 8000 0 0 1 &ipic 16 8 /* SATA_INTA */ 205 >; 206 interrupt-parent = < &ipic >; 207 interrupts = <42 8>; 208 bus-range = <0 0>; 209 ranges = <42000000 0 80000000 80000000 0 10000000 210 02000000 0 90000000 90000000 0 10000000 211 01000000 0 00000000 e2000000 0 01000000>; 212 clock-frequency = <3f940aa>; 213 #interrupt-cells = <1>; 214 #size-cells = <2>; 215 #address-cells = <3>; 216 reg = <e0008500 100>; 217 compatible = "fsl,mpc8349-pci"; 218 device_type = "pci"; 219 }; 220 221 pci1: pci@e0008600 { 222 cell-index = <2>; 223 interrupt-map-mask = <f800 0 0 7>; 224 interrupt-map = < 225 /* IDSEL 0x0E - MiniPCI Slot */ 226 7000 0 0 1 &ipic 15 8 /* PCI_INTA */ 227 228 /* IDSEL 0x0F - PCI Slot */ 229 7800 0 0 1 &ipic 14 8 /* PCI_INTA */ 230 7800 0 0 2 &ipic 15 8 /* PCI_INTB */ 231 >; 232 interrupt-parent = < &ipic >; 233 interrupts = <43 8>; 234 bus-range = <0 0>; 235 ranges = <42000000 0 a0000000 a0000000 0 10000000 236 02000000 0 b0000000 b0000000 0 10000000 237 01000000 0 00000000 e3000000 0 01000000>; 238 clock-frequency = <3f940aa>; 239 #interrupt-cells = <1>; 240 #size-cells = <2>; 241 #address-cells = <3>; 242 reg = <e0008600 100>; 243 compatible = "fsl,mpc8349-pci"; 244 device_type = "pci"; 245 }; 246 247 localbus@e0005000 { 248 #address-cells = <2>; 249 #size-cells = <1>; 250 compatible = "fsl,mpc8349e-localbus", 251 "fsl,pq2pro-localbus"; 252 reg = <e0005000 d8>; 253 ranges = <3 0 f0000000 210>; 254 255 pata@3,0 { 256 compatible = "fsl,mpc8349emitx-pata", "ata-generic"; 257 reg = <3 0 10 3 20c 4>; 258 reg-shift = <1>; 259 pio-mode = <6>; 260 interrupts = <17 8>; 261 interrupt-parent = <&ipic>; 262 }; 263 }; 264}; 265