Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 1 | /* |
| 2 | * MPC866 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 = "MPC866ADS"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 15 | compatible = "fsl,mpc866ads"; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 18 | |
| 19 | cpus { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 20 | #address-cells = <1>; |
| 21 | #size-cells = <0>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 22 | |
| 23 | PowerPC,866@0 { |
| 24 | device_type = "cpu"; |
| 25 | reg = <0>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 26 | d-cache-line-size = <10>; // 16 bytes |
| 27 | i-cache-line-size = <10>; // 16 bytes |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 28 | d-cache-size = <2000>; // L1, 8K |
| 29 | i-cache-size = <4000>; // L1, 16K |
| 30 | timebase-frequency = <0>; |
| 31 | bus-frequency = <0>; |
| 32 | clock-frequency = <0>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 33 | interrupts = <f 2>; // decrementer interrupt |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 34 | interrupt-parent = <&PIC>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 35 | }; |
| 36 | }; |
| 37 | |
| 38 | memory { |
| 39 | device_type = "memory"; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 40 | reg = <00000000 800000>; |
| 41 | }; |
| 42 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 43 | localbus@ff000100 { |
| 44 | compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus"; |
| 45 | #address-cells = <2>; |
| 46 | #size-cells = <1>; |
| 47 | reg = <ff000100 40>; |
| 48 | |
| 49 | ranges = < |
| 50 | 1 0 ff080000 00008000 |
| 51 | 5 0 ff0a0000 00008000 |
| 52 | >; |
| 53 | |
| 54 | board-control@1,0 { |
| 55 | reg = <1 0 20 5 300 4>; |
| 56 | compatible = "fsl,mpc866ads-bcsr"; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | soc@ff000000 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 61 | #address-cells = <1>; |
| 62 | #size-cells = <1>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 63 | device_type = "soc"; |
| 64 | ranges = <0 ff000000 00100000>; |
| 65 | reg = <ff000000 00000200>; |
| 66 | bus-frequency = <0>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 67 | |
| 68 | mdio@e00 { |
| 69 | compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio"; |
| 70 | reg = <e00 188>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 71 | #address-cells = <1>; |
| 72 | #size-cells = <0>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 73 | PHY: ethernet-phy@f { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 74 | reg = <f>; |
| 75 | device_type = "ethernet-phy"; |
| 76 | }; |
| 77 | }; |
| 78 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 79 | ethernet@e00 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 80 | device_type = "network"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 81 | compatible = "fsl,mpc866-fec-enet", |
| 82 | "fsl,pq1-fec-enet"; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 83 | reg = <e00 188>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 84 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 85 | interrupts = <3 1>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 86 | interrupt-parent = <&PIC>; |
| 87 | phy-handle = <&PHY>; |
| 88 | linux,network-index = <0>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 89 | }; |
| 90 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 91 | PIC: pic@0 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 92 | interrupt-controller; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 93 | #interrupt-cells = <2>; |
| 94 | reg = <0 24>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 95 | compatible = "fsl,mpc866-pic", "fsl,pq1-pic"; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 96 | }; |
| 97 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 98 | cpm@9c0 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 99 | #address-cells = <1>; |
| 100 | #size-cells = <1>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 101 | compatible = "fsl,mpc866-cpm", "fsl,cpm1"; |
| 102 | ranges; |
| 103 | reg = <9c0 40>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 104 | brg-frequency = <0>; |
| 105 | interrupts = <0 2>; // cpm error interrupt |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 106 | interrupt-parent = <&CPM_PIC>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 107 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 108 | muram@2000 { |
| 109 | #address-cells = <1>; |
| 110 | #size-cells = <1>; |
| 111 | ranges = <0 2000 2000>; |
| 112 | |
| 113 | data@0 { |
| 114 | compatible = "fsl,cpm-muram-data"; |
| 115 | reg = <0 1c00>; |
| 116 | }; |
| 117 | }; |
| 118 | |
| 119 | brg@9f0 { |
| 120 | compatible = "fsl,mpc866-brg", |
| 121 | "fsl,cpm1-brg", |
| 122 | "fsl,cpm-brg"; |
| 123 | reg = <9f0 10>; |
| 124 | clock-frequency = <0>; |
| 125 | }; |
| 126 | |
| 127 | CPM_PIC: pic@930 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 128 | interrupt-controller; |
| 129 | #address-cells = <0>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 130 | #interrupt-cells = <1>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 131 | interrupts = <5 2 0 2>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 132 | interrupt-parent = <&PIC>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 133 | reg = <930 20>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 134 | compatible = "fsl,mpc866-cpm-pic", |
| 135 | "fsl,cpm1-pic"; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 136 | }; |
| 137 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 138 | |
| 139 | serial@a80 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 140 | device_type = "serial"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 141 | compatible = "fsl,mpc866-smc-uart", |
| 142 | "fsl,cpm1-smc-uart"; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 143 | reg = <a80 10 3e80 40>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 144 | interrupts = <4>; |
| 145 | interrupt-parent = <&CPM_PIC>; |
| 146 | fsl,cpm-brg = <1>; |
| 147 | fsl,cpm-command = <0090>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 148 | }; |
| 149 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 150 | serial@a90 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 151 | device_type = "serial"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 152 | compatible = "fsl,mpc866-smc-uart", |
| 153 | "fsl,cpm1-smc-uart"; |
| 154 | reg = <a90 10 3f80 40>; |
| 155 | interrupts = <3>; |
| 156 | interrupt-parent = <&CPM_PIC>; |
| 157 | fsl,cpm-brg = <2>; |
| 158 | fsl,cpm-command = <00d0>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 159 | }; |
| 160 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 161 | ethernet@a00 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 162 | device_type = "network"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 163 | compatible = "fsl,mpc866-scc-enet", |
| 164 | "fsl,cpm1-scc-enet"; |
| 165 | reg = <a00 18 3c00 100>; |
| 166 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 167 | interrupts = <1e>; |
| 168 | interrupt-parent = <&CPM_PIC>; |
| 169 | fsl,cpm-command = <0000>; |
| 170 | linux,network-index = <1>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 171 | }; |
| 172 | }; |
| 173 | }; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 174 | |
| 175 | chosen { |
| 176 | linux,stdout-path = "/soc/cpm/serial@a80"; |
| 177 | }; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 178 | }; |