1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * MPC885 ADS Device Tree Source 3 * MPC885 ADS Device Tree Source 4 * 4 * 5 * Copyright 2006 MontaVista Software, Inc. 5 * Copyright 2006 MontaVista Software, Inc. 6 * Copyright 2007,2008 Freescale Semiconductor 6 * Copyright 2007,2008 Freescale Semiconductor, Inc. 7 */ 7 */ 8 8 9 /dts-v1/; 9 /dts-v1/; 10 10 11 / { 11 / { 12 model = "MPC885ADS"; 12 model = "MPC885ADS"; 13 compatible = "fsl,mpc885ads"; 13 compatible = "fsl,mpc885ads"; 14 #address-cells = <1>; 14 #address-cells = <1>; 15 #size-cells = <1>; 15 #size-cells = <1>; 16 16 17 cpus { 17 cpus { 18 #address-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 19 #size-cells = <0>; 20 20 21 PowerPC,885@0 { 21 PowerPC,885@0 { 22 device_type = "cpu"; 22 device_type = "cpu"; 23 reg = <0x0>; 23 reg = <0x0>; 24 d-cache-line-size = <1 24 d-cache-line-size = <16>; 25 i-cache-line-size = <1 25 i-cache-line-size = <16>; 26 d-cache-size = <8192>; 26 d-cache-size = <8192>; 27 i-cache-size = <8192>; 27 i-cache-size = <8192>; 28 timebase-frequency = < 28 timebase-frequency = <0>; 29 bus-frequency = <0>; 29 bus-frequency = <0>; 30 clock-frequency = <0>; 30 clock-frequency = <0>; 31 interrupts = <15 2>; 31 interrupts = <15 2>; // decrementer interrupt 32 interrupt-parent = <&P 32 interrupt-parent = <&PIC>; 33 }; 33 }; 34 }; 34 }; 35 35 36 memory { 36 memory { 37 device_type = "memory"; 37 device_type = "memory"; 38 reg = <0x0 0x0>; 38 reg = <0x0 0x0>; 39 }; 39 }; 40 40 41 localbus@ff000100 { 41 localbus@ff000100 { 42 compatible = "fsl,mpc885-local 42 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus"; 43 #address-cells = <2>; 43 #address-cells = <2>; 44 #size-cells = <1>; 44 #size-cells = <1>; 45 reg = <0xff000100 0x40>; 45 reg = <0xff000100 0x40>; 46 46 47 ranges = < 47 ranges = < 48 0x0 0x0 0xfe000000 0x8 48 0x0 0x0 0xfe000000 0x800000 49 0x1 0x0 0xff080000 0x8 49 0x1 0x0 0xff080000 0x8000 50 0x5 0x0 0xff0a0000 0x8 50 0x5 0x0 0xff0a0000 0x8000 51 >; 51 >; 52 52 53 flash@0,0 { 53 flash@0,0 { 54 compatible = "jedec-fl 54 compatible = "jedec-flash"; 55 reg = <0x0 0x0 0x80000 55 reg = <0x0 0x0 0x800000>; 56 bank-width = <4>; 56 bank-width = <4>; 57 device-width = <1>; 57 device-width = <1>; 58 }; 58 }; 59 59 60 board-control@1,0 { 60 board-control@1,0 { 61 reg = <0x1 0x0 0x20 0x 61 reg = <0x1 0x0 0x20 0x5 0x300 0x4>; 62 compatible = "fsl,mpc8 62 compatible = "fsl,mpc885ads-bcsr"; 63 }; 63 }; 64 }; 64 }; 65 65 66 soc@ff000000 { 66 soc@ff000000 { 67 compatible = "fsl,mpc885", "fs 67 compatible = "fsl,mpc885", "fsl,pq1-soc"; 68 #address-cells = <1>; 68 #address-cells = <1>; 69 #size-cells = <1>; 69 #size-cells = <1>; 70 device_type = "soc"; 70 device_type = "soc"; 71 ranges = <0x0 0xff000000 0x280 71 ranges = <0x0 0xff000000 0x28000>; 72 bus-frequency = <0>; 72 bus-frequency = <0>; 73 73 74 // Temporary -- will go away o 74 // Temporary -- will go away once kernel uses ranges for get_immrbase(). 75 reg = <0xff000000 0x4000>; 75 reg = <0xff000000 0x4000>; 76 76 77 mdio@e00 { 77 mdio@e00 { 78 compatible = "fsl,mpc8 78 compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio"; 79 reg = <0xe00 0x188>; 79 reg = <0xe00 0x188>; 80 #address-cells = <1>; 80 #address-cells = <1>; 81 #size-cells = <0>; 81 #size-cells = <0>; 82 82 83 PHY0: ethernet-phy@0 { 83 PHY0: ethernet-phy@0 { 84 reg = <0x0>; 84 reg = <0x0>; 85 }; 85 }; 86 86 87 PHY1: ethernet-phy@1 { 87 PHY1: ethernet-phy@1 { 88 reg = <0x1>; 88 reg = <0x1>; 89 }; 89 }; 90 90 91 PHY2: ethernet-phy@2 { 91 PHY2: ethernet-phy@2 { 92 reg = <0x2>; 92 reg = <0x2>; 93 }; 93 }; 94 }; 94 }; 95 95 96 ethernet@e00 { 96 ethernet@e00 { 97 device_type = "network 97 device_type = "network"; 98 compatible = "fsl,mpc8 98 compatible = "fsl,mpc885-fec-enet", 99 "fsl,pq1- 99 "fsl,pq1-fec-enet"; 100 reg = <0xe00 0x188>; 100 reg = <0xe00 0x188>; 101 local-mac-address = [ 101 local-mac-address = [ 00 00 00 00 00 00 ]; 102 interrupts = <3 1>; 102 interrupts = <3 1>; 103 interrupt-parent = <&P 103 interrupt-parent = <&PIC>; 104 phy-handle = <&PHY0>; 104 phy-handle = <&PHY0>; 105 linux,network-index = 105 linux,network-index = <0>; 106 }; 106 }; 107 107 108 ethernet@1e00 { 108 ethernet@1e00 { 109 device_type = "network 109 device_type = "network"; 110 compatible = "fsl,mpc8 110 compatible = "fsl,mpc885-fec-enet", 111 "fsl,pq1- 111 "fsl,pq1-fec-enet"; 112 reg = <0x1e00 0x188>; 112 reg = <0x1e00 0x188>; 113 local-mac-address = [ 113 local-mac-address = [ 00 00 00 00 00 00 ]; 114 interrupts = <7 1>; 114 interrupts = <7 1>; 115 interrupt-parent = <&P 115 interrupt-parent = <&PIC>; 116 phy-handle = <&PHY1>; 116 phy-handle = <&PHY1>; 117 linux,network-index = 117 linux,network-index = <1>; 118 }; 118 }; 119 119 120 PIC: interrupt-controller@0 { 120 PIC: interrupt-controller@0 { 121 interrupt-controller; 121 interrupt-controller; 122 #interrupt-cells = <2> 122 #interrupt-cells = <2>; 123 reg = <0x0 0x24>; 123 reg = <0x0 0x24>; 124 compatible = "fsl,mpc8 124 compatible = "fsl,mpc885-pic", "fsl,pq1-pic"; 125 }; 125 }; 126 126 127 pcmcia@80 { 127 pcmcia@80 { 128 #address-cells = <3>; 128 #address-cells = <3>; 129 #interrupt-cells = <1> 129 #interrupt-cells = <1>; 130 #size-cells = <2>; 130 #size-cells = <2>; 131 compatible = "fsl,pq-p 131 compatible = "fsl,pq-pcmcia"; 132 device_type = "pcmcia" 132 device_type = "pcmcia"; 133 reg = <0x80 0x80>; 133 reg = <0x80 0x80>; 134 interrupt-parent = <&P 134 interrupt-parent = <&PIC>; 135 interrupts = <13 1>; 135 interrupts = <13 1>; 136 }; 136 }; 137 137 138 cpm@9c0 { 138 cpm@9c0 { 139 #address-cells = <1>; 139 #address-cells = <1>; 140 #size-cells = <1>; 140 #size-cells = <1>; 141 compatible = "fsl,mpc8 141 compatible = "fsl,mpc885-cpm", "fsl,cpm1"; 142 command-proc = <0x9c0> 142 command-proc = <0x9c0>; 143 interrupts = <0>; 143 interrupts = <0>; // cpm error interrupt 144 interrupt-parent = <&C 144 interrupt-parent = <&CPM_PIC>; 145 reg = <0x9c0 0x40>; 145 reg = <0x9c0 0x40>; 146 ranges; 146 ranges; 147 147 148 muram@2000 { 148 muram@2000 { 149 #address-cells 149 #address-cells = <1>; 150 #size-cells = 150 #size-cells = <1>; 151 ranges = <0x0 151 ranges = <0x0 0x2000 0x2000>; 152 152 153 data@0 { 153 data@0 { 154 compat 154 compatible = "fsl,cpm-muram-data"; 155 reg = 155 reg = <0x0 0x1c00>; 156 }; 156 }; 157 }; 157 }; 158 158 159 brg@9f0 { 159 brg@9f0 { 160 compatible = " 160 compatible = "fsl,mpc885-brg", 161 " 161 "fsl,cpm1-brg", 162 " 162 "fsl,cpm-brg"; 163 clock-frequenc 163 clock-frequency = <0>; 164 reg = <0x9f0 0 164 reg = <0x9f0 0x10>; 165 }; 165 }; 166 166 167 CPM_PIC: interrupt-con 167 CPM_PIC: interrupt-controller@930 { 168 interrupt-cont 168 interrupt-controller; 169 #interrupt-cel 169 #interrupt-cells = <1>; 170 interrupts = < 170 interrupts = <5 2 0 2>; 171 interrupt-pare 171 interrupt-parent = <&PIC>; 172 reg = <0x930 0 172 reg = <0x930 0x20>; 173 compatible = " 173 compatible = "fsl,mpc885-cpm-pic", 174 " 174 "fsl,cpm1-pic"; 175 }; 175 }; 176 176 177 serial@a80 { 177 serial@a80 { 178 device_type = 178 device_type = "serial"; 179 compatible = " 179 compatible = "fsl,mpc885-smc-uart", 180 " 180 "fsl,cpm1-smc-uart"; 181 reg = <0xa80 0 181 reg = <0xa80 0x10 0x3e80 0x40>; 182 interrupts = < 182 interrupts = <4>; 183 interrupt-pare 183 interrupt-parent = <&CPM_PIC>; 184 fsl,cpm-brg = 184 fsl,cpm-brg = <1>; 185 fsl,cpm-comman 185 fsl,cpm-command = <0x90>; 186 }; 186 }; 187 187 188 serial@a90 { 188 serial@a90 { 189 device_type = 189 device_type = "serial"; 190 compatible = " 190 compatible = "fsl,mpc885-smc-uart", 191 " 191 "fsl,cpm1-smc-uart"; 192 reg = <0xa90 0 192 reg = <0xa90 0x10 0x3f80 0x40>; 193 interrupts = < 193 interrupts = <3>; 194 interrupt-pare 194 interrupt-parent = <&CPM_PIC>; 195 fsl,cpm-brg = 195 fsl,cpm-brg = <2>; 196 fsl,cpm-comman 196 fsl,cpm-command = <0xd0>; 197 }; 197 }; 198 198 199 ethernet@a40 { 199 ethernet@a40 { 200 device_type = 200 device_type = "network"; 201 compatible = " 201 compatible = "fsl,mpc885-scc-enet", 202 " 202 "fsl,cpm1-scc-enet"; 203 reg = <0xa40 0 203 reg = <0xa40 0x18 0x3e00 0x100>; 204 local-mac-addr 204 local-mac-address = [ 00 00 00 00 00 00 ]; 205 interrupts = < 205 interrupts = <28>; 206 interrupt-pare 206 interrupt-parent = <&CPM_PIC>; 207 phy-handle = < 207 phy-handle = <&PHY2>; 208 fsl,cpm-comman 208 fsl,cpm-command = <0x80>; 209 linux,network- 209 linux,network-index = <2>; 210 }; 210 }; 211 211 212 i2c@860 { 212 i2c@860 { 213 compatible = " 213 compatible = "fsl,mpc885-i2c", 214 " 214 "fsl,cpm1-i2c"; 215 reg = <0x860 0 215 reg = <0x860 0x20 0x3c80 0x30>; 216 interrupts = < 216 interrupts = <16>; 217 interrupt-pare 217 interrupt-parent = <&CPM_PIC>; 218 fsl,cpm-comman 218 fsl,cpm-command = <0x10>; 219 #address-cells 219 #address-cells = <1>; 220 #size-cells = 220 #size-cells = <0>; 221 }; 221 }; 222 }; 222 }; 223 223 224 crypto@20000 { 224 crypto@20000 { 225 compatible = "fsl,sec1 225 compatible = "fsl,sec1.2", "fsl,sec1.0"; 226 reg = <0x20000 0x8000> 226 reg = <0x20000 0x8000>; 227 interrupts = <1 1>; 227 interrupts = <1 1>; 228 interrupt-parent = <&P 228 interrupt-parent = <&PIC>; 229 fsl,num-channels = <1> 229 fsl,num-channels = <1>; 230 fsl,channel-fifo-len = 230 fsl,channel-fifo-len = <24>; 231 fsl,exec-units-mask = 231 fsl,exec-units-mask = <0x4c>; 232 fsl,descriptor-types-m 232 fsl,descriptor-types-mask = <0x05000154>; 233 }; 233 }; 234 }; 234 }; 235 235 236 chosen { 236 chosen { 237 stdout-path = "/soc/cpm/serial 237 stdout-path = "/soc/cpm/serial@a80"; 238 }; 238 }; 239 }; 239 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.