Jon Loeliger | 5c8aa97 | 2006-04-26 17:58:56 -0500 | [diff] [blame^] | 1 | /* |
| 2 | * MPC8641 HPCn 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 | |
| 13 | / { |
| 14 | model = "MPC8641HPCN"; |
| 15 | compatible = "mpc86xx"; |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | linux,phandle = <100>; |
| 19 | |
| 20 | cpus { |
| 21 | #cpus = <1>; |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
| 24 | linux,phandle = <200>; |
| 25 | |
| 26 | PowerPC,8641@0 { |
| 27 | device_type = "cpu"; |
| 28 | reg = <0>; |
| 29 | d-cache-line-size = <20>; // 32 bytes |
| 30 | i-cache-line-size = <20>; // 32 bytes |
| 31 | d-cache-size = <8000>; // L1, 32K |
| 32 | i-cache-size = <8000>; // L1, 32K |
| 33 | timebase-frequency = <0>; // 33 MHz, from uboot |
| 34 | bus-frequency = <0>; // 166 MHz |
| 35 | clock-frequency = <0>; // 825 MHz, from uboot |
| 36 | 32-bit; |
| 37 | linux,phandle = <201>; |
| 38 | linux,boot-cpu; |
| 39 | }; |
| 40 | }; |
| 41 | |
| 42 | memory { |
| 43 | device_type = "memory"; |
| 44 | linux,phandle = <300>; |
| 45 | reg = <00000000 10000000>; // 256M at 0x0 |
| 46 | }; |
| 47 | |
| 48 | soc8641@f8000000 { |
| 49 | #address-cells = <1>; |
| 50 | #size-cells = <1>; |
| 51 | #interrupt-cells = <2>; |
| 52 | device_type = "soc"; |
| 53 | ranges = <0 f8000000 00100000>; |
| 54 | reg = <f8000000 00100000>; // CCSRBAR 1M |
| 55 | bus-frequency = <0>; |
| 56 | |
| 57 | i2c@3000 { |
| 58 | device_type = "i2c"; |
| 59 | compatible = "fsl-i2c"; |
| 60 | reg = <3000 100>; |
| 61 | interrupts = <1b 0>; |
| 62 | interrupt-parent = <40000>; |
| 63 | dfsrr; |
| 64 | }; |
| 65 | |
| 66 | mdio@24520 { |
| 67 | #address-cells = <1>; |
| 68 | #size-cells = <0>; |
| 69 | device_type = "mdio"; |
| 70 | compatible = "gianfar"; |
| 71 | reg = <24520 20>; |
| 72 | linux,phandle = <24520>; |
| 73 | ethernet-phy@0 { |
| 74 | linux,phandle = <2452000>; |
| 75 | interrupt-parent = <40000>; |
| 76 | interrupts = <35 0>; |
| 77 | reg = <0>; |
| 78 | device_type = "ethernet-phy"; |
| 79 | }; |
| 80 | ethernet-phy@1 { |
| 81 | linux,phandle = <2452001>; |
| 82 | interrupt-parent = <40000>; |
| 83 | interrupts = <35 0>; |
| 84 | reg = <1>; |
| 85 | device_type = "ethernet-phy"; |
| 86 | }; |
| 87 | ethernet-phy@2 { |
| 88 | linux,phandle = <2452002>; |
| 89 | interrupt-parent = <40000>; |
| 90 | interrupts = <35 0>; |
| 91 | reg = <2>; |
| 92 | device_type = "ethernet-phy"; |
| 93 | }; |
| 94 | ethernet-phy@3 { |
| 95 | linux,phandle = <2452003>; |
| 96 | interrupt-parent = <40000>; |
| 97 | interrupts = <35 0>; |
| 98 | reg = <3>; |
| 99 | device_type = "ethernet-phy"; |
| 100 | }; |
| 101 | }; |
| 102 | |
| 103 | ethernet@24000 { |
| 104 | #address-cells = <1>; |
| 105 | #size-cells = <0>; |
| 106 | device_type = "network"; |
| 107 | model = "TSEC"; |
| 108 | compatible = "gianfar"; |
| 109 | reg = <24000 1000>; |
| 110 | address = [ 00 E0 0C 00 73 00 ]; |
| 111 | interrupts = <d 3 e 3 12 3>; |
| 112 | interrupt-parent = <40000>; |
| 113 | phy-handle = <2452000>; |
| 114 | }; |
| 115 | |
| 116 | ethernet@25000 { |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <0>; |
| 119 | device_type = "network"; |
| 120 | model = "TSEC"; |
| 121 | compatible = "gianfar"; |
| 122 | reg = <25000 1000>; |
| 123 | address = [ 00 E0 0C 00 73 01 ]; |
| 124 | interrupts = <13 3 14 3 18 3>; |
| 125 | interrupt-parent = <40000>; |
| 126 | phy-handle = <2452001>; |
| 127 | }; |
| 128 | |
| 129 | ethernet@26000 { |
| 130 | #address-cells = <1>; |
| 131 | #size-cells = <0>; |
| 132 | device_type = "network"; |
| 133 | model = "TSEC"; |
| 134 | compatible = "gianfar"; |
| 135 | reg = <26000 1000>; |
| 136 | address = [ 00 E0 0C 00 02 FD ]; |
| 137 | interrupts = <F 3 10 3 11 3>; |
| 138 | interrupt-parent = <40000>; |
| 139 | phy-handle = <2452002>; |
| 140 | }; |
| 141 | |
| 142 | ethernet@27000 { |
| 143 | #address-cells = <1>; |
| 144 | #size-cells = <0>; |
| 145 | device_type = "network"; |
| 146 | model = "TSEC"; |
| 147 | compatible = "gianfar"; |
| 148 | reg = <27000 1000>; |
| 149 | address = [ 00 E0 0C 00 03 FD ]; |
| 150 | interrupts = <15 3 16 3 17 3>; |
| 151 | interrupt-parent = <40000>; |
| 152 | phy-handle = <2452003>; |
| 153 | }; |
| 154 | serial@4500 { |
| 155 | device_type = "serial"; |
| 156 | compatible = "ns16550"; |
| 157 | reg = <4500 100>; // reg base, size |
| 158 | clock-frequency = <0>; // should we fill in in uboot? |
| 159 | interrupts = <1a 3>; |
| 160 | interrupt-parent = <40000>; |
| 161 | }; |
| 162 | |
| 163 | serial@4600 { |
| 164 | device_type = "serial"; |
| 165 | compatible = "ns16550"; |
| 166 | reg = <4600 100>; // reg base, size |
| 167 | clock-frequency = <0>; // should we fill in in uboot? |
| 168 | interrupts = <1a 3>; |
| 169 | interrupt-parent = <40000>; |
| 170 | }; |
| 171 | |
| 172 | pic@40000 { |
| 173 | linux,phandle = <40000>; |
| 174 | clock-frequency = <0>; |
| 175 | interrupt-controller; |
| 176 | #address-cells = <0>; |
| 177 | #interrupt-cells = <2>; |
| 178 | reg = <40000 40000>; |
| 179 | built-in; |
| 180 | compatible = "chrp,open-pic"; |
| 181 | device_type = "open-pic"; |
| 182 | big-endian; |
| 183 | }; |
| 184 | }; |
| 185 | }; |
| 186 | |