1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*c66ec88fSEmmanuel Vadot/* 3*c66ec88fSEmmanuel Vadot * MPC8315E RDB Device Tree Source 4*c66ec88fSEmmanuel Vadot * 5*c66ec88fSEmmanuel Vadot * Copyright 2007 Freescale Semiconductor Inc. 6*c66ec88fSEmmanuel Vadot */ 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot/dts-v1/; 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel Vadot/ { 11*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315erdb"; 12*c66ec88fSEmmanuel Vadot #address-cells = <1>; 13*c66ec88fSEmmanuel Vadot #size-cells = <1>; 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadot aliases { 16*c66ec88fSEmmanuel Vadot ethernet0 = &enet0; 17*c66ec88fSEmmanuel Vadot ethernet1 = &enet1; 18*c66ec88fSEmmanuel Vadot serial0 = &serial0; 19*c66ec88fSEmmanuel Vadot serial1 = &serial1; 20*c66ec88fSEmmanuel Vadot pci0 = &pci0; 21*c66ec88fSEmmanuel Vadot pci1 = &pci1; 22*c66ec88fSEmmanuel Vadot pci2 = &pci2; 23*c66ec88fSEmmanuel Vadot }; 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot cpus { 26*c66ec88fSEmmanuel Vadot #address-cells = <1>; 27*c66ec88fSEmmanuel Vadot #size-cells = <0>; 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot PowerPC,8315@0 { 30*c66ec88fSEmmanuel Vadot device_type = "cpu"; 31*c66ec88fSEmmanuel Vadot reg = <0x0>; 32*c66ec88fSEmmanuel Vadot d-cache-line-size = <32>; 33*c66ec88fSEmmanuel Vadot i-cache-line-size = <32>; 34*c66ec88fSEmmanuel Vadot d-cache-size = <16384>; 35*c66ec88fSEmmanuel Vadot i-cache-size = <16384>; 36*c66ec88fSEmmanuel Vadot timebase-frequency = <0>; // from bootloader 37*c66ec88fSEmmanuel Vadot bus-frequency = <0>; // from bootloader 38*c66ec88fSEmmanuel Vadot clock-frequency = <0>; // from bootloader 39*c66ec88fSEmmanuel Vadot }; 40*c66ec88fSEmmanuel Vadot }; 41*c66ec88fSEmmanuel Vadot 42*c66ec88fSEmmanuel Vadot memory { 43*c66ec88fSEmmanuel Vadot device_type = "memory"; 44*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x08000000>; // 128MB at 0 45*c66ec88fSEmmanuel Vadot }; 46*c66ec88fSEmmanuel Vadot 47*c66ec88fSEmmanuel Vadot localbus@e0005000 { 48*c66ec88fSEmmanuel Vadot #address-cells = <2>; 49*c66ec88fSEmmanuel Vadot #size-cells = <1>; 50*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-elbc", "fsl,elbc", "simple-bus"; 51*c66ec88fSEmmanuel Vadot reg = <0xe0005000 0x1000>; 52*c66ec88fSEmmanuel Vadot interrupts = <77 0x8>; 53*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel Vadot // CS0 and CS1 are swapped when 56*c66ec88fSEmmanuel Vadot // booting from nand, but the 57*c66ec88fSEmmanuel Vadot // addresses are the same. 58*c66ec88fSEmmanuel Vadot ranges = <0x0 0x0 0xfe000000 0x00800000 59*c66ec88fSEmmanuel Vadot 0x1 0x0 0xe0600000 0x00002000 60*c66ec88fSEmmanuel Vadot 0x2 0x0 0xf0000000 0x00020000 61*c66ec88fSEmmanuel Vadot 0x3 0x0 0xfa000000 0x00008000>; 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadot flash@0,0 { 64*c66ec88fSEmmanuel Vadot #address-cells = <1>; 65*c66ec88fSEmmanuel Vadot #size-cells = <1>; 66*c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 67*c66ec88fSEmmanuel Vadot reg = <0x0 0x0 0x800000>; 68*c66ec88fSEmmanuel Vadot bank-width = <2>; 69*c66ec88fSEmmanuel Vadot device-width = <1>; 70*c66ec88fSEmmanuel Vadot }; 71*c66ec88fSEmmanuel Vadot 72*c66ec88fSEmmanuel Vadot nand@1,0 { 73*c66ec88fSEmmanuel Vadot #address-cells = <1>; 74*c66ec88fSEmmanuel Vadot #size-cells = <1>; 75*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-fcm-nand", 76*c66ec88fSEmmanuel Vadot "fsl,elbc-fcm-nand"; 77*c66ec88fSEmmanuel Vadot reg = <0x1 0x0 0x2000>; 78*c66ec88fSEmmanuel Vadot 79*c66ec88fSEmmanuel Vadot u-boot@0 { 80*c66ec88fSEmmanuel Vadot reg = <0x0 0x100000>; 81*c66ec88fSEmmanuel Vadot read-only; 82*c66ec88fSEmmanuel Vadot }; 83*c66ec88fSEmmanuel Vadot 84*c66ec88fSEmmanuel Vadot kernel@100000 { 85*c66ec88fSEmmanuel Vadot reg = <0x100000 0x300000>; 86*c66ec88fSEmmanuel Vadot }; 87*c66ec88fSEmmanuel Vadot fs@400000 { 88*c66ec88fSEmmanuel Vadot reg = <0x400000 0x1c00000>; 89*c66ec88fSEmmanuel Vadot }; 90*c66ec88fSEmmanuel Vadot }; 91*c66ec88fSEmmanuel Vadot }; 92*c66ec88fSEmmanuel Vadot 93*c66ec88fSEmmanuel Vadot immr@e0000000 { 94*c66ec88fSEmmanuel Vadot #address-cells = <1>; 95*c66ec88fSEmmanuel Vadot #size-cells = <1>; 96*c66ec88fSEmmanuel Vadot device_type = "soc"; 97*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-immr", "simple-bus"; 98*c66ec88fSEmmanuel Vadot ranges = <0 0xe0000000 0x00100000>; 99*c66ec88fSEmmanuel Vadot reg = <0xe0000000 0x00000200>; 100*c66ec88fSEmmanuel Vadot bus-frequency = <0>; 101*c66ec88fSEmmanuel Vadot 102*c66ec88fSEmmanuel Vadot wdt@200 { 103*c66ec88fSEmmanuel Vadot device_type = "watchdog"; 104*c66ec88fSEmmanuel Vadot compatible = "mpc83xx_wdt"; 105*c66ec88fSEmmanuel Vadot reg = <0x200 0x100>; 106*c66ec88fSEmmanuel Vadot }; 107*c66ec88fSEmmanuel Vadot 108*c66ec88fSEmmanuel Vadot i2c@3000 { 109*c66ec88fSEmmanuel Vadot #address-cells = <1>; 110*c66ec88fSEmmanuel Vadot #size-cells = <0>; 111*c66ec88fSEmmanuel Vadot cell-index = <0>; 112*c66ec88fSEmmanuel Vadot compatible = "fsl-i2c"; 113*c66ec88fSEmmanuel Vadot reg = <0x3000 0x100>; 114*c66ec88fSEmmanuel Vadot interrupts = <14 0x8>; 115*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 116*c66ec88fSEmmanuel Vadot dfsrr; 117*c66ec88fSEmmanuel Vadot rtc@68 { 118*c66ec88fSEmmanuel Vadot compatible = "dallas,ds1339"; 119*c66ec88fSEmmanuel Vadot reg = <0x68>; 120*c66ec88fSEmmanuel Vadot }; 121*c66ec88fSEmmanuel Vadot 122*c66ec88fSEmmanuel Vadot mcu_pio: mcu@a { 123*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 124*c66ec88fSEmmanuel Vadot compatible = "fsl,mc9s08qg8-mpc8315erdb", 125*c66ec88fSEmmanuel Vadot "fsl,mcu-mpc8349emitx"; 126*c66ec88fSEmmanuel Vadot reg = <0x0a>; 127*c66ec88fSEmmanuel Vadot gpio-controller; 128*c66ec88fSEmmanuel Vadot }; 129*c66ec88fSEmmanuel Vadot }; 130*c66ec88fSEmmanuel Vadot 131*c66ec88fSEmmanuel Vadot spi@7000 { 132*c66ec88fSEmmanuel Vadot cell-index = <0>; 133*c66ec88fSEmmanuel Vadot compatible = "fsl,spi"; 134*c66ec88fSEmmanuel Vadot reg = <0x7000 0x1000>; 135*c66ec88fSEmmanuel Vadot interrupts = <16 0x8>; 136*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 137*c66ec88fSEmmanuel Vadot mode = "cpu"; 138*c66ec88fSEmmanuel Vadot }; 139*c66ec88fSEmmanuel Vadot 140*c66ec88fSEmmanuel Vadot dma@82a8 { 141*c66ec88fSEmmanuel Vadot #address-cells = <1>; 142*c66ec88fSEmmanuel Vadot #size-cells = <1>; 143*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-dma", "fsl,elo-dma"; 144*c66ec88fSEmmanuel Vadot reg = <0x82a8 4>; 145*c66ec88fSEmmanuel Vadot ranges = <0 0x8100 0x1a8>; 146*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 147*c66ec88fSEmmanuel Vadot interrupts = <71 8>; 148*c66ec88fSEmmanuel Vadot cell-index = <0>; 149*c66ec88fSEmmanuel Vadot dma-channel@0 { 150*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-dma-channel", "fsl,elo-dma-channel"; 151*c66ec88fSEmmanuel Vadot reg = <0 0x80>; 152*c66ec88fSEmmanuel Vadot cell-index = <0>; 153*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 154*c66ec88fSEmmanuel Vadot interrupts = <71 8>; 155*c66ec88fSEmmanuel Vadot }; 156*c66ec88fSEmmanuel Vadot dma-channel@80 { 157*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-dma-channel", "fsl,elo-dma-channel"; 158*c66ec88fSEmmanuel Vadot reg = <0x80 0x80>; 159*c66ec88fSEmmanuel Vadot cell-index = <1>; 160*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 161*c66ec88fSEmmanuel Vadot interrupts = <71 8>; 162*c66ec88fSEmmanuel Vadot }; 163*c66ec88fSEmmanuel Vadot dma-channel@100 { 164*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-dma-channel", "fsl,elo-dma-channel"; 165*c66ec88fSEmmanuel Vadot reg = <0x100 0x80>; 166*c66ec88fSEmmanuel Vadot cell-index = <2>; 167*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 168*c66ec88fSEmmanuel Vadot interrupts = <71 8>; 169*c66ec88fSEmmanuel Vadot }; 170*c66ec88fSEmmanuel Vadot dma-channel@180 { 171*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-dma-channel", "fsl,elo-dma-channel"; 172*c66ec88fSEmmanuel Vadot reg = <0x180 0x28>; 173*c66ec88fSEmmanuel Vadot cell-index = <3>; 174*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 175*c66ec88fSEmmanuel Vadot interrupts = <71 8>; 176*c66ec88fSEmmanuel Vadot }; 177*c66ec88fSEmmanuel Vadot }; 178*c66ec88fSEmmanuel Vadot 179*c66ec88fSEmmanuel Vadot usb@23000 { 180*c66ec88fSEmmanuel Vadot compatible = "fsl-usb2-dr"; 181*c66ec88fSEmmanuel Vadot reg = <0x23000 0x1000>; 182*c66ec88fSEmmanuel Vadot #address-cells = <1>; 183*c66ec88fSEmmanuel Vadot #size-cells = <0>; 184*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 185*c66ec88fSEmmanuel Vadot interrupts = <38 0x8>; 186*c66ec88fSEmmanuel Vadot phy_type = "utmi"; 187*c66ec88fSEmmanuel Vadot }; 188*c66ec88fSEmmanuel Vadot 189*c66ec88fSEmmanuel Vadot enet0: ethernet@24000 { 190*c66ec88fSEmmanuel Vadot #address-cells = <1>; 191*c66ec88fSEmmanuel Vadot #size-cells = <1>; 192*c66ec88fSEmmanuel Vadot cell-index = <0>; 193*c66ec88fSEmmanuel Vadot device_type = "network"; 194*c66ec88fSEmmanuel Vadot model = "eTSEC"; 195*c66ec88fSEmmanuel Vadot compatible = "gianfar"; 196*c66ec88fSEmmanuel Vadot reg = <0x24000 0x1000>; 197*c66ec88fSEmmanuel Vadot ranges = <0x0 0x24000 0x1000>; 198*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 199*c66ec88fSEmmanuel Vadot interrupts = <32 0x8 33 0x8 34 0x8>; 200*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 201*c66ec88fSEmmanuel Vadot tbi-handle = <&tbi0>; 202*c66ec88fSEmmanuel Vadot phy-handle = < &phy0 >; 203*c66ec88fSEmmanuel Vadot fsl,magic-packet; 204*c66ec88fSEmmanuel Vadot 205*c66ec88fSEmmanuel Vadot mdio@520 { 206*c66ec88fSEmmanuel Vadot #address-cells = <1>; 207*c66ec88fSEmmanuel Vadot #size-cells = <0>; 208*c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-mdio"; 209*c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 210*c66ec88fSEmmanuel Vadot 211*c66ec88fSEmmanuel Vadot phy0: ethernet-phy@0 { 212*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 213*c66ec88fSEmmanuel Vadot interrupts = <20 0x8>; 214*c66ec88fSEmmanuel Vadot reg = <0x0>; 215*c66ec88fSEmmanuel Vadot }; 216*c66ec88fSEmmanuel Vadot 217*c66ec88fSEmmanuel Vadot phy1: ethernet-phy@1 { 218*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 219*c66ec88fSEmmanuel Vadot interrupts = <19 0x8>; 220*c66ec88fSEmmanuel Vadot reg = <0x1>; 221*c66ec88fSEmmanuel Vadot }; 222*c66ec88fSEmmanuel Vadot 223*c66ec88fSEmmanuel Vadot tbi0: tbi-phy@11 { 224*c66ec88fSEmmanuel Vadot reg = <0x11>; 225*c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 226*c66ec88fSEmmanuel Vadot }; 227*c66ec88fSEmmanuel Vadot }; 228*c66ec88fSEmmanuel Vadot }; 229*c66ec88fSEmmanuel Vadot 230*c66ec88fSEmmanuel Vadot enet1: ethernet@25000 { 231*c66ec88fSEmmanuel Vadot #address-cells = <1>; 232*c66ec88fSEmmanuel Vadot #size-cells = <1>; 233*c66ec88fSEmmanuel Vadot cell-index = <1>; 234*c66ec88fSEmmanuel Vadot device_type = "network"; 235*c66ec88fSEmmanuel Vadot model = "eTSEC"; 236*c66ec88fSEmmanuel Vadot compatible = "gianfar"; 237*c66ec88fSEmmanuel Vadot reg = <0x25000 0x1000>; 238*c66ec88fSEmmanuel Vadot ranges = <0x0 0x25000 0x1000>; 239*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 240*c66ec88fSEmmanuel Vadot interrupts = <35 0x8 36 0x8 37 0x8>; 241*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 242*c66ec88fSEmmanuel Vadot tbi-handle = <&tbi1>; 243*c66ec88fSEmmanuel Vadot phy-handle = < &phy1 >; 244*c66ec88fSEmmanuel Vadot fsl,magic-packet; 245*c66ec88fSEmmanuel Vadot 246*c66ec88fSEmmanuel Vadot mdio@520 { 247*c66ec88fSEmmanuel Vadot #address-cells = <1>; 248*c66ec88fSEmmanuel Vadot #size-cells = <0>; 249*c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-tbi"; 250*c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 251*c66ec88fSEmmanuel Vadot 252*c66ec88fSEmmanuel Vadot tbi1: tbi-phy@11 { 253*c66ec88fSEmmanuel Vadot reg = <0x11>; 254*c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 255*c66ec88fSEmmanuel Vadot }; 256*c66ec88fSEmmanuel Vadot }; 257*c66ec88fSEmmanuel Vadot }; 258*c66ec88fSEmmanuel Vadot 259*c66ec88fSEmmanuel Vadot serial0: serial@4500 { 260*c66ec88fSEmmanuel Vadot cell-index = <0>; 261*c66ec88fSEmmanuel Vadot device_type = "serial"; 262*c66ec88fSEmmanuel Vadot compatible = "fsl,ns16550", "ns16550"; 263*c66ec88fSEmmanuel Vadot reg = <0x4500 0x100>; 264*c66ec88fSEmmanuel Vadot clock-frequency = <133333333>; 265*c66ec88fSEmmanuel Vadot interrupts = <9 0x8>; 266*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 267*c66ec88fSEmmanuel Vadot }; 268*c66ec88fSEmmanuel Vadot 269*c66ec88fSEmmanuel Vadot serial1: serial@4600 { 270*c66ec88fSEmmanuel Vadot cell-index = <1>; 271*c66ec88fSEmmanuel Vadot device_type = "serial"; 272*c66ec88fSEmmanuel Vadot compatible = "fsl,ns16550", "ns16550"; 273*c66ec88fSEmmanuel Vadot reg = <0x4600 0x100>; 274*c66ec88fSEmmanuel Vadot clock-frequency = <133333333>; 275*c66ec88fSEmmanuel Vadot interrupts = <10 0x8>; 276*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 277*c66ec88fSEmmanuel Vadot }; 278*c66ec88fSEmmanuel Vadot 279*c66ec88fSEmmanuel Vadot crypto@30000 { 280*c66ec88fSEmmanuel Vadot compatible = "fsl,sec3.3", "fsl,sec3.1", "fsl,sec3.0", 281*c66ec88fSEmmanuel Vadot "fsl,sec2.4", "fsl,sec2.2", "fsl,sec2.1", 282*c66ec88fSEmmanuel Vadot "fsl,sec2.0"; 283*c66ec88fSEmmanuel Vadot reg = <0x30000 0x10000>; 284*c66ec88fSEmmanuel Vadot interrupts = <11 0x8>; 285*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 286*c66ec88fSEmmanuel Vadot fsl,num-channels = <4>; 287*c66ec88fSEmmanuel Vadot fsl,channel-fifo-len = <24>; 288*c66ec88fSEmmanuel Vadot fsl,exec-units-mask = <0x97c>; 289*c66ec88fSEmmanuel Vadot fsl,descriptor-types-mask = <0x3a30abf>; 290*c66ec88fSEmmanuel Vadot }; 291*c66ec88fSEmmanuel Vadot 292*c66ec88fSEmmanuel Vadot sata@18000 { 293*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-sata", "fsl,pq-sata"; 294*c66ec88fSEmmanuel Vadot reg = <0x18000 0x1000>; 295*c66ec88fSEmmanuel Vadot cell-index = <1>; 296*c66ec88fSEmmanuel Vadot interrupts = <44 0x8>; 297*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 298*c66ec88fSEmmanuel Vadot }; 299*c66ec88fSEmmanuel Vadot 300*c66ec88fSEmmanuel Vadot sata@19000 { 301*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-sata", "fsl,pq-sata"; 302*c66ec88fSEmmanuel Vadot reg = <0x19000 0x1000>; 303*c66ec88fSEmmanuel Vadot cell-index = <2>; 304*c66ec88fSEmmanuel Vadot interrupts = <45 0x8>; 305*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 306*c66ec88fSEmmanuel Vadot }; 307*c66ec88fSEmmanuel Vadot 308*c66ec88fSEmmanuel Vadot gtm1: timer@500 { 309*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-gtm", "fsl,gtm"; 310*c66ec88fSEmmanuel Vadot reg = <0x500 0x100>; 311*c66ec88fSEmmanuel Vadot interrupts = <90 8 78 8 84 8 72 8>; 312*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 313*c66ec88fSEmmanuel Vadot clock-frequency = <133333333>; 314*c66ec88fSEmmanuel Vadot }; 315*c66ec88fSEmmanuel Vadot 316*c66ec88fSEmmanuel Vadot timer@600 { 317*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-gtm", "fsl,gtm"; 318*c66ec88fSEmmanuel Vadot reg = <0x600 0x100>; 319*c66ec88fSEmmanuel Vadot interrupts = <91 8 79 8 85 8 73 8>; 320*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 321*c66ec88fSEmmanuel Vadot clock-frequency = <133333333>; 322*c66ec88fSEmmanuel Vadot }; 323*c66ec88fSEmmanuel Vadot 324*c66ec88fSEmmanuel Vadot /* IPIC 325*c66ec88fSEmmanuel Vadot * interrupts cell = <intr #, sense> 326*c66ec88fSEmmanuel Vadot * sense values match linux IORESOURCE_IRQ_* defines: 327*c66ec88fSEmmanuel Vadot * sense == 8: Level, low assertion 328*c66ec88fSEmmanuel Vadot * sense == 2: Edge, high-to-low change 329*c66ec88fSEmmanuel Vadot */ 330*c66ec88fSEmmanuel Vadot ipic: interrupt-controller@700 { 331*c66ec88fSEmmanuel Vadot interrupt-controller; 332*c66ec88fSEmmanuel Vadot #address-cells = <0>; 333*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 334*c66ec88fSEmmanuel Vadot reg = <0x700 0x100>; 335*c66ec88fSEmmanuel Vadot device_type = "ipic"; 336*c66ec88fSEmmanuel Vadot }; 337*c66ec88fSEmmanuel Vadot 338*c66ec88fSEmmanuel Vadot ipic-msi@7c0 { 339*c66ec88fSEmmanuel Vadot compatible = "fsl,ipic-msi"; 340*c66ec88fSEmmanuel Vadot reg = <0x7c0 0x40>; 341*c66ec88fSEmmanuel Vadot msi-available-ranges = <0 0x100>; 342*c66ec88fSEmmanuel Vadot interrupts = <0x43 0x8 343*c66ec88fSEmmanuel Vadot 0x4 0x8 344*c66ec88fSEmmanuel Vadot 0x51 0x8 345*c66ec88fSEmmanuel Vadot 0x52 0x8 346*c66ec88fSEmmanuel Vadot 0x56 0x8 347*c66ec88fSEmmanuel Vadot 0x57 0x8 348*c66ec88fSEmmanuel Vadot 0x58 0x8 349*c66ec88fSEmmanuel Vadot 0x59 0x8>; 350*c66ec88fSEmmanuel Vadot interrupt-parent = < &ipic >; 351*c66ec88fSEmmanuel Vadot }; 352*c66ec88fSEmmanuel Vadot 353*c66ec88fSEmmanuel Vadot pmc: power@b00 { 354*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-pmc", "fsl,mpc8313-pmc", 355*c66ec88fSEmmanuel Vadot "fsl,mpc8349-pmc"; 356*c66ec88fSEmmanuel Vadot reg = <0xb00 0x100 0xa00 0x100>; 357*c66ec88fSEmmanuel Vadot interrupts = <80 8>; 358*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 359*c66ec88fSEmmanuel Vadot fsl,mpc8313-wakeup-timer = <>m1>; 360*c66ec88fSEmmanuel Vadot }; 361*c66ec88fSEmmanuel Vadot }; 362*c66ec88fSEmmanuel Vadot 363*c66ec88fSEmmanuel Vadot pci0: pci@e0008500 { 364*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 365*c66ec88fSEmmanuel Vadot interrupt-map = < 366*c66ec88fSEmmanuel Vadot /* IDSEL 0x0E -mini PCI */ 367*c66ec88fSEmmanuel Vadot 0x7000 0x0 0x0 0x1 &ipic 18 0x8 368*c66ec88fSEmmanuel Vadot 0x7000 0x0 0x0 0x2 &ipic 18 0x8 369*c66ec88fSEmmanuel Vadot 0x7000 0x0 0x0 0x3 &ipic 18 0x8 370*c66ec88fSEmmanuel Vadot 0x7000 0x0 0x0 0x4 &ipic 18 0x8 371*c66ec88fSEmmanuel Vadot 372*c66ec88fSEmmanuel Vadot /* IDSEL 0x0F -mini PCI */ 373*c66ec88fSEmmanuel Vadot 0x7800 0x0 0x0 0x1 &ipic 17 0x8 374*c66ec88fSEmmanuel Vadot 0x7800 0x0 0x0 0x2 &ipic 17 0x8 375*c66ec88fSEmmanuel Vadot 0x7800 0x0 0x0 0x3 &ipic 17 0x8 376*c66ec88fSEmmanuel Vadot 0x7800 0x0 0x0 0x4 &ipic 17 0x8 377*c66ec88fSEmmanuel Vadot 378*c66ec88fSEmmanuel Vadot /* IDSEL 0x10 - PCI slot */ 379*c66ec88fSEmmanuel Vadot 0x8000 0x0 0x0 0x1 &ipic 48 0x8 380*c66ec88fSEmmanuel Vadot 0x8000 0x0 0x0 0x2 &ipic 17 0x8 381*c66ec88fSEmmanuel Vadot 0x8000 0x0 0x0 0x3 &ipic 48 0x8 382*c66ec88fSEmmanuel Vadot 0x8000 0x0 0x0 0x4 &ipic 17 0x8>; 383*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 384*c66ec88fSEmmanuel Vadot interrupts = <66 0x8>; 385*c66ec88fSEmmanuel Vadot bus-range = <0x0 0x0>; 386*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0x90000000 0x90000000 0 0x10000000 387*c66ec88fSEmmanuel Vadot 0x42000000 0 0x80000000 0x80000000 0 0x10000000 388*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 0xe0300000 0 0x00100000>; 389*c66ec88fSEmmanuel Vadot clock-frequency = <66666666>; 390*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 391*c66ec88fSEmmanuel Vadot #size-cells = <2>; 392*c66ec88fSEmmanuel Vadot #address-cells = <3>; 393*c66ec88fSEmmanuel Vadot reg = <0xe0008500 0x100 /* internal registers */ 394*c66ec88fSEmmanuel Vadot 0xe0008300 0x8>; /* config space access registers */ 395*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8349-pci"; 396*c66ec88fSEmmanuel Vadot device_type = "pci"; 397*c66ec88fSEmmanuel Vadot }; 398*c66ec88fSEmmanuel Vadot 399*c66ec88fSEmmanuel Vadot pci1: pcie@e0009000 { 400*c66ec88fSEmmanuel Vadot #address-cells = <3>; 401*c66ec88fSEmmanuel Vadot #size-cells = <2>; 402*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 403*c66ec88fSEmmanuel Vadot device_type = "pci"; 404*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-pcie", "fsl,mpc8314-pcie"; 405*c66ec88fSEmmanuel Vadot reg = <0xe0009000 0x00001000>; 406*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 407*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 0xb1000000 0 0x00800000>; 408*c66ec88fSEmmanuel Vadot bus-range = <0 255>; 409*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0 0 7>; 410*c66ec88fSEmmanuel Vadot interrupt-map = <0 0 0 1 &ipic 1 8 411*c66ec88fSEmmanuel Vadot 0 0 0 2 &ipic 1 8 412*c66ec88fSEmmanuel Vadot 0 0 0 3 &ipic 1 8 413*c66ec88fSEmmanuel Vadot 0 0 0 4 &ipic 1 8>; 414*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 415*c66ec88fSEmmanuel Vadot 416*c66ec88fSEmmanuel Vadot pcie@0 { 417*c66ec88fSEmmanuel Vadot #address-cells = <3>; 418*c66ec88fSEmmanuel Vadot #size-cells = <2>; 419*c66ec88fSEmmanuel Vadot device_type = "pci"; 420*c66ec88fSEmmanuel Vadot reg = <0 0 0 0 0>; 421*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xa0000000 422*c66ec88fSEmmanuel Vadot 0x02000000 0 0xa0000000 423*c66ec88fSEmmanuel Vadot 0 0x10000000 424*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 425*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 426*c66ec88fSEmmanuel Vadot 0 0x00800000>; 427*c66ec88fSEmmanuel Vadot }; 428*c66ec88fSEmmanuel Vadot }; 429*c66ec88fSEmmanuel Vadot 430*c66ec88fSEmmanuel Vadot pci2: pcie@e000a000 { 431*c66ec88fSEmmanuel Vadot #address-cells = <3>; 432*c66ec88fSEmmanuel Vadot #size-cells = <2>; 433*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 434*c66ec88fSEmmanuel Vadot device_type = "pci"; 435*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8315-pcie", "fsl,mpc8314-pcie"; 436*c66ec88fSEmmanuel Vadot reg = <0xe000a000 0x00001000>; 437*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xc0000000 0xc0000000 0 0x10000000 438*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 0xd1000000 0 0x00800000>; 439*c66ec88fSEmmanuel Vadot bus-range = <0 255>; 440*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0 0 7>; 441*c66ec88fSEmmanuel Vadot interrupt-map = <0 0 0 1 &ipic 2 8 442*c66ec88fSEmmanuel Vadot 0 0 0 2 &ipic 2 8 443*c66ec88fSEmmanuel Vadot 0 0 0 3 &ipic 2 8 444*c66ec88fSEmmanuel Vadot 0 0 0 4 &ipic 2 8>; 445*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 446*c66ec88fSEmmanuel Vadot 447*c66ec88fSEmmanuel Vadot pcie@0 { 448*c66ec88fSEmmanuel Vadot #address-cells = <3>; 449*c66ec88fSEmmanuel Vadot #size-cells = <2>; 450*c66ec88fSEmmanuel Vadot device_type = "pci"; 451*c66ec88fSEmmanuel Vadot reg = <0 0 0 0 0>; 452*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xc0000000 453*c66ec88fSEmmanuel Vadot 0x02000000 0 0xc0000000 454*c66ec88fSEmmanuel Vadot 0 0x10000000 455*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 456*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 457*c66ec88fSEmmanuel Vadot 0 0x00800000>; 458*c66ec88fSEmmanuel Vadot }; 459*c66ec88fSEmmanuel Vadot }; 460*c66ec88fSEmmanuel Vadot 461*c66ec88fSEmmanuel Vadot leds { 462*c66ec88fSEmmanuel Vadot compatible = "gpio-leds"; 463*c66ec88fSEmmanuel Vadot 464*c66ec88fSEmmanuel Vadot pwr { 465*c66ec88fSEmmanuel Vadot gpios = <&mcu_pio 0 0>; 466*c66ec88fSEmmanuel Vadot default-state = "on"; 467*c66ec88fSEmmanuel Vadot }; 468*c66ec88fSEmmanuel Vadot 469*c66ec88fSEmmanuel Vadot hdd { 470*c66ec88fSEmmanuel Vadot gpios = <&mcu_pio 1 0>; 471*c66ec88fSEmmanuel Vadot linux,default-trigger = "disk-activity"; 472*c66ec88fSEmmanuel Vadot }; 473*c66ec88fSEmmanuel Vadot }; 474*c66ec88fSEmmanuel Vadot}; 475