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 cpm@ff000000 { 116 linux,phandle = <ff000000>; 117 #address-cells = <1>; 118 #size-cells = <1>; 119 #interrupt-cells = <2>; 120 device_type = "cpm"; 121 model = "CPM"; 122 ranges = <0 0 4000>; 123 reg = <860 f0>; 124 command-proc = <9c0>; 125 brg-frequency = <0>; 126 interrupts = <0 2>; // cpm error interrupt 127 interrupt-parent = <930>; 128 129 pic@930 { 130 linux,phandle = <930>; 131 interrupt-controller; 132 #address-cells = <0>; 133 #interrupt-cells = <2>; 134 interrupts = <5 2 0 2>; 135 interrupt-parent = <ff000000>; 136 reg = <930 20>; 137 built-in; 138 device_type = "cpm-pic"; 139 compatible = "CPM"; 140 }; 141 142 smc@a80 { 143 device_type = "serial"; 144 compatible = "cpm_uart"; 145 model = "SMC"; 146 device-id = <1>; 147 reg = <a80 10 3e80 40>; 148 clock-setup = <00ffffff 0>; 149 rx-clock = <1>; 150 tx-clock = <1>; 151 current-speed = <0>; 152 interrupts = <4 3>; 153 interrupt-parent = <930>; 154 }; 155 156 smc@a90 { 157 device_type = "serial"; 158 compatible = "cpm_uart"; 159 model = "SMC"; 160 device-id = <2>; 161 reg = <a90 20 3f80 40>; 162 clock-setup = <ff00ffff 90000>; 163 rx-clock = <2>; 164 tx-clock = <2>; 165 current-speed = <0>; 166 interrupts = <3 3>; 167 interrupt-parent = <930>; 168 }; 169 170 scc@a40 { 171 device_type = "network"; 172 compatible = "fs_enet"; 173 model = "SCC"; 174 device-id = <3>; 175 reg = <a40 18 3e00 80>; 176 mac-address = [ 00 00 0C 00 03 FD ]; 177 interrupts = <1c 3>; 178 interrupt-parent = <930>; 179 phy-handle = <e8002>; 180 }; 181 }; 182 }; 183}; 184