1/* 2 * MPC885 ADS Device Tree Source 3 * 4 * Copyright 2006 MontaVista Software, 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/ { 14 model = "MPC885ADS"; 15 compatible = "mpc8xx"; 16 #address-cells = <1>; 17 #size-cells = <1>; 18 linux,phandle = <100>; 19 20 cpus { 21 #address-cells = <1>; 22 #size-cells = <0>; 23 linux,phandle = <200>; 24 25 PowerPC,885@0 { 26 device_type = "cpu"; 27 reg = <0>; 28 d-cache-line-size = <20>; // 32 bytes 29 i-cache-line-size = <20>; // 32 bytes 30 d-cache-size = <2000>; // L1, 8K 31 i-cache-size = <2000>; // L1, 8K 32 timebase-frequency = <0>; 33 bus-frequency = <0>; 34 clock-frequency = <0>; 35 32-bit; 36 interrupts = <f 2>; // decrementer interrupt 37 interrupt-parent = <ff000000>; 38 linux,phandle = <201>; 39 }; 40 }; 41 42 memory { 43 device_type = "memory"; 44 linux,phandle = <300>; 45 reg = <00000000 800000>; 46 }; 47 48 soc885@ff000000 { 49 #address-cells = <1>; 50 #size-cells = <1>; 51 #interrupt-cells = <2>; 52 device_type = "soc"; 53 ranges = <0 ff000000 00100000>; 54 reg = <ff000000 00000200>; 55 bus-frequency = <0>; 56 mdio@e80 { 57 device_type = "mdio"; 58 compatible = "fs_enet"; 59 reg = <e80 8>; 60 linux,phandle = <e80>; 61 #address-cells = <1>; 62 #size-cells = <0>; 63 ethernet-phy@0 { 64 linux,phandle = <e8000>; 65 reg = <0>; 66 device_type = "ethernet-phy"; 67 }; 68 ethernet-phy@1 { 69 linux,phandle = <e8001>; 70 reg = <1>; 71 device_type = "ethernet-phy"; 72 }; 73 ethernet-phy@2 { 74 linux,phandle = <e8002>; 75 reg = <2>; 76 device_type = "ethernet-phy"; 77 }; 78 }; 79 80 fec@e00 { 81 device_type = "network"; 82 compatible = "fs_enet"; 83 model = "FEC"; 84 device-id = <1>; 85 reg = <e00 188>; 86 mac-address = [ 00 00 0C 00 01 FD ]; 87 interrupts = <3 1>; 88 interrupt-parent = <ff000000>; 89 phy-handle = <e8000>; 90 }; 91 92 fec@1e00 { 93 device_type = "network"; 94 compatible = "fs_enet"; 95 model = "FEC"; 96 device-id = <2>; 97 reg = <1e00 188>; 98 mac-address = [ 00 00 0C 00 02 FD ]; 99 interrupts = <7 1>; 100 interrupt-parent = <ff000000>; 101 phy-handle = <e8001>; 102 }; 103 104 pic@ff000000 { 105 linux,phandle = <ff000000>; 106 interrupt-controller; 107 #address-cells = <0>; 108 #interrupt-cells = <2>; 109 reg = <0 24>; 110 built-in; 111 device_type = "mpc8xx-pic"; 112 compatible = "CPM"; 113 }; 114 115 pcmcia@0080 { 116 #address-cells = <3>; 117 #interrupt-cells = <1>; 118 #size-cells = <2>; 119 compatible = "fsl,pq-pcmcia"; 120 device_type = "pcmcia"; 121 reg = <80 80>; 122 interrupt-parent = <ff000000>; 123 interrupts = <d 1>; 124 }; 125 126 cpm@ff000000 { 127 linux,phandle = <ff000000>; 128 #address-cells = <1>; 129 #size-cells = <1>; 130 #interrupt-cells = <2>; 131 device_type = "cpm"; 132 model = "CPM"; 133 ranges = <0 0 4000>; 134 reg = <860 f0>; 135 command-proc = <9c0>; 136 brg-frequency = <0>; 137 interrupts = <0 2>; // cpm error interrupt 138 interrupt-parent = <930>; 139 140 pic@930 { 141 linux,phandle = <930>; 142 interrupt-controller; 143 #address-cells = <0>; 144 #interrupt-cells = <2>; 145 interrupts = <5 2 0 2>; 146 interrupt-parent = <ff000000>; 147 reg = <930 20>; 148 built-in; 149 device_type = "cpm-pic"; 150 compatible = "CPM"; 151 }; 152 153 smc@a80 { 154 device_type = "serial"; 155 compatible = "cpm_uart"; 156 model = "SMC"; 157 device-id = <1>; 158 reg = <a80 10 3e80 40>; 159 clock-setup = <00ffffff 0>; 160 rx-clock = <1>; 161 tx-clock = <1>; 162 current-speed = <0>; 163 interrupts = <4 3>; 164 interrupt-parent = <930>; 165 }; 166 167 smc@a90 { 168 device_type = "serial"; 169 compatible = "cpm_uart"; 170 model = "SMC"; 171 device-id = <2>; 172 reg = <a90 20 3f80 40>; 173 clock-setup = <ff00ffff 90000>; 174 rx-clock = <2>; 175 tx-clock = <2>; 176 current-speed = <0>; 177 interrupts = <3 3>; 178 interrupt-parent = <930>; 179 }; 180 181 scc@a40 { 182 device_type = "network"; 183 compatible = "fs_enet"; 184 model = "SCC"; 185 device-id = <3>; 186 reg = <a40 18 3e00 80>; 187 mac-address = [ 00 00 0C 00 03 FD ]; 188 interrupts = <1c 3>; 189 interrupt-parent = <930>; 190 phy-handle = <e8002>; 191 }; 192 }; 193 }; 194}; 195