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"; 14 compatible = "MPC8313ERDB", "MPC831xRDB", "MPC83xxRDB"; 15 #address-cells = <1>; 16 #size-cells = <1>; 17 18 cpus { 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 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>; 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 { 55 #address-cells = <1>; 56 #size-cells = <0>; 57 cell-index = <0>; 58 compatible = "fsl-i2c"; 59 reg = <3000 100>; 60 interrupts = <e 8>; 61 interrupt-parent = < &ipic >; 62 dfsrr; 63 }; 64 65 i2c@3100 { 66 #address-cells = <1>; 67 #size-cells = <0>; 68 cell-index = <1>; 69 compatible = "fsl-i2c"; 70 reg = <3100 100>; 71 interrupts = <f 8>; 72 interrupt-parent = < &ipic >; 73 dfsrr; 74 }; 75 76 spi@7000 { 77 device_type = "spi"; 78 compatible = "fsl_spi"; 79 reg = <7000 1000>; 80 interrupts = <10 8>; 81 interrupt-parent = < &ipic >; 82 mode = "cpu"; 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>; 92 interrupt-parent = < &ipic >; 93 interrupts = <26 8>; 94 phy_type = "utmi_wide"; 95 }; 96 97 mdio@24520 { 98 #address-cells = <1>; 99 #size-cells = <0>; 100 compatible = "fsl,gianfar-mdio"; 101 reg = <24520 20>; 102 phy1: ethernet-phy@1 { 103 interrupt-parent = < &ipic >; 104 interrupts = <13 8>; 105 reg = <1>; 106 device_type = "ethernet-phy"; 107 }; 108 phy4: ethernet-phy@4 { 109 interrupt-parent = < &ipic >; 110 interrupts = <14 8>; 111 reg = <4>; 112 device_type = "ethernet-phy"; 113 }; 114 }; 115 116 enet0: ethernet@24000 { 117 cell-index = <0>; 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>; 124 interrupt-parent = < &ipic >; 125 phy-handle = < &phy1 >; 126 }; 127 128 enet1: ethernet@25000 { 129 cell-index = <1>; 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>; 136 interrupt-parent = < &ipic >; 137 phy-handle = < &phy4 >; 138 }; 139 140 serial@4500 { 141 device_type = "serial"; 142 compatible = "ns16550"; 143 reg = <4500 100>; 144 clock-frequency = <0>; 145 interrupts = <9 8>; 146 interrupt-parent = < &ipic >; 147 }; 148 149 serial@4600 { 150 device_type = "serial"; 151 compatible = "ns16550"; 152 reg = <4600 100>; 153 clock-frequency = <0>; 154 interrupts = <a 8>; 155 interrupt-parent = < &ipic >; 156 }; 157 158 crypto@30000 { 159 device_type = "crypto"; 160 model = "SEC2"; 161 compatible = "talitos"; 162 reg = <30000 7000>; 163 interrupts = <b 8>; 164 interrupt-parent = < &ipic >; 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 */ 178 ipic: pic@700 { 179 interrupt-controller; 180 #address-cells = <0>; 181 #interrupt-cells = <2>; 182 reg = <700 100>; 183 device_type = "ipic"; 184 }; 185 }; 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 }; 216}; 217