1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Device Tree for the Embedded Planet EP8248E 3 * Device Tree for the Embedded Planet EP8248E board running PlanetCore. 4 * 4 * 5 * Copyright 2007 Freescale Semiconductor Inc. 5 * Copyright 2007 Freescale Semiconductor Inc. 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 / { 9 / { 10 model = "EP8248E"; 10 model = "EP8248E"; 11 compatible = "fsl,ep8248e"; 11 compatible = "fsl,ep8248e"; 12 #address-cells = <1>; 12 #address-cells = <1>; 13 #size-cells = <1>; 13 #size-cells = <1>; 14 14 15 aliases { 15 aliases { 16 planetcore-SMC1 = &smc1; 16 planetcore-SMC1 = &smc1; 17 planetcore-SCC1 = &scc1; 17 planetcore-SCC1 = &scc1; 18 ethernet0 = ð0; 18 ethernet0 = ð0; 19 ethernet1 = ð1; 19 ethernet1 = ð1; 20 serial0 = &smc1; 20 serial0 = &smc1; 21 serial1 = &scc1; 21 serial1 = &scc1; 22 }; 22 }; 23 23 24 cpus { 24 cpus { 25 #address-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <0>; 26 #size-cells = <0>; 27 27 28 PowerPC,8248@0 { 28 PowerPC,8248@0 { 29 device_type = "cpu"; 29 device_type = "cpu"; 30 reg = <0>; 30 reg = <0>; 31 d-cache-line-size = <3 31 d-cache-line-size = <32>; 32 i-cache-line-size = <3 32 i-cache-line-size = <32>; 33 d-cache-size = <16384> 33 d-cache-size = <16384>; 34 i-cache-size = <16384> 34 i-cache-size = <16384>; 35 timebase-frequency = < 35 timebase-frequency = <0>; 36 clock-frequency = <0>; 36 clock-frequency = <0>; 37 }; 37 }; 38 }; 38 }; 39 39 40 localbus@f0010100 { 40 localbus@f0010100 { 41 compatible = "fsl,mpc8248-loca 41 compatible = "fsl,mpc8248-localbus", 42 "fsl,pq2-localbus 42 "fsl,pq2-localbus", 43 "simple-bus"; 43 "simple-bus"; 44 #address-cells = <2>; 44 #address-cells = <2>; 45 #size-cells = <1>; 45 #size-cells = <1>; 46 reg = <0xf0010100 0x40>; 46 reg = <0xf0010100 0x40>; 47 47 48 ranges = <0 0 0xfc000000 0x040 48 ranges = <0 0 0xfc000000 0x04000000 49 1 0 0xfa000000 0x000 49 1 0 0xfa000000 0x00008000>; 50 50 51 flash@0,3800000 { 51 flash@0,3800000 { 52 compatible = "cfi-flas 52 compatible = "cfi-flash"; 53 reg = <0 0x3800000 0x8 53 reg = <0 0x3800000 0x800000>; 54 bank-width = <4>; 54 bank-width = <4>; 55 device-width = <2>; 55 device-width = <2>; 56 }; 56 }; 57 57 58 bcsr@1,0 { 58 bcsr@1,0 { 59 #address-cells = <2>; 59 #address-cells = <2>; 60 #size-cells = <1>; 60 #size-cells = <1>; 61 reg = <1 0 0x10>; 61 reg = <1 0 0x10>; 62 compatible = "fsl,ep82 62 compatible = "fsl,ep8248e-bcsr"; 63 ranges; 63 ranges; 64 64 65 mdio { 65 mdio { 66 compatible = " 66 compatible = "fsl,ep8248e-mdio-bitbang"; 67 #address-cells 67 #address-cells = <1>; 68 #size-cells = 68 #size-cells = <0>; 69 reg = <1 8 1>; 69 reg = <1 8 1>; 70 70 71 PHY0: ethernet 71 PHY0: ethernet-phy@0 { 72 interr 72 interrupt-parent = <&PIC>; 73 reg = 73 reg = <0>; 74 }; 74 }; 75 75 76 PHY1: ethernet 76 PHY1: ethernet-phy@1 { 77 interr 77 interrupt-parent = <&PIC>; 78 reg = 78 reg = <1>; 79 }; 79 }; 80 }; 80 }; 81 }; 81 }; 82 }; 82 }; 83 83 84 memory { 84 memory { 85 device_type = "memory"; 85 device_type = "memory"; 86 reg = <0 0>; 86 reg = <0 0>; 87 }; 87 }; 88 88 89 soc@f0000000 { 89 soc@f0000000 { 90 #address-cells = <1>; 90 #address-cells = <1>; 91 #size-cells = <1>; 91 #size-cells = <1>; 92 compatible = "fsl,mpc8248-immr 92 compatible = "fsl,mpc8248-immr", "fsl,pq2-soc", "simple-bus"; 93 ranges = <0x00000000 0xf000000 93 ranges = <0x00000000 0xf0000000 0x00053000>; 94 94 95 // Temporary until code stops 95 // Temporary until code stops depending on it. 96 device_type = "soc"; 96 device_type = "soc"; 97 97 98 // Temporary -- will go away o 98 // Temporary -- will go away once kernel uses ranges for get_immrbase(). 99 reg = <0xf0000000 0x00053000>; 99 reg = <0xf0000000 0x00053000>; 100 100 101 cpm@119c0 { 101 cpm@119c0 { 102 #address-cells = <1>; 102 #address-cells = <1>; 103 #size-cells = <1>; 103 #size-cells = <1>; 104 #interrupt-cells = <2> 104 #interrupt-cells = <2>; 105 compatible = "fsl,mpc8 105 compatible = "fsl,mpc8248-cpm", "fsl,cpm2", 106 "simple-b 106 "simple-bus"; 107 reg = <0x119c0 0x30>; 107 reg = <0x119c0 0x30>; 108 ranges; 108 ranges; 109 109 110 muram { 110 muram { 111 #address-cells 111 #address-cells = <1>; 112 #size-cells = 112 #size-cells = <1>; 113 ranges = <0 0 113 ranges = <0 0 0x10000>; 114 114 115 data@0 { 115 data@0 { 116 compat 116 compatible = "fsl,cpm-muram-data"; 117 reg = 117 reg = <0 0x2000 0x9800 0x800>; 118 }; 118 }; 119 }; 119 }; 120 120 121 brg@119f0 { 121 brg@119f0 { 122 compatible = " 122 compatible = "fsl,mpc8248-brg", 123 " 123 "fsl,cpm2-brg", 124 " 124 "fsl,cpm-brg"; 125 reg = <0x119f0 125 reg = <0x119f0 0x10 0x115f0 0x10>; 126 }; 126 }; 127 127 128 /* Monitor port/SMC1 * 128 /* Monitor port/SMC1 */ 129 smc1: serial@11a80 { 129 smc1: serial@11a80 { 130 device_type = 130 device_type = "serial"; 131 compatible = " 131 compatible = "fsl,mpc8248-smc-uart", 132 " 132 "fsl,cpm2-smc-uart"; 133 reg = <0x11a80 133 reg = <0x11a80 0x20 0x87fc 2>; 134 interrupts = < 134 interrupts = <4 8>; 135 interrupt-pare 135 interrupt-parent = <&PIC>; 136 fsl,cpm-brg = 136 fsl,cpm-brg = <7>; 137 fsl,cpm-comman 137 fsl,cpm-command = <0x1d000000>; 138 linux,planetco 138 linux,planetcore-label = "SMC1"; 139 }; 139 }; 140 140 141 /* "Serial" port/SCC1 141 /* "Serial" port/SCC1 */ 142 scc1: serial@11a00 { 142 scc1: serial@11a00 { 143 device_type = 143 device_type = "serial"; 144 compatible = " 144 compatible = "fsl,mpc8248-scc-uart", 145 " 145 "fsl,cpm2-scc-uart"; 146 reg = <0x11a00 146 reg = <0x11a00 0x20 0x8000 0x100>; 147 interrupts = < 147 interrupts = <40 8>; 148 interrupt-pare 148 interrupt-parent = <&PIC>; 149 fsl,cpm-brg = 149 fsl,cpm-brg = <1>; 150 fsl,cpm-comman 150 fsl,cpm-command = <0x00800000>; 151 linux,planetco 151 linux,planetcore-label = "SCC1"; 152 }; 152 }; 153 153 154 eth0: ethernet@11300 { 154 eth0: ethernet@11300 { 155 device_type = 155 device_type = "network"; 156 compatible = " 156 compatible = "fsl,mpc8248-fcc-enet", 157 " 157 "fsl,cpm2-fcc-enet"; 158 reg = <0x11300 158 reg = <0x11300 0x20 0x8400 0x100 0x11390 1>; 159 local-mac-addr 159 local-mac-address = [ 00 00 00 00 00 00 ]; 160 interrupts = < 160 interrupts = <32 8>; 161 interrupt-pare 161 interrupt-parent = <&PIC>; 162 phy-handle = < 162 phy-handle = <&PHY0>; 163 linux,network- 163 linux,network-index = <0>; 164 fsl,cpm-comman 164 fsl,cpm-command = <0x12000300>; 165 }; 165 }; 166 166 167 eth1: ethernet@11320 { 167 eth1: ethernet@11320 { 168 device_type = 168 device_type = "network"; 169 compatible = " 169 compatible = "fsl,mpc8248-fcc-enet", 170 " 170 "fsl,cpm2-fcc-enet"; 171 reg = <0x11320 171 reg = <0x11320 0x20 0x8500 0x100 0x113b0 1>; 172 local-mac-addr 172 local-mac-address = [ 00 00 00 00 00 00 ]; 173 interrupts = < 173 interrupts = <33 8>; 174 interrupt-pare 174 interrupt-parent = <&PIC>; 175 phy-handle = < 175 phy-handle = <&PHY1>; 176 linux,network- 176 linux,network-index = <1>; 177 fsl,cpm-comman 177 fsl,cpm-command = <0x16200300>; 178 }; 178 }; 179 179 180 usb@11b60 { 180 usb@11b60 { 181 #address-cells 181 #address-cells = <1>; 182 #size-cells = 182 #size-cells = <0>; 183 compatible = " 183 compatible = "fsl,mpc8248-usb", 184 " 184 "fsl,cpm2-usb"; 185 reg = <0x11b60 185 reg = <0x11b60 0x18 0x8b00 0x100>; 186 interrupt-pare 186 interrupt-parent = <&PIC>; 187 interrupts = < 187 interrupts = <11 8>; 188 fsl,cpm-comman 188 fsl,cpm-command = <0x2e600000>; 189 }; 189 }; 190 }; 190 }; 191 191 192 PIC: interrupt-controller@10c0 192 PIC: interrupt-controller@10c00 { 193 #interrupt-cells = <2> 193 #interrupt-cells = <2>; 194 interrupt-controller; 194 interrupt-controller; 195 reg = <0x10c00 0x80>; 195 reg = <0x10c00 0x80>; 196 compatible = "fsl,mpc8 196 compatible = "fsl,mpc8248-pic", "fsl,pq2-pic"; 197 }; 197 }; 198 }; 198 }; 199 }; 199 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.