1/* 2 * EP88xC Device Tree Source 3 * 4 * Copyright 2006 MontaVista Software, Inc. 5 * Copyright 2007 Freescale Semiconductor, Inc. 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the 9 * Free Software Foundation; either version 2 of the License, or (at your 10 * option) any later version. 11 */ 12 13 14/ { 15 model = "EP88xC"; 16 compatible = "fsl,ep88xc"; 17 #address-cells = <1>; 18 #size-cells = <1>; 19 20 cpus { 21 #address-cells = <1>; 22 #size-cells = <0>; 23 24 PowerPC,885@0 { 25 device_type = "cpu"; 26 reg = <0>; 27 d-cache-line-size = <d#16>; 28 i-cache-line-size = <d#16>; 29 d-cache-size = <d#8192>; 30 i-cache-size = <d#8192>; 31 timebase-frequency = <0>; 32 bus-frequency = <0>; 33 clock-frequency = <0>; 34 interrupts = <f 2>; // decrementer interrupt 35 interrupt-parent = <&PIC>; 36 }; 37 }; 38 39 memory { 40 device_type = "memory"; 41 reg = <0 0>; 42 }; 43 44 localbus@fa200100 { 45 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus"; 46 #address-cells = <2>; 47 #size-cells = <1>; 48 reg = <fa200100 40>; 49 50 ranges = < 51 0 0 fc000000 04000000 52 3 0 fa000000 01000000 53 >; 54 55 flash@0,2000000 { 56 compatible = "cfi-flash"; 57 reg = <0 2000000 2000000>; 58 bank-width = <4>; 59 device-width = <2>; 60 }; 61 62 board-control@3,400000 { 63 reg = <3 400000 10>; 64 compatible = "fsl,ep88xc-bcsr"; 65 }; 66 }; 67 68 soc@fa200000 { 69 compatible = "fsl,mpc885", "fsl,pq1-soc"; 70 #address-cells = <1>; 71 #size-cells = <1>; 72 device_type = "soc"; 73 ranges = <0 fa200000 00004000>; 74 bus-frequency = <0>; 75 76 // Temporary -- will go away once kernel uses ranges for get_immrbase(). 77 reg = <fa200000 4000>; 78 79 mdio@e00 { 80 compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio"; 81 reg = <e00 188>; 82 #address-cells = <1>; 83 #size-cells = <0>; 84 85 PHY0: ethernet-phy@0 { 86 reg = <0>; 87 device_type = "ethernet-phy"; 88 }; 89 90 PHY1: ethernet-phy@1 { 91 reg = <1>; 92 device_type = "ethernet-phy"; 93 }; 94 }; 95 96 ethernet@e00 { 97 device_type = "network"; 98 compatible = "fsl,mpc885-fec-enet", 99 "fsl,pq1-fec-enet"; 100 reg = <e00 188>; 101 local-mac-address = [ 00 00 00 00 00 00 ]; 102 interrupts = <3 1>; 103 interrupt-parent = <&PIC>; 104 phy-handle = <&PHY0>; 105 linux,network-index = <0>; 106 }; 107 108 ethernet@1e00 { 109 device_type = "network"; 110 compatible = "fsl,mpc885-fec-enet", 111 "fsl,pq1-fec-enet"; 112 reg = <1e00 188>; 113 local-mac-address = [ 00 00 00 00 00 00 ]; 114 interrupts = <7 1>; 115 interrupt-parent = <&PIC>; 116 phy-handle = <&PHY1>; 117 linux,network-index = <1>; 118 }; 119 120 PIC: interrupt-controller@0 { 121 interrupt-controller; 122 #interrupt-cells = <2>; 123 reg = <0 24>; 124 compatible = "fsl,mpc885-pic", "fsl,pq1-pic"; 125 }; 126 127 pcmcia@80 { 128 #address-cells = <3>; 129 #interrupt-cells = <1>; 130 #size-cells = <2>; 131 compatible = "fsl,pq-pcmcia"; 132 device_type = "pcmcia"; 133 reg = <80 80>; 134 interrupt-parent = <&PIC>; 135 interrupts = <d 1>; 136 }; 137 138 cpm@9c0 { 139 #address-cells = <1>; 140 #size-cells = <1>; 141 compatible = "fsl,mpc885-cpm", "fsl,cpm1"; 142 command-proc = <9c0>; 143 interrupts = <0>; // cpm error interrupt 144 interrupt-parent = <&CPM_PIC>; 145 reg = <9c0 40 2000 1c00>; 146 ranges; 147 148 brg@9f0 { 149 compatible = "fsl,mpc885-brg", 150 "fsl,cpm1-brg", 151 "fsl,cpm-brg"; 152 reg = <9f0 10>; 153 }; 154 155 CPM_PIC: interrupt-controller@930 { 156 interrupt-controller; 157 #interrupt-cells = <1>; 158 interrupts = <5 2 0 2>; 159 interrupt-parent = <&PIC>; 160 reg = <930 20>; 161 compatible = "fsl,mpc885-cpm-pic", 162 "fsl,cpm1-pic"; 163 }; 164 165 // MON-1 166 serial@a80 { 167 device_type = "serial"; 168 compatible = "fsl,mpc885-smc-uart", 169 "fsl,cpm1-smc-uart"; 170 reg = <a80 10 3e80 40>; 171 interrupts = <4>; 172 interrupt-parent = <&CPM_PIC>; 173 fsl,cpm-brg = <1>; 174 fsl,cpm-command = <0090>; 175 linux,planetcore-label = "SMC1"; 176 }; 177 178 // SER-1 179 serial@a20 { 180 device_type = "serial"; 181 compatible = "fsl,mpc885-scc-uart", 182 "fsl,cpm1-scc-uart"; 183 reg = <a20 20 3d00 80>; 184 interrupts = <1d>; 185 interrupt-parent = <&CPM_PIC>; 186 fsl,cpm-brg = <2>; 187 fsl,cpm-command = <0040>; 188 linux,planetcore-label = "SCC2"; 189 }; 190 191 usb@a00 { 192 #address-cells = <1>; 193 #size-cells = <0>; 194 compatible = "fsl,mpc885-usb", 195 "fsl,cpm1-usb"; 196 reg = <a00 18 1c00 80>; 197 interrupt-parent = <&CPM_PIC>; 198 interrupts = <1e>; 199 fsl,cpm-command = <0000>; 200 }; 201 }; 202 }; 203}; 204