1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Copyright (C) 2009 Extreme Engineering Solutions, Inc. 4c66ec88fSEmmanuel Vadot * Based on TQM8548 device tree 5c66ec88fSEmmanuel Vadot * 6c66ec88fSEmmanuel Vadot * XPedite5200 PrPMC/XMC module based on MPC8548E 7c66ec88fSEmmanuel Vadot */ 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadot/dts-v1/; 10c66ec88fSEmmanuel Vadot 11c66ec88fSEmmanuel Vadot/ { 12c66ec88fSEmmanuel Vadot model = "xes,xpedite5200"; 13c66ec88fSEmmanuel Vadot compatible = "xes,xpedite5200", "xes,MPC8548"; 14c66ec88fSEmmanuel Vadot #address-cells = <1>; 15c66ec88fSEmmanuel Vadot #size-cells = <1>; 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadot aliases { 18c66ec88fSEmmanuel Vadot ethernet0 = &enet0; 19c66ec88fSEmmanuel Vadot ethernet1 = &enet1; 20c66ec88fSEmmanuel Vadot ethernet2 = &enet2; 21c66ec88fSEmmanuel Vadot ethernet3 = &enet3; 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot serial0 = &serial0; 24c66ec88fSEmmanuel Vadot serial1 = &serial1; 25c66ec88fSEmmanuel Vadot pci0 = &pci0; 26c66ec88fSEmmanuel Vadot }; 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot cpus { 29c66ec88fSEmmanuel Vadot #address-cells = <1>; 30c66ec88fSEmmanuel Vadot #size-cells = <0>; 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot PowerPC,8548@0 { 33c66ec88fSEmmanuel Vadot device_type = "cpu"; 34c66ec88fSEmmanuel Vadot reg = <0>; 35c66ec88fSEmmanuel Vadot d-cache-line-size = <32>; // 32 bytes 36c66ec88fSEmmanuel Vadot i-cache-line-size = <32>; // 32 bytes 37c66ec88fSEmmanuel Vadot d-cache-size = <0x8000>; // L1, 32K 38c66ec88fSEmmanuel Vadot i-cache-size = <0x8000>; // L1, 32K 39c66ec88fSEmmanuel Vadot next-level-cache = <&L2>; 40c66ec88fSEmmanuel Vadot }; 41c66ec88fSEmmanuel Vadot }; 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot memory { 44c66ec88fSEmmanuel Vadot device_type = "memory"; 45c66ec88fSEmmanuel Vadot reg = <0x0 0x0>; // Filled in by U-Boot 46c66ec88fSEmmanuel Vadot }; 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadot soc@ef000000 { 49c66ec88fSEmmanuel Vadot #address-cells = <1>; 50c66ec88fSEmmanuel Vadot #size-cells = <1>; 51c66ec88fSEmmanuel Vadot device_type = "soc"; 52c66ec88fSEmmanuel Vadot ranges = <0x0 0xef000000 0x100000>; 53c66ec88fSEmmanuel Vadot bus-frequency = <0>; 54c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-immr", "simple-bus"; 55c66ec88fSEmmanuel Vadot 56c66ec88fSEmmanuel Vadot ecm-law@0 { 57c66ec88fSEmmanuel Vadot compatible = "fsl,ecm-law"; 58c66ec88fSEmmanuel Vadot reg = <0x0 0x1000>; 59c66ec88fSEmmanuel Vadot fsl,num-laws = <12>; 60c66ec88fSEmmanuel Vadot }; 61c66ec88fSEmmanuel Vadot 62c66ec88fSEmmanuel Vadot ecm@1000 { 63c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-ecm", "fsl,ecm"; 64c66ec88fSEmmanuel Vadot reg = <0x1000 0x1000>; 65c66ec88fSEmmanuel Vadot interrupts = <17 2>; 66c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 67c66ec88fSEmmanuel Vadot }; 68c66ec88fSEmmanuel Vadot 69c66ec88fSEmmanuel Vadot memory-controller@2000 { 70c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-memory-controller"; 71c66ec88fSEmmanuel Vadot reg = <0x2000 0x1000>; 72c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 73c66ec88fSEmmanuel Vadot interrupts = <18 2>; 74c66ec88fSEmmanuel Vadot }; 75c66ec88fSEmmanuel Vadot 76c66ec88fSEmmanuel Vadot L2: l2-cache-controller@20000 { 77c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-l2-cache-controller"; 78c66ec88fSEmmanuel Vadot reg = <0x20000 0x1000>; 79c66ec88fSEmmanuel Vadot cache-line-size = <32>; // 32 bytes 80c66ec88fSEmmanuel Vadot cache-size = <0x80000>; // L2, 512K 81c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 82c66ec88fSEmmanuel Vadot interrupts = <16 2>; 83c66ec88fSEmmanuel Vadot }; 84c66ec88fSEmmanuel Vadot 85c66ec88fSEmmanuel Vadot /* On-card I2C */ 86c66ec88fSEmmanuel Vadot i2c@3000 { 87c66ec88fSEmmanuel Vadot #address-cells = <1>; 88c66ec88fSEmmanuel Vadot #size-cells = <0>; 89c66ec88fSEmmanuel Vadot cell-index = <0>; 90c66ec88fSEmmanuel Vadot compatible = "fsl-i2c"; 91c66ec88fSEmmanuel Vadot reg = <0x3000 0x100>; 92c66ec88fSEmmanuel Vadot interrupts = <43 2>; 93c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 94c66ec88fSEmmanuel Vadot dfsrr; 95c66ec88fSEmmanuel Vadot 96c66ec88fSEmmanuel Vadot /* 97c66ec88fSEmmanuel Vadot * Board GPIO: 98c66ec88fSEmmanuel Vadot * 0: BRD_CFG0 (1: P14 IO present) 99c66ec88fSEmmanuel Vadot * 1: BRD_CFG1 (1: FP ethernet present) 100c66ec88fSEmmanuel Vadot * 2: BRD_CFG2 (1: XMC IO present) 101c66ec88fSEmmanuel Vadot * 3: XMC root complex indicator 102c66ec88fSEmmanuel Vadot * 4: Flash boot device indicator 103c66ec88fSEmmanuel Vadot * 5: Flash write protect enable 104c66ec88fSEmmanuel Vadot * 6: PMC monarch indicator 105c66ec88fSEmmanuel Vadot * 7: PMC EREADY 106c66ec88fSEmmanuel Vadot */ 107c66ec88fSEmmanuel Vadot gpio1: gpio@18 { 108c66ec88fSEmmanuel Vadot compatible = "nxp,pca9556"; 109c66ec88fSEmmanuel Vadot reg = <0x18>; 110c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 111c66ec88fSEmmanuel Vadot gpio-controller; 112c66ec88fSEmmanuel Vadot polarity = <0x00>; 113c66ec88fSEmmanuel Vadot }; 114c66ec88fSEmmanuel Vadot 115c66ec88fSEmmanuel Vadot /* P14 GPIO */ 116c66ec88fSEmmanuel Vadot gpio2: gpio@19 { 117c66ec88fSEmmanuel Vadot compatible = "nxp,pca9556"; 118c66ec88fSEmmanuel Vadot reg = <0x19>; 119c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 120c66ec88fSEmmanuel Vadot gpio-controller; 121c66ec88fSEmmanuel Vadot polarity = <0x00>; 122c66ec88fSEmmanuel Vadot }; 123c66ec88fSEmmanuel Vadot 124c66ec88fSEmmanuel Vadot eeprom@50 { 125c66ec88fSEmmanuel Vadot compatible = "atmel,at24c16"; 126c66ec88fSEmmanuel Vadot reg = <0x50>; 127c66ec88fSEmmanuel Vadot }; 128c66ec88fSEmmanuel Vadot 129c66ec88fSEmmanuel Vadot rtc@68 { 130c66ec88fSEmmanuel Vadot compatible = "st,m41t00", 131c66ec88fSEmmanuel Vadot "dallas,ds1338"; 132c66ec88fSEmmanuel Vadot reg = <0x68>; 133c66ec88fSEmmanuel Vadot }; 134c66ec88fSEmmanuel Vadot 135*c9ccf3a3SEmmanuel Vadot dtt@34 { 136c66ec88fSEmmanuel Vadot compatible = "maxim,max1237"; 137c66ec88fSEmmanuel Vadot reg = <0x34>; 138c66ec88fSEmmanuel Vadot }; 139c66ec88fSEmmanuel Vadot }; 140c66ec88fSEmmanuel Vadot 141c66ec88fSEmmanuel Vadot /* Off-card I2C */ 142c66ec88fSEmmanuel Vadot i2c@3100 { 143c66ec88fSEmmanuel Vadot #address-cells = <1>; 144c66ec88fSEmmanuel Vadot #size-cells = <0>; 145c66ec88fSEmmanuel Vadot cell-index = <1>; 146c66ec88fSEmmanuel Vadot compatible = "fsl-i2c"; 147c66ec88fSEmmanuel Vadot reg = <0x3100 0x100>; 148c66ec88fSEmmanuel Vadot interrupts = <43 2>; 149c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 150c66ec88fSEmmanuel Vadot dfsrr; 151c66ec88fSEmmanuel Vadot }; 152c66ec88fSEmmanuel Vadot 153c66ec88fSEmmanuel Vadot dma@21300 { 154c66ec88fSEmmanuel Vadot #address-cells = <1>; 155c66ec88fSEmmanuel Vadot #size-cells = <1>; 156c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma"; 157c66ec88fSEmmanuel Vadot reg = <0x21300 0x4>; 158c66ec88fSEmmanuel Vadot ranges = <0x0 0x21100 0x200>; 159c66ec88fSEmmanuel Vadot cell-index = <0>; 160c66ec88fSEmmanuel Vadot dma-channel@0 { 161c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-dma-channel", 162c66ec88fSEmmanuel Vadot "fsl,eloplus-dma-channel"; 163c66ec88fSEmmanuel Vadot reg = <0x0 0x80>; 164c66ec88fSEmmanuel Vadot cell-index = <0>; 165c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 166c66ec88fSEmmanuel Vadot interrupts = <20 2>; 167c66ec88fSEmmanuel Vadot }; 168c66ec88fSEmmanuel Vadot dma-channel@80 { 169c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-dma-channel", 170c66ec88fSEmmanuel Vadot "fsl,eloplus-dma-channel"; 171c66ec88fSEmmanuel Vadot reg = <0x80 0x80>; 172c66ec88fSEmmanuel Vadot cell-index = <1>; 173c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 174c66ec88fSEmmanuel Vadot interrupts = <21 2>; 175c66ec88fSEmmanuel Vadot }; 176c66ec88fSEmmanuel Vadot dma-channel@100 { 177c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-dma-channel", 178c66ec88fSEmmanuel Vadot "fsl,eloplus-dma-channel"; 179c66ec88fSEmmanuel Vadot reg = <0x100 0x80>; 180c66ec88fSEmmanuel Vadot cell-index = <2>; 181c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 182c66ec88fSEmmanuel Vadot interrupts = <22 2>; 183c66ec88fSEmmanuel Vadot }; 184c66ec88fSEmmanuel Vadot dma-channel@180 { 185c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-dma-channel", 186c66ec88fSEmmanuel Vadot "fsl,eloplus-dma-channel"; 187c66ec88fSEmmanuel Vadot reg = <0x180 0x80>; 188c66ec88fSEmmanuel Vadot cell-index = <3>; 189c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 190c66ec88fSEmmanuel Vadot interrupts = <23 2>; 191c66ec88fSEmmanuel Vadot }; 192c66ec88fSEmmanuel Vadot }; 193c66ec88fSEmmanuel Vadot 194c66ec88fSEmmanuel Vadot /* eTSEC1: Front panel port 0 */ 195c66ec88fSEmmanuel Vadot enet0: ethernet@24000 { 196c66ec88fSEmmanuel Vadot #address-cells = <1>; 197c66ec88fSEmmanuel Vadot #size-cells = <1>; 198c66ec88fSEmmanuel Vadot cell-index = <0>; 199c66ec88fSEmmanuel Vadot device_type = "network"; 200c66ec88fSEmmanuel Vadot model = "eTSEC"; 201c66ec88fSEmmanuel Vadot compatible = "gianfar"; 202c66ec88fSEmmanuel Vadot reg = <0x24000 0x1000>; 203c66ec88fSEmmanuel Vadot ranges = <0x0 0x24000 0x1000>; 204c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 205c66ec88fSEmmanuel Vadot interrupts = <29 2 30 2 34 2>; 206c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 207c66ec88fSEmmanuel Vadot tbi-handle = <&tbi0>; 208c66ec88fSEmmanuel Vadot phy-handle = <&phy0>; 209c66ec88fSEmmanuel Vadot 210c66ec88fSEmmanuel Vadot mdio@520 { 211c66ec88fSEmmanuel Vadot #address-cells = <1>; 212c66ec88fSEmmanuel Vadot #size-cells = <0>; 213c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-mdio"; 214c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 215c66ec88fSEmmanuel Vadot 216c66ec88fSEmmanuel Vadot phy0: ethernet-phy@1 { 217c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 218c66ec88fSEmmanuel Vadot interrupts = <8 1>; 219c66ec88fSEmmanuel Vadot reg = <0x1>; 220c66ec88fSEmmanuel Vadot }; 221c66ec88fSEmmanuel Vadot phy1: ethernet-phy@2 { 222c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 223c66ec88fSEmmanuel Vadot interrupts = <8 1>; 224c66ec88fSEmmanuel Vadot reg = <0x2>; 225c66ec88fSEmmanuel Vadot }; 226c66ec88fSEmmanuel Vadot phy2: ethernet-phy@3 { 227c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 228c66ec88fSEmmanuel Vadot interrupts = <8 1>; 229c66ec88fSEmmanuel Vadot reg = <0x3>; 230c66ec88fSEmmanuel Vadot }; 231c66ec88fSEmmanuel Vadot phy3: ethernet-phy@4 { 232c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 233c66ec88fSEmmanuel Vadot interrupts = <8 1>; 234c66ec88fSEmmanuel Vadot reg = <0x4>; 235c66ec88fSEmmanuel Vadot }; 236c66ec88fSEmmanuel Vadot tbi0: tbi-phy@11 { 237c66ec88fSEmmanuel Vadot reg = <0x11>; 238c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 239c66ec88fSEmmanuel Vadot }; 240c66ec88fSEmmanuel Vadot }; 241c66ec88fSEmmanuel Vadot }; 242c66ec88fSEmmanuel Vadot 243c66ec88fSEmmanuel Vadot /* eTSEC2: Front panel port 1 */ 244c66ec88fSEmmanuel Vadot enet1: ethernet@25000 { 245c66ec88fSEmmanuel Vadot #address-cells = <1>; 246c66ec88fSEmmanuel Vadot #size-cells = <1>; 247c66ec88fSEmmanuel Vadot cell-index = <1>; 248c66ec88fSEmmanuel Vadot device_type = "network"; 249c66ec88fSEmmanuel Vadot model = "eTSEC"; 250c66ec88fSEmmanuel Vadot compatible = "gianfar"; 251c66ec88fSEmmanuel Vadot reg = <0x25000 0x1000>; 252c66ec88fSEmmanuel Vadot ranges = <0x0 0x25000 0x1000>; 253c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 254c66ec88fSEmmanuel Vadot interrupts = <35 2 36 2 40 2>; 255c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 256c66ec88fSEmmanuel Vadot tbi-handle = <&tbi1>; 257c66ec88fSEmmanuel Vadot phy-handle = <&phy1>; 258c66ec88fSEmmanuel Vadot 259c66ec88fSEmmanuel Vadot mdio@520 { 260c66ec88fSEmmanuel Vadot #address-cells = <1>; 261c66ec88fSEmmanuel Vadot #size-cells = <0>; 262c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-tbi"; 263c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 264c66ec88fSEmmanuel Vadot 265c66ec88fSEmmanuel Vadot tbi1: tbi-phy@11 { 266c66ec88fSEmmanuel Vadot reg = <0x11>; 267c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 268c66ec88fSEmmanuel Vadot }; 269c66ec88fSEmmanuel Vadot }; 270c66ec88fSEmmanuel Vadot }; 271c66ec88fSEmmanuel Vadot 272c66ec88fSEmmanuel Vadot /* eTSEC3: Rear panel port 2 */ 273c66ec88fSEmmanuel Vadot enet2: ethernet@26000 { 274c66ec88fSEmmanuel Vadot #address-cells = <1>; 275c66ec88fSEmmanuel Vadot #size-cells = <1>; 276c66ec88fSEmmanuel Vadot cell-index = <2>; 277c66ec88fSEmmanuel Vadot device_type = "network"; 278c66ec88fSEmmanuel Vadot model = "eTSEC"; 279c66ec88fSEmmanuel Vadot compatible = "gianfar"; 280c66ec88fSEmmanuel Vadot reg = <0x26000 0x1000>; 281c66ec88fSEmmanuel Vadot ranges = <0x0 0x26000 0x1000>; 282c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 283c66ec88fSEmmanuel Vadot interrupts = <31 2 32 2 33 2>; 284c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 285c66ec88fSEmmanuel Vadot tbi-handle = <&tbi2>; 286c66ec88fSEmmanuel Vadot phy-handle = <&phy2>; 287c66ec88fSEmmanuel Vadot 288c66ec88fSEmmanuel Vadot mdio@520 { 289c66ec88fSEmmanuel Vadot #address-cells = <1>; 290c66ec88fSEmmanuel Vadot #size-cells = <0>; 291c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-tbi"; 292c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 293c66ec88fSEmmanuel Vadot 294c66ec88fSEmmanuel Vadot tbi2: tbi-phy@11 { 295c66ec88fSEmmanuel Vadot reg = <0x11>; 296c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 297c66ec88fSEmmanuel Vadot }; 298c66ec88fSEmmanuel Vadot }; 299c66ec88fSEmmanuel Vadot }; 300c66ec88fSEmmanuel Vadot 301c66ec88fSEmmanuel Vadot /* eTSEC4: Rear panel port 3 */ 302c66ec88fSEmmanuel Vadot enet3: ethernet@27000 { 303c66ec88fSEmmanuel Vadot #address-cells = <1>; 304c66ec88fSEmmanuel Vadot #size-cells = <1>; 305c66ec88fSEmmanuel Vadot cell-index = <3>; 306c66ec88fSEmmanuel Vadot device_type = "network"; 307c66ec88fSEmmanuel Vadot model = "eTSEC"; 308c66ec88fSEmmanuel Vadot compatible = "gianfar"; 309c66ec88fSEmmanuel Vadot reg = <0x27000 0x1000>; 310c66ec88fSEmmanuel Vadot ranges = <0x0 0x27000 0x1000>; 311c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 312c66ec88fSEmmanuel Vadot interrupts = <37 2 38 2 39 2>; 313c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 314c66ec88fSEmmanuel Vadot tbi-handle = <&tbi3>; 315c66ec88fSEmmanuel Vadot phy-handle = <&phy3>; 316c66ec88fSEmmanuel Vadot 317c66ec88fSEmmanuel Vadot mdio@520 { 318c66ec88fSEmmanuel Vadot #address-cells = <1>; 319c66ec88fSEmmanuel Vadot #size-cells = <0>; 320c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-tbi"; 321c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 322c66ec88fSEmmanuel Vadot 323c66ec88fSEmmanuel Vadot tbi3: tbi-phy@11 { 324c66ec88fSEmmanuel Vadot reg = <0x11>; 325c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 326c66ec88fSEmmanuel Vadot }; 327c66ec88fSEmmanuel Vadot }; 328c66ec88fSEmmanuel Vadot }; 329c66ec88fSEmmanuel Vadot 330c66ec88fSEmmanuel Vadot serial0: serial@4500 { 331c66ec88fSEmmanuel Vadot cell-index = <0>; 332c66ec88fSEmmanuel Vadot device_type = "serial"; 333c66ec88fSEmmanuel Vadot compatible = "fsl,ns16550", "ns16550"; 334c66ec88fSEmmanuel Vadot reg = <0x4500 0x100>; 335c66ec88fSEmmanuel Vadot clock-frequency = <0>; 336c66ec88fSEmmanuel Vadot current-speed = <115200>; 337c66ec88fSEmmanuel Vadot interrupts = <42 2>; 338c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 339c66ec88fSEmmanuel Vadot }; 340c66ec88fSEmmanuel Vadot 341c66ec88fSEmmanuel Vadot serial1: serial@4600 { 342c66ec88fSEmmanuel Vadot cell-index = <1>; 343c66ec88fSEmmanuel Vadot device_type = "serial"; 344c66ec88fSEmmanuel Vadot compatible = "fsl,ns16550", "ns16550"; 345c66ec88fSEmmanuel Vadot reg = <0x4600 0x100>; 346c66ec88fSEmmanuel Vadot clock-frequency = <0>; 347c66ec88fSEmmanuel Vadot current-speed = <115200>; 348c66ec88fSEmmanuel Vadot interrupts = <42 2>; 349c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 350c66ec88fSEmmanuel Vadot }; 351c66ec88fSEmmanuel Vadot 352c66ec88fSEmmanuel Vadot global-utilities@e0000 { // global utilities reg 353c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-guts"; 354c66ec88fSEmmanuel Vadot reg = <0xe0000 0x1000>; 355c66ec88fSEmmanuel Vadot fsl,has-rstcr; 356c66ec88fSEmmanuel Vadot }; 357c66ec88fSEmmanuel Vadot 358c66ec88fSEmmanuel Vadot mpic: pic@40000 { 359c66ec88fSEmmanuel Vadot interrupt-controller; 360c66ec88fSEmmanuel Vadot #address-cells = <0>; 361c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 362c66ec88fSEmmanuel Vadot reg = <0x40000 0x40000>; 363c66ec88fSEmmanuel Vadot compatible = "chrp,open-pic"; 364c66ec88fSEmmanuel Vadot device_type = "open-pic"; 365c66ec88fSEmmanuel Vadot }; 366c66ec88fSEmmanuel Vadot }; 367c66ec88fSEmmanuel Vadot 368c66ec88fSEmmanuel Vadot localbus@ef005000 { 369c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-localbus", "fsl,pq3-localbus", 370c66ec88fSEmmanuel Vadot "simple-bus"; 371c66ec88fSEmmanuel Vadot #address-cells = <2>; 372c66ec88fSEmmanuel Vadot #size-cells = <1>; 373c66ec88fSEmmanuel Vadot reg = <0xef005000 0x100>; // BRx, ORx, etc. 374c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 375c66ec88fSEmmanuel Vadot interrupts = <19 2>; 376c66ec88fSEmmanuel Vadot 377c66ec88fSEmmanuel Vadot ranges = < 378c66ec88fSEmmanuel Vadot 0 0x0 0xfc000000 0x04000000 // NOR boot flash 379c66ec88fSEmmanuel Vadot 1 0x0 0xf8000000 0x04000000 // NOR expansion flash 380c66ec88fSEmmanuel Vadot 2 0x0 0xef800000 0x00010000 // NAND CE1 381c66ec88fSEmmanuel Vadot 3 0x0 0xef840000 0x00010000 // NAND CE2 382c66ec88fSEmmanuel Vadot >; 383c66ec88fSEmmanuel Vadot 384c66ec88fSEmmanuel Vadot nor-boot@0,0 { 385c66ec88fSEmmanuel Vadot #address-cells = <1>; 386c66ec88fSEmmanuel Vadot #size-cells = <1>; 387c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 388c66ec88fSEmmanuel Vadot reg = <0 0x0 0x4000000>; 389c66ec88fSEmmanuel Vadot bank-width = <2>; 390c66ec88fSEmmanuel Vadot 391c66ec88fSEmmanuel Vadot partition@0 { 392c66ec88fSEmmanuel Vadot label = "Primary OS"; 393c66ec88fSEmmanuel Vadot reg = <0x00000000 0x180000>; 394c66ec88fSEmmanuel Vadot }; 395c66ec88fSEmmanuel Vadot partition@180000 { 396c66ec88fSEmmanuel Vadot label = "Secondary OS"; 397c66ec88fSEmmanuel Vadot reg = <0x00180000 0x180000>; 398c66ec88fSEmmanuel Vadot }; 399c66ec88fSEmmanuel Vadot partition@300000 { 400c66ec88fSEmmanuel Vadot label = "User"; 401c66ec88fSEmmanuel Vadot reg = <0x00300000 0x3c80000>; 402c66ec88fSEmmanuel Vadot }; 403c66ec88fSEmmanuel Vadot partition@3f80000 { 404c66ec88fSEmmanuel Vadot label = "Boot firmware"; 405c66ec88fSEmmanuel Vadot reg = <0x03f80000 0x80000>; 406c66ec88fSEmmanuel Vadot }; 407c66ec88fSEmmanuel Vadot }; 408c66ec88fSEmmanuel Vadot 409c66ec88fSEmmanuel Vadot nor-alternate@1,0 { 410c66ec88fSEmmanuel Vadot #address-cells = <1>; 411c66ec88fSEmmanuel Vadot #size-cells = <1>; 412c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 413c66ec88fSEmmanuel Vadot reg = <1 0x0 0x4000000>; 414c66ec88fSEmmanuel Vadot bank-width = <2>; 415c66ec88fSEmmanuel Vadot 416c66ec88fSEmmanuel Vadot partition@0 { 417c66ec88fSEmmanuel Vadot label = "Filesystem"; 418c66ec88fSEmmanuel Vadot reg = <0x00000000 0x3f80000>; 419c66ec88fSEmmanuel Vadot }; 420c66ec88fSEmmanuel Vadot partition@3f80000 { 421c66ec88fSEmmanuel Vadot label = "Alternate boot firmware"; 422c66ec88fSEmmanuel Vadot reg = <0x03f80000 0x80000>; 423c66ec88fSEmmanuel Vadot }; 424c66ec88fSEmmanuel Vadot }; 425c66ec88fSEmmanuel Vadot 426c66ec88fSEmmanuel Vadot nand@2,0 { 427c66ec88fSEmmanuel Vadot #address-cells = <1>; 428c66ec88fSEmmanuel Vadot #size-cells = <1>; 429c66ec88fSEmmanuel Vadot compatible = "xes,address-ctl-nand"; 430c66ec88fSEmmanuel Vadot reg = <2 0x0 0x10000>; 431c66ec88fSEmmanuel Vadot cle-line = <0x8>; /* CLE tied to A3 */ 432c66ec88fSEmmanuel Vadot ale-line = <0x10>; /* ALE tied to A4 */ 433c66ec88fSEmmanuel Vadot 434c66ec88fSEmmanuel Vadot /* U-Boot should fix this up */ 435c66ec88fSEmmanuel Vadot partition@0 { 436c66ec88fSEmmanuel Vadot label = "NAND Filesystem"; 437c66ec88fSEmmanuel Vadot reg = <0 0x40000000>; 438c66ec88fSEmmanuel Vadot }; 439c66ec88fSEmmanuel Vadot }; 440c66ec88fSEmmanuel Vadot }; 441c66ec88fSEmmanuel Vadot 442c66ec88fSEmmanuel Vadot /* PMC interface */ 443c66ec88fSEmmanuel Vadot pci0: pci@ef008000 { 444c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 445c66ec88fSEmmanuel Vadot #size-cells = <2>; 446c66ec88fSEmmanuel Vadot #address-cells = <3>; 447c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; 448c66ec88fSEmmanuel Vadot device_type = "pci"; 449c66ec88fSEmmanuel Vadot reg = <0xef008000 0x1000>; 450c66ec88fSEmmanuel Vadot clock-frequency = <33333333>; 451c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 452c66ec88fSEmmanuel Vadot interrupt-map = < 453c66ec88fSEmmanuel Vadot /* IDSEL */ 454c66ec88fSEmmanuel Vadot 0xe000 0 0 1 &mpic 2 1 455c66ec88fSEmmanuel Vadot 0xe000 0 0 2 &mpic 3 1>; 456c66ec88fSEmmanuel Vadot 457c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 458c66ec88fSEmmanuel Vadot interrupts = <24 2>; 459c66ec88fSEmmanuel Vadot bus-range = <0 0>; 460c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0x80000000 0x80000000 0 0x40000000 461c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 0xe8000000 0 0x00800000>; 462c66ec88fSEmmanuel Vadot }; 463c66ec88fSEmmanuel Vadot 464c66ec88fSEmmanuel Vadot /* XMC PCIe is not yet enabled in U-Boot on XPedite5200 */ 465c66ec88fSEmmanuel Vadot}; 466