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. |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 5 | * Copyright 2008 Freescale Semiconductor, Inc. |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 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 | |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 13 | /dts-v1/; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "MPC866ADS"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 17 | compatible = "fsl,mpc866ads"; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 20 | |
| 21 | cpus { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 24 | |
| 25 | PowerPC,866@0 { |
| 26 | device_type = "cpu"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 27 | reg = <0x0>; |
| 28 | d-cache-line-size = <16>; // 16 bytes |
| 29 | i-cache-line-size = <16>; // 16 bytes |
| 30 | d-cache-size = <0x2000>; // L1, 8K |
| 31 | i-cache-size = <0x4000>; // L1, 16K |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 32 | timebase-frequency = <0>; |
| 33 | bus-frequency = <0>; |
| 34 | clock-frequency = <0>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 35 | interrupts = <15 2>; // decrementer interrupt |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 36 | interrupt-parent = <&PIC>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 37 | }; |
| 38 | }; |
| 39 | |
| 40 | memory { |
| 41 | device_type = "memory"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 42 | reg = <0x0 0x800000>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 43 | }; |
| 44 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 45 | localbus@ff000100 { |
| 46 | compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus"; |
| 47 | #address-cells = <2>; |
| 48 | #size-cells = <1>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 49 | reg = <0xff000100 0x40>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 50 | |
| 51 | ranges = < |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 52 | 0x1 0x0 0xff080000 0x8000 |
| 53 | 0x5 0x0 0xff0a0000 0x8000 |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 54 | >; |
| 55 | |
| 56 | board-control@1,0 { |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 57 | reg = <0x1 0x0 0x20 0x5 0x300 0x4>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 58 | compatible = "fsl,mpc866ads-bcsr"; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | soc@ff000000 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 63 | #address-cells = <1>; |
| 64 | #size-cells = <1>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 65 | device_type = "soc"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 66 | ranges = <0x0 0xff000000 0x100000>; |
| 67 | reg = <0xff000000 0x200>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 68 | bus-frequency = <0>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 69 | |
| 70 | mdio@e00 { |
| 71 | compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 72 | reg = <0xe00 0x188>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 73 | #address-cells = <1>; |
| 74 | #size-cells = <0>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 75 | PHY: ethernet-phy@f { |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 76 | reg = <0xf>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 77 | }; |
| 78 | }; |
| 79 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 80 | ethernet@e00 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 81 | device_type = "network"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 82 | compatible = "fsl,mpc866-fec-enet", |
| 83 | "fsl,pq1-fec-enet"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 84 | reg = <0xe00 0x188>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 85 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 86 | interrupts = <3 1>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 87 | interrupt-parent = <&PIC>; |
| 88 | phy-handle = <&PHY>; |
| 89 | linux,network-index = <0>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 90 | }; |
| 91 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 92 | PIC: pic@0 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 93 | interrupt-controller; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 94 | #interrupt-cells = <2>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 95 | reg = <0x0 0x24>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 96 | compatible = "fsl,mpc866-pic", "fsl,pq1-pic"; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 97 | }; |
| 98 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 99 | cpm@9c0 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 100 | #address-cells = <1>; |
| 101 | #size-cells = <1>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 102 | compatible = "fsl,mpc866-cpm", "fsl,cpm1"; |
| 103 | ranges; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 104 | reg = <0x9c0 0x40>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 105 | brg-frequency = <0>; |
| 106 | interrupts = <0 2>; // cpm error interrupt |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 107 | interrupt-parent = <&CPM_PIC>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 108 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 109 | muram@2000 { |
| 110 | #address-cells = <1>; |
| 111 | #size-cells = <1>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 112 | ranges = <0x0 0x2000 0x2000>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 113 | |
| 114 | data@0 { |
| 115 | compatible = "fsl,cpm-muram-data"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 116 | reg = <0x0 0x1c00>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 117 | }; |
| 118 | }; |
| 119 | |
| 120 | brg@9f0 { |
| 121 | compatible = "fsl,mpc866-brg", |
| 122 | "fsl,cpm1-brg", |
| 123 | "fsl,cpm-brg"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 124 | reg = <0x9f0 0x10>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 125 | clock-frequency = <0>; |
| 126 | }; |
| 127 | |
| 128 | CPM_PIC: pic@930 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 129 | interrupt-controller; |
| 130 | #address-cells = <0>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 131 | #interrupt-cells = <1>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 132 | interrupts = <5 2 0 2>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 133 | interrupt-parent = <&PIC>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 134 | reg = <0x930 0x20>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 135 | compatible = "fsl,mpc866-cpm-pic", |
| 136 | "fsl,cpm1-pic"; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 137 | }; |
| 138 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 139 | |
| 140 | serial@a80 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 141 | device_type = "serial"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 142 | compatible = "fsl,mpc866-smc-uart", |
| 143 | "fsl,cpm1-smc-uart"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 144 | reg = <0xa80 0x10 0x3e80 0x40>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 145 | interrupts = <4>; |
| 146 | interrupt-parent = <&CPM_PIC>; |
| 147 | fsl,cpm-brg = <1>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 148 | fsl,cpm-command = <0x90>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 149 | }; |
| 150 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 151 | serial@a90 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 152 | device_type = "serial"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 153 | compatible = "fsl,mpc866-smc-uart", |
| 154 | "fsl,cpm1-smc-uart"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 155 | reg = <0xa90 0x10 0x3f80 0x40>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 156 | interrupts = <3>; |
| 157 | interrupt-parent = <&CPM_PIC>; |
| 158 | fsl,cpm-brg = <2>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 159 | fsl,cpm-command = <0xd0>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 160 | }; |
| 161 | |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 162 | ethernet@a00 { |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 163 | device_type = "network"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 164 | compatible = "fsl,mpc866-scc-enet", |
| 165 | "fsl,cpm1-scc-enet"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 166 | reg = <0xa00 0x18 0x3c00 0x100>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 167 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 168 | interrupts = <30>; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 169 | interrupt-parent = <&CPM_PIC>; |
| 170 | fsl,cpm-command = <0000>; |
| 171 | linux,network-index = <1>; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 172 | }; |
Jochen Friedrich | a5d28c8 | 2008-07-02 18:06:13 +0200 | [diff] [blame] | 173 | |
| 174 | i2c@860 { |
| 175 | compatible = "fsl,mpc866-i2c", |
| 176 | "fsl,cpm1-i2c"; |
| 177 | reg = <0x860 0x20 0x3c80 0x30>; |
| 178 | interrupts = <16>; |
| 179 | interrupt-parent = <&CPM_PIC>; |
| 180 | fsl,cpm-command = <0x10>; |
| 181 | #address-cells = <1>; |
| 182 | #size-cells = <0>; |
| 183 | }; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 184 | }; |
| 185 | }; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 186 | |
| 187 | chosen { |
Rob Herring | 78e5dfe | 2018-02-28 16:44:06 -0600 | [diff] [blame] | 188 | stdout-path = "/soc/cpm/serial@a80"; |
Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 189 | }; |
Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 190 | }; |