Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/85xx: Rework P2020RDB device tree

Utilize new split between board & SoC, and new SoC device trees split
into pre & post utilizing 'template' includes for SoC IP blocks.

Other changes include:

* Moved to specifying interrupt-parent for mpic at root
* Moved to 4-cell mpic interrupt cells to support MPIC timers
* Reworked PCIe nodes to allow supportin IRQs for controller (errors) and
moved PCI device IRQs down to virtual bridge level
* Updated spi node to new espi binding specification
* Renamed 'sdhci' node to 'sdhc'
* Changed GPIO compatiable from 'fsl,mpc8572-gpio' to 'fsl,pq3-gpio' as the
'mpc8572' compatiable is to deal with a 'mpc8572' specific to an erratum
* Fixed wrong reg offsets for mdio nodes associated with etsec2 &
* etsec3
* Dropping "fsl,p2020-IP..." from compatibles for standard blocks

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

+22 -644
+18 -45
arch/powerpc/boot/dts/p2020rdb.dts
··· 9 9 * option) any later version. 10 10 */ 11 11 12 - /include/ "p2020si.dtsi" 12 + /include/ "fsl/p2020si-pre.dtsi" 13 13 14 14 / { 15 15 model = "fsl,P2020RDB"; ··· 29 29 device_type = "memory"; 30 30 }; 31 31 32 - localbus@ffe05000 { 32 + lbc: localbus@ffe05000 { 33 + reg = <0 0xffe05000 0 0x1000>; 33 34 34 35 /* NOR and NAND Flashes */ 35 36 ranges = <0x0 0x0 0x0 0xef000000 0x01000000 ··· 141 140 142 141 }; 143 142 144 - soc@ffe00000 { 143 + soc: soc@ffe00000 { 144 + ranges = <0x0 0x0 0xffe00000 0x100000>; 145 + 145 146 i2c@3000 { 146 147 rtc@68 { 147 148 compatible = "dallas,ds1339"; ··· 151 148 }; 152 149 }; 153 150 154 - spi@7000 { 155 - 156 - fsl_m25p80@0 { 151 + spi@7000 { 152 + flash@0 { 157 153 #address-cells = <1>; 158 154 #size-cells = <1>; 159 - compatible = "fsl,espi-flash"; 155 + compatible = "spansion,s25sl12801"; 160 156 reg = <0>; 161 - linux,modalias = "fsl_m25p80"; 162 - modal = "s25sl128b"; 163 157 spi-max-frequency = <50000000>; 164 - mode = <0>; 165 158 166 159 partition@0 { 167 160 /* 512KB for u-boot Bootloader Image */ ··· 201 202 202 203 mdio@24520 { 203 204 phy0: ethernet-phy@0 { 204 - interrupt-parent = <&mpic>; 205 - interrupts = <3 1>; 205 + interrupts = <3 1 0 0>; 206 206 reg = <0x0>; 207 207 }; 208 208 phy1: ethernet-phy@1 { 209 - interrupt-parent = <&mpic>; 210 - interrupts = <3 1>; 209 + interrupts = <3 1 0 0>; 211 210 reg = <0x1>; 212 211 }; 213 212 }; ··· 221 224 status = "disabled"; 222 225 }; 223 226 224 - ptp_clock@24E00 { 225 - compatible = "fsl,etsec-ptp"; 226 - reg = <0x24E00 0xB0>; 227 - interrupts = <68 2 69 2 70 2>; 228 - interrupt-parent = < &mpic >; 227 + ptp_clock@24e00 { 229 228 fsl,tclk-period = <5>; 230 229 fsl,tmr-prsc = <200>; 231 230 fsl,tmr-add = <0xCCCCCCCD>; ··· 245 252 phy-handle = <&phy1>; 246 253 phy-connection-type = "rgmii-id"; 247 254 }; 248 - 249 255 }; 250 256 251 257 pci0: pcie@ffe08000 { 258 + reg = <0 0xffe08000 0 0x1000>; 252 259 status = "disabled"; 253 260 }; 254 261 255 262 pci1: pcie@ffe09000 { 263 + reg = <0 0xffe09000 0 0x1000>; 256 264 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 257 265 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; 258 - interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 259 - interrupt-map = < 260 - /* IDSEL 0x0 */ 261 - 0000 0x0 0x0 0x1 &mpic 0x4 0x1 262 - 0000 0x0 0x0 0x2 &mpic 0x5 0x1 263 - 0000 0x0 0x0 0x3 &mpic 0x6 0x1 264 - 0000 0x0 0x0 0x4 &mpic 0x7 0x1 265 - >; 266 - pcie@0 { 267 - reg = <0x0 0x0 0x0 0x0 0x0>; 268 - #size-cells = <2>; 269 - #address-cells = <3>; 270 - device_type = "pci"; 266 + pcie@0 { 271 267 ranges = <0x2000000 0x0 0xa0000000 272 268 0x2000000 0x0 0xa0000000 273 269 0x0 0x20000000 ··· 268 286 }; 269 287 270 288 pci2: pcie@ffe0a000 { 289 + reg = <0 0xffe0a000 0 0x1000>; 271 290 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 272 291 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; 273 - interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 274 - interrupt-map = < 275 - /* IDSEL 0x0 */ 276 - 0000 0x0 0x0 0x1 &mpic 0x0 0x1 277 - 0000 0x0 0x0 0x2 &mpic 0x1 0x1 278 - 0000 0x0 0x0 0x3 &mpic 0x2 0x1 279 - 0000 0x0 0x0 0x4 &mpic 0x3 0x1 280 - >; 281 292 pcie@0 { 282 - reg = <0x0 0x0 0x0 0x0 0x0>; 283 - #size-cells = <2>; 284 - #address-cells = <3>; 285 - device_type = "pci"; 286 293 ranges = <0x2000000 0x0 0x80000000 287 294 0x2000000 0x0 0x80000000 288 295 0x0 0x20000000 ··· 282 311 }; 283 312 }; 284 313 }; 314 + 315 + /include/ "fsl/p2020si-post.dtsi"
+2 -139
arch/powerpc/boot/dts/p2020rdb_camp_core0.dts
··· 14 14 * option) any later version. 15 15 */ 16 16 17 - /include/ "p2020si.dtsi" 17 + /include/ "p2020rdb.dts" 18 18 19 19 / { 20 20 model = "fsl,P2020RDB"; 21 21 compatible = "fsl,P2020RDB", "fsl,MPC85XXRDB-CAMP"; 22 22 23 - aliases { 24 - ethernet1 = &enet1; 25 - ethernet2 = &enet2; 26 - serial0 = &serial0; 27 - pci0 = &pci0; 28 - }; 29 - 30 23 cpus { 31 24 PowerPC,P2020@1 { 32 - status = "disabled"; 25 + status = "disabled"; 33 26 }; 34 - 35 - }; 36 - 37 - memory { 38 - device_type = "memory"; 39 27 }; 40 28 41 29 localbus@ffe05000 { ··· 31 43 }; 32 44 33 45 soc@ffe00000 { 34 - i2c@3000 { 35 - rtc@68 { 36 - compatible = "dallas,ds1339"; 37 - reg = <0x68>; 38 - }; 39 - }; 40 - 41 46 serial1: serial@4600 { 42 47 status = "disabled"; 43 - }; 44 - 45 - spi@7000 { 46 - 47 - fsl_m25p80@0 { 48 - #address-cells = <1>; 49 - #size-cells = <1>; 50 - compatible = "fsl,espi-flash"; 51 - reg = <0>; 52 - linux,modalias = "fsl_m25p80"; 53 - modal = "s25sl128b"; 54 - spi-max-frequency = <50000000>; 55 - mode = <0>; 56 - 57 - partition@0 { 58 - /* 512KB for u-boot Bootloader Image */ 59 - reg = <0x0 0x00080000>; 60 - label = "SPI (RO) U-Boot Image"; 61 - read-only; 62 - }; 63 - 64 - partition@80000 { 65 - /* 512KB for DTB Image */ 66 - reg = <0x00080000 0x00080000>; 67 - label = "SPI (RO) DTB Image"; 68 - read-only; 69 - }; 70 - 71 - partition@100000 { 72 - /* 4MB for Linux Kernel Image */ 73 - reg = <0x00100000 0x00400000>; 74 - label = "SPI (RO) Linux Kernel Image"; 75 - read-only; 76 - }; 77 - 78 - partition@500000 { 79 - /* 4MB for Compressed RFS Image */ 80 - reg = <0x00500000 0x00400000>; 81 - label = "SPI (RO) Compressed RFS Image"; 82 - read-only; 83 - }; 84 - 85 - partition@900000 { 86 - /* 7MB for JFFS2 based RFS */ 87 - reg = <0x00900000 0x00700000>; 88 - label = "SPI (RW) JFFS2 RFS"; 89 - }; 90 - }; 91 48 }; 92 49 93 50 dma@c300 { 94 51 status = "disabled"; 95 52 }; 96 53 97 - usb@22000 { 98 - phy_type = "ulpi"; 99 - }; 100 - 101 - mdio@24520 { 102 - 103 - phy0: ethernet-phy@0 { 104 - interrupt-parent = <&mpic>; 105 - interrupts = <3 1>; 106 - reg = <0x0>; 107 - }; 108 - phy1: ethernet-phy@1 { 109 - interrupt-parent = <&mpic>; 110 - interrupts = <3 1>; 111 - reg = <0x1>; 112 - }; 113 - }; 114 - 115 - mdio@25520 { 116 - tbi0: tbi-phy@11 { 117 - reg = <0x11>; 118 - device_type = "tbi-phy"; 119 - }; 120 - }; 121 - 122 - mdio@26520 { 123 - status = "disabled"; 124 - }; 125 - 126 54 enet0: ethernet@24000 { 127 55 status = "disabled"; 128 56 }; 129 - 130 - enet1: ethernet@25000 { 131 - tbi-handle = <&tbi0>; 132 - phy-handle = <&phy0>; 133 - phy-connection-type = "sgmii"; 134 - 135 - }; 136 - 137 - enet2: ethernet@26000 { 138 - phy-handle = <&phy1>; 139 - phy-connection-type = "rgmii-id"; 140 - }; 141 - 142 57 143 58 mpic: pic@40000 { 144 59 protected-sources = < ··· 55 164 msi@41600 { 56 165 status = "disabled"; 57 166 }; 58 - 59 - 60 167 }; 61 168 62 169 pci0: pcie@ffe08000 { 63 170 status = "disabled"; 64 - }; 65 - 66 - pci1: pcie@ffe09000 { 67 - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 68 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; 69 - interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 70 - interrupt-map = < 71 - /* IDSEL 0x0 */ 72 - 0000 0x0 0x0 0x1 &mpic 0x4 0x1 73 - 0000 0x0 0x0 0x2 &mpic 0x5 0x1 74 - 0000 0x0 0x0 0x3 &mpic 0x6 0x1 75 - 0000 0x0 0x0 0x4 &mpic 0x7 0x1 76 - >; 77 - pcie@0 { 78 - reg = <0x0 0x0 0x0 0x0 0x0>; 79 - #size-cells = <2>; 80 - #address-cells = <3>; 81 - device_type = "pci"; 82 - ranges = <0x2000000 0x0 0xa0000000 83 - 0x2000000 0x0 0xa0000000 84 - 0x0 0x20000000 85 - 86 - 0x1000000 0x0 0x0 87 - 0x1000000 0x0 0x0 88 - 0x0 0x100000>; 89 - }; 90 171 }; 91 172 92 173 pci2: pcie@ffe0a000 {
+2 -105
arch/powerpc/boot/dts/p2020rdb_camp_core1.dts
··· 15 15 * option) any later version. 16 16 */ 17 17 18 - /include/ "p2020si.dtsi" 18 + /include/ "p2020rdb.dts" 19 19 20 20 / { 21 21 model = "fsl,P2020RDB"; 22 22 compatible = "fsl,P2020RDB", "fsl,MPC85XXRDB-CAMP"; 23 23 24 - aliases { 25 - ethernet0 = &enet0; 26 - serial0 = &serial1; 27 - pci1 = &pci1; 28 - }; 29 - 30 24 cpus { 31 25 PowerPC,P2020@0 { 32 - status = "disabled"; 26 + status = "disabled"; 33 27 }; 34 - }; 35 - 36 - memory { 37 - device_type = "memory"; 38 28 }; 39 29 40 30 localbus@ffe05000 { ··· 60 70 status = "disabled"; 61 71 }; 62 72 63 - dma@c300 { 64 - #address-cells = <1>; 65 - #size-cells = <1>; 66 - compatible = "fsl,eloplus-dma"; 67 - reg = <0xc300 0x4>; 68 - ranges = <0x0 0xc100 0x200>; 69 - cell-index = <1>; 70 - dma-channel@0 { 71 - compatible = "fsl,eloplus-dma-channel"; 72 - reg = <0x0 0x80>; 73 - cell-index = <0>; 74 - interrupt-parent = <&mpic>; 75 - interrupts = <76 2>; 76 - }; 77 - dma-channel@80 { 78 - compatible = "fsl,eloplus-dma-channel"; 79 - reg = <0x80 0x80>; 80 - cell-index = <1>; 81 - interrupt-parent = <&mpic>; 82 - interrupts = <77 2>; 83 - }; 84 - dma-channel@100 { 85 - compatible = "fsl,eloplus-dma-channel"; 86 - reg = <0x100 0x80>; 87 - cell-index = <2>; 88 - interrupt-parent = <&mpic>; 89 - interrupts = <78 2>; 90 - }; 91 - dma-channel@180 { 92 - compatible = "fsl,eloplus-dma-channel"; 93 - reg = <0x180 0x80>; 94 - cell-index = <3>; 95 - interrupt-parent = <&mpic>; 96 - interrupts = <79 2>; 97 - }; 98 - }; 99 - 100 73 gpio: gpio-controller@f000 { 101 74 status = "disabled"; 102 - }; 103 - 104 - L2: l2-cache-controller@20000 { 105 - compatible = "fsl,p2020-l2-cache-controller"; 106 - reg = <0x20000 0x1000>; 107 - cache-line-size = <32>; // 32 bytes 108 - cache-size = <0x80000>; // L2,512K 109 - interrupt-parent = <&mpic>; 110 75 }; 111 76 112 77 dma@21300 { ··· 82 137 83 138 mdio@26520 { 84 139 status = "disabled"; 85 - }; 86 - 87 - enet0: ethernet@24000 { 88 - fixed-link = <1 1 1000 0 0>; 89 - phy-connection-type = "rgmii-id"; 90 - 91 140 }; 92 141 93 142 enet1: ethernet@25000 { ··· 109 170 >; 110 171 }; 111 172 112 - msi@41600 { 113 - compatible = "fsl,p2020-msi", "fsl,mpic-msi"; 114 - reg = <0x41600 0x80>; 115 - msi-available-ranges = <0 0x100>; 116 - interrupts = < 117 - 0xe0 0 118 - 0xe1 0 119 - 0xe2 0 120 - 0xe3 0 121 - 0xe4 0 122 - 0xe5 0 123 - 0xe6 0 124 - 0xe7 0>; 125 - interrupt-parent = <&mpic>; 126 - }; 127 - 128 173 global-utilities@e0000 { //global utilities block 129 174 status = "disabled"; 130 175 }; ··· 121 198 122 199 pci1: pcie@ffe09000 { 123 200 status = "disabled"; 124 - }; 125 - 126 - pci2: pcie@ffe0a000 { 127 - ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 128 - 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; 129 - interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 130 - interrupt-map = < 131 - /* IDSEL 0x0 */ 132 - 0000 0x0 0x0 0x1 &mpic 0x0 0x1 133 - 0000 0x0 0x0 0x2 &mpic 0x1 0x1 134 - 0000 0x0 0x0 0x3 &mpic 0x2 0x1 135 - 0000 0x0 0x0 0x4 &mpic 0x3 0x1 136 - >; 137 - pcie@0 { 138 - reg = <0x0 0x0 0x0 0x0 0x0>; 139 - #size-cells = <2>; 140 - #address-cells = <3>; 141 - device_type = "pci"; 142 - ranges = <0x2000000 0x0 0x80000000 143 - 0x2000000 0x0 0x80000000 144 - 0x0 0x20000000 145 - 146 - 0x1000000 0x0 0x0 147 - 0x1000000 0x0 0x0 148 - 0x0 0x100000>; 149 - }; 150 201 }; 151 202 };
-355
arch/powerpc/boot/dts/p2020si.dtsi
··· 1 - /* 2 - * P2020 Device Tree Source 3 - * 4 - * Copyright 2011 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 - /dts-v1/; 13 - / { 14 - compatible = "fsl,P2020"; 15 - #address-cells = <2>; 16 - #size-cells = <2>; 17 - interrupt-parent = <&mpic>; 18 - 19 - cpus { 20 - #address-cells = <1>; 21 - #size-cells = <0>; 22 - 23 - PowerPC,P2020@0 { 24 - device_type = "cpu"; 25 - reg = <0x0>; 26 - next-level-cache = <&L2>; 27 - }; 28 - 29 - PowerPC,P2020@1 { 30 - device_type = "cpu"; 31 - reg = <0x1>; 32 - next-level-cache = <&L2>; 33 - }; 34 - }; 35 - 36 - localbus@ffe05000 { 37 - #address-cells = <2>; 38 - #size-cells = <1>; 39 - compatible = "fsl,p2020-elbc", "fsl,elbc", "simple-bus"; 40 - reg = <0 0xffe05000 0 0x1000>; 41 - interrupts = <19 2 0 0>; 42 - }; 43 - 44 - soc@ffe00000 { 45 - #address-cells = <1>; 46 - #size-cells = <1>; 47 - device_type = "soc"; 48 - compatible = "fsl,p2020-immr", "simple-bus"; 49 - ranges = <0x0 0x0 0xffe00000 0x100000>; 50 - bus-frequency = <0>; // Filled out by uboot. 51 - 52 - ecm-law@0 { 53 - compatible = "fsl,ecm-law"; 54 - reg = <0x0 0x1000>; 55 - fsl,num-laws = <12>; 56 - }; 57 - 58 - ecm@1000 { 59 - compatible = "fsl,p2020-ecm", "fsl,ecm"; 60 - reg = <0x1000 0x1000>; 61 - interrupts = <17 2 0 0>; 62 - }; 63 - 64 - memory-controller@2000 { 65 - compatible = "fsl,p2020-memory-controller"; 66 - reg = <0x2000 0x1000>; 67 - interrupts = <18 2 0 0>; 68 - }; 69 - 70 - i2c@3000 { 71 - #address-cells = <1>; 72 - #size-cells = <0>; 73 - cell-index = <0>; 74 - compatible = "fsl-i2c"; 75 - reg = <0x3000 0x100>; 76 - interrupts = <43 2 0 0>; 77 - dfsrr; 78 - }; 79 - 80 - i2c@3100 { 81 - #address-cells = <1>; 82 - #size-cells = <0>; 83 - cell-index = <1>; 84 - compatible = "fsl-i2c"; 85 - reg = <0x3100 0x100>; 86 - interrupts = <43 2 0 0>; 87 - dfsrr; 88 - }; 89 - 90 - serial0: serial@4500 { 91 - cell-index = <0>; 92 - device_type = "serial"; 93 - compatible = "ns16550"; 94 - reg = <0x4500 0x100>; 95 - clock-frequency = <0>; 96 - interrupts = <42 2 0 0>; 97 - }; 98 - 99 - serial1: serial@4600 { 100 - cell-index = <1>; 101 - device_type = "serial"; 102 - compatible = "ns16550"; 103 - reg = <0x4600 0x100>; 104 - clock-frequency = <0>; 105 - interrupts = <42 2 0 0>; 106 - }; 107 - 108 - spi@7000 { 109 - cell-index = <0>; 110 - #address-cells = <1>; 111 - #size-cells = <0>; 112 - compatible = "fsl,espi"; 113 - reg = <0x7000 0x1000>; 114 - interrupts = <59 0x2 0 0>; 115 - mode = "cpu"; 116 - }; 117 - 118 - dma@c300 { 119 - #address-cells = <1>; 120 - #size-cells = <1>; 121 - compatible = "fsl,eloplus-dma"; 122 - reg = <0xc300 0x4>; 123 - ranges = <0x0 0xc100 0x200>; 124 - cell-index = <1>; 125 - dma-channel@0 { 126 - compatible = "fsl,eloplus-dma-channel"; 127 - reg = <0x0 0x80>; 128 - cell-index = <0>; 129 - interrupts = <76 2 0 0>; 130 - }; 131 - dma-channel@80 { 132 - compatible = "fsl,eloplus-dma-channel"; 133 - reg = <0x80 0x80>; 134 - cell-index = <1>; 135 - interrupts = <77 2 0 0>; 136 - }; 137 - dma-channel@100 { 138 - compatible = "fsl,eloplus-dma-channel"; 139 - reg = <0x100 0x80>; 140 - cell-index = <2>; 141 - interrupts = <78 2 0 0>; 142 - }; 143 - dma-channel@180 { 144 - compatible = "fsl,eloplus-dma-channel"; 145 - reg = <0x180 0x80>; 146 - cell-index = <3>; 147 - interrupts = <79 2 0 0>; 148 - }; 149 - }; 150 - 151 - gpio: gpio-controller@f000 { 152 - #gpio-cells = <2>; 153 - compatible = "fsl,mpc8572-gpio"; 154 - reg = <0xf000 0x100>; 155 - interrupts = <47 0x2 0 0>; 156 - gpio-controller; 157 - }; 158 - 159 - L2: l2-cache-controller@20000 { 160 - compatible = "fsl,p2020-l2-cache-controller"; 161 - reg = <0x20000 0x1000>; 162 - cache-line-size = <32>; // 32 bytes 163 - cache-size = <0x80000>; // L2,512K 164 - interrupts = <16 2 0 0>; 165 - }; 166 - 167 - dma@21300 { 168 - #address-cells = <1>; 169 - #size-cells = <1>; 170 - compatible = "fsl,eloplus-dma"; 171 - reg = <0x21300 0x4>; 172 - ranges = <0x0 0x21100 0x200>; 173 - cell-index = <0>; 174 - dma-channel@0 { 175 - compatible = "fsl,eloplus-dma-channel"; 176 - reg = <0x0 0x80>; 177 - cell-index = <0>; 178 - interrupts = <20 2 0 0>; 179 - }; 180 - dma-channel@80 { 181 - compatible = "fsl,eloplus-dma-channel"; 182 - reg = <0x80 0x80>; 183 - cell-index = <1>; 184 - interrupts = <21 2 0 0>; 185 - }; 186 - dma-channel@100 { 187 - compatible = "fsl,eloplus-dma-channel"; 188 - reg = <0x100 0x80>; 189 - cell-index = <2>; 190 - interrupts = <22 2 0 0>; 191 - }; 192 - dma-channel@180 { 193 - compatible = "fsl,eloplus-dma-channel"; 194 - reg = <0x180 0x80>; 195 - cell-index = <3>; 196 - interrupts = <23 2 0 0>; 197 - }; 198 - }; 199 - 200 - usb@22000 { 201 - #address-cells = <1>; 202 - #size-cells = <0>; 203 - compatible = "fsl-usb2-dr"; 204 - reg = <0x22000 0x1000>; 205 - interrupts = <28 0x2 0 0>; 206 - }; 207 - 208 - mdio@24520 { 209 - #address-cells = <1>; 210 - #size-cells = <0>; 211 - compatible = "fsl,gianfar-mdio"; 212 - reg = <0x24520 0x20>; 213 - }; 214 - 215 - mdio@25520 { 216 - #address-cells = <1>; 217 - #size-cells = <0>; 218 - compatible = "fsl,gianfar-tbi"; 219 - reg = <0x26520 0x20>; 220 - }; 221 - 222 - mdio@26520 { 223 - #address-cells = <1>; 224 - #size-cells = <0>; 225 - compatible = "fsl,gianfar-tbi"; 226 - reg = <0x520 0x20>; 227 - }; 228 - 229 - enet0: ethernet@24000 { 230 - #address-cells = <1>; 231 - #size-cells = <1>; 232 - cell-index = <0>; 233 - device_type = "network"; 234 - model = "eTSEC"; 235 - compatible = "gianfar"; 236 - reg = <0x24000 0x1000>; 237 - ranges = <0x0 0x24000 0x1000>; 238 - local-mac-address = [ 00 00 00 00 00 00 ]; 239 - interrupts = <29 2 0 0 30 2 0 0 34 2 0 0>; 240 - }; 241 - 242 - enet1: ethernet@25000 { 243 - #address-cells = <1>; 244 - #size-cells = <1>; 245 - cell-index = <1>; 246 - device_type = "network"; 247 - model = "eTSEC"; 248 - compatible = "gianfar"; 249 - reg = <0x25000 0x1000>; 250 - ranges = <0x0 0x25000 0x1000>; 251 - local-mac-address = [ 00 00 00 00 00 00 ]; 252 - interrupts = <35 2 0 0 36 2 0 0 40 2 0 0>; 253 - 254 - }; 255 - 256 - enet2: ethernet@26000 { 257 - #address-cells = <1>; 258 - #size-cells = <1>; 259 - cell-index = <2>; 260 - device_type = "network"; 261 - model = "eTSEC"; 262 - compatible = "gianfar"; 263 - reg = <0x26000 0x1000>; 264 - ranges = <0x0 0x26000 0x1000>; 265 - local-mac-address = [ 00 00 00 00 00 00 ]; 266 - interrupts = <31 2 0 0 32 2 0 0 33 2 0 0>; 267 - 268 - }; 269 - 270 - sdhci@2e000 { 271 - compatible = "fsl,p2020-esdhc", "fsl,esdhc"; 272 - reg = <0x2e000 0x1000>; 273 - interrupts = <72 0x2 0 0>; 274 - /* Filled in by U-Boot */ 275 - clock-frequency = <0>; 276 - }; 277 - 278 - crypto@30000 { 279 - compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4", 280 - "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0"; 281 - reg = <0x30000 0x10000>; 282 - interrupts = <45 2 0 0 58 2 0 0>; 283 - fsl,num-channels = <4>; 284 - fsl,channel-fifo-len = <24>; 285 - fsl,exec-units-mask = <0xbfe>; 286 - fsl,descriptor-types-mask = <0x3ab0ebf>; 287 - }; 288 - 289 - mpic: pic@40000 { 290 - interrupt-controller; 291 - #address-cells = <0>; 292 - #interrupt-cells = <2>; 293 - reg = <0x40000 0x40000>; 294 - compatible = "chrp,open-pic"; 295 - device_type = "open-pic"; 296 - }; 297 - 298 - msi@41600 { 299 - compatible = "fsl,p2020-msi", "fsl,mpic-msi"; 300 - reg = <0x41600 0x80>; 301 - msi-available-ranges = <0 0x100>; 302 - interrupts = < 303 - 0xe0 0 0 0 304 - 0xe1 0 0 0 305 - 0xe2 0 0 0 306 - 0xe3 0 0 0 307 - 0xe4 0 0 0 308 - 0xe5 0 0 0 309 - 0xe6 0 0 0 310 - 0xe7 0 0 0>; 311 - }; 312 - 313 - global-utilities@e0000 { //global utilities block 314 - compatible = "fsl,p2020-guts"; 315 - reg = <0xe0000 0x1000>; 316 - fsl,has-rstcr; 317 - }; 318 - }; 319 - 320 - pci0: pcie@ffe08000 { 321 - compatible = "fsl,mpc8548-pcie"; 322 - device_type = "pci"; 323 - #interrupt-cells = <1>; 324 - #size-cells = <2>; 325 - #address-cells = <3>; 326 - reg = <0 0xffe08000 0 0x1000>; 327 - bus-range = <0 255>; 328 - clock-frequency = <33333333>; 329 - interrupts = <24 2 0 0>; 330 - }; 331 - 332 - pci1: pcie@ffe09000 { 333 - compatible = "fsl,mpc8548-pcie"; 334 - device_type = "pci"; 335 - #interrupt-cells = <1>; 336 - #size-cells = <2>; 337 - #address-cells = <3>; 338 - reg = <0 0xffe09000 0 0x1000>; 339 - bus-range = <0 255>; 340 - clock-frequency = <33333333>; 341 - interrupts = <25 2 0 0>; 342 - }; 343 - 344 - pci2: pcie@ffe0a000 { 345 - compatible = "fsl,mpc8548-pcie"; 346 - device_type = "pci"; 347 - #interrupt-cells = <1>; 348 - #size-cells = <2>; 349 - #address-cells = <3>; 350 - reg = <0 0xffe0a000 0 0x1000>; 351 - bus-range = <0 255>; 352 - clock-frequency = <33333333>; 353 - interrupts = <26 2 0 0>; 354 - }; 355 - };