1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*c66ec88fSEmmanuel Vadot/* 3*c66ec88fSEmmanuel Vadot * MPC8378E RDB Device Tree Source 4*c66ec88fSEmmanuel Vadot * 5*c66ec88fSEmmanuel Vadot * Copyright 2007, 2008 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,mpc8378rdb"; 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,8378@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 = <32768>; 35*c66ec88fSEmmanuel Vadot i-cache-size = <32768>; 36*c66ec88fSEmmanuel Vadot timebase-frequency = <0>; 37*c66ec88fSEmmanuel Vadot bus-frequency = <0>; 38*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 39*c66ec88fSEmmanuel Vadot }; 40*c66ec88fSEmmanuel Vadot }; 41*c66ec88fSEmmanuel Vadot 42*c66ec88fSEmmanuel Vadot memory { 43*c66ec88fSEmmanuel Vadot device_type = "memory"; 44*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x10000000>; // 256MB 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,mpc8378-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 0x00008000 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,mpc8378-fcm-nand", 76*c66ec88fSEmmanuel Vadot "fsl,elbc-fcm-nand"; 77*c66ec88fSEmmanuel Vadot reg = <0x1 0x0 0x8000>; 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 = "simple-bus"; 98*c66ec88fSEmmanuel Vadot ranges = <0x0 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 gpio1: gpio-controller@c00 { 109*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 110*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-gpio", "fsl,mpc8349-gpio"; 111*c66ec88fSEmmanuel Vadot reg = <0xc00 0x100>; 112*c66ec88fSEmmanuel Vadot interrupts = <74 0x8>; 113*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 114*c66ec88fSEmmanuel Vadot gpio-controller; 115*c66ec88fSEmmanuel Vadot }; 116*c66ec88fSEmmanuel Vadot 117*c66ec88fSEmmanuel Vadot gpio2: gpio-controller@d00 { 118*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 119*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-gpio", "fsl,mpc8349-gpio"; 120*c66ec88fSEmmanuel Vadot reg = <0xd00 0x100>; 121*c66ec88fSEmmanuel Vadot interrupts = <75 0x8>; 122*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 123*c66ec88fSEmmanuel Vadot gpio-controller; 124*c66ec88fSEmmanuel Vadot }; 125*c66ec88fSEmmanuel Vadot 126*c66ec88fSEmmanuel Vadot sleep-nexus { 127*c66ec88fSEmmanuel Vadot #address-cells = <1>; 128*c66ec88fSEmmanuel Vadot #size-cells = <1>; 129*c66ec88fSEmmanuel Vadot compatible = "simple-bus"; 130*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x0c000000>; 131*c66ec88fSEmmanuel Vadot ranges; 132*c66ec88fSEmmanuel Vadot 133*c66ec88fSEmmanuel Vadot i2c@3000 { 134*c66ec88fSEmmanuel Vadot #address-cells = <1>; 135*c66ec88fSEmmanuel Vadot #size-cells = <0>; 136*c66ec88fSEmmanuel Vadot cell-index = <0>; 137*c66ec88fSEmmanuel Vadot compatible = "fsl-i2c"; 138*c66ec88fSEmmanuel Vadot reg = <0x3000 0x100>; 139*c66ec88fSEmmanuel Vadot interrupts = <14 0x8>; 140*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 141*c66ec88fSEmmanuel Vadot dfsrr; 142*c66ec88fSEmmanuel Vadot 143*c66ec88fSEmmanuel Vadot dtt@48 { 144*c66ec88fSEmmanuel Vadot compatible = "national,lm75"; 145*c66ec88fSEmmanuel Vadot reg = <0x48>; 146*c66ec88fSEmmanuel Vadot }; 147*c66ec88fSEmmanuel Vadot 148*c66ec88fSEmmanuel Vadot at24@50 { 149*c66ec88fSEmmanuel Vadot compatible = "atmel,24c256"; 150*c66ec88fSEmmanuel Vadot reg = <0x50>; 151*c66ec88fSEmmanuel Vadot }; 152*c66ec88fSEmmanuel Vadot 153*c66ec88fSEmmanuel Vadot rtc@68 { 154*c66ec88fSEmmanuel Vadot compatible = "dallas,ds1339"; 155*c66ec88fSEmmanuel Vadot reg = <0x68>; 156*c66ec88fSEmmanuel Vadot }; 157*c66ec88fSEmmanuel Vadot 158*c66ec88fSEmmanuel Vadot mcu_pio: mcu@a { 159*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 160*c66ec88fSEmmanuel Vadot compatible = "fsl,mc9s08qg8-mpc8378erdb", 161*c66ec88fSEmmanuel Vadot "fsl,mcu-mpc8349emitx"; 162*c66ec88fSEmmanuel Vadot reg = <0x0a>; 163*c66ec88fSEmmanuel Vadot gpio-controller; 164*c66ec88fSEmmanuel Vadot }; 165*c66ec88fSEmmanuel Vadot }; 166*c66ec88fSEmmanuel Vadot 167*c66ec88fSEmmanuel Vadot sdhci@2e000 { 168*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-esdhc", "fsl,esdhc"; 169*c66ec88fSEmmanuel Vadot reg = <0x2e000 0x1000>; 170*c66ec88fSEmmanuel Vadot interrupts = <42 0x8>; 171*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 172*c66ec88fSEmmanuel Vadot sdhci,wp-inverted; 173*c66ec88fSEmmanuel Vadot /* Filled in by U-Boot */ 174*c66ec88fSEmmanuel Vadot clock-frequency = <111111111>; 175*c66ec88fSEmmanuel Vadot }; 176*c66ec88fSEmmanuel Vadot }; 177*c66ec88fSEmmanuel Vadot 178*c66ec88fSEmmanuel Vadot i2c@3100 { 179*c66ec88fSEmmanuel Vadot #address-cells = <1>; 180*c66ec88fSEmmanuel Vadot #size-cells = <0>; 181*c66ec88fSEmmanuel Vadot cell-index = <1>; 182*c66ec88fSEmmanuel Vadot compatible = "fsl-i2c"; 183*c66ec88fSEmmanuel Vadot reg = <0x3100 0x100>; 184*c66ec88fSEmmanuel Vadot interrupts = <15 0x8>; 185*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 186*c66ec88fSEmmanuel Vadot dfsrr; 187*c66ec88fSEmmanuel Vadot }; 188*c66ec88fSEmmanuel Vadot 189*c66ec88fSEmmanuel Vadot spi@7000 { 190*c66ec88fSEmmanuel Vadot cell-index = <0>; 191*c66ec88fSEmmanuel Vadot compatible = "fsl,spi"; 192*c66ec88fSEmmanuel Vadot reg = <0x7000 0x1000>; 193*c66ec88fSEmmanuel Vadot interrupts = <16 0x8>; 194*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 195*c66ec88fSEmmanuel Vadot mode = "cpu"; 196*c66ec88fSEmmanuel Vadot }; 197*c66ec88fSEmmanuel Vadot 198*c66ec88fSEmmanuel Vadot dma@82a8 { 199*c66ec88fSEmmanuel Vadot #address-cells = <1>; 200*c66ec88fSEmmanuel Vadot #size-cells = <1>; 201*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-dma", "fsl,elo-dma"; 202*c66ec88fSEmmanuel Vadot reg = <0x82a8 4>; 203*c66ec88fSEmmanuel Vadot ranges = <0 0x8100 0x1a8>; 204*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 205*c66ec88fSEmmanuel Vadot interrupts = <71 8>; 206*c66ec88fSEmmanuel Vadot cell-index = <0>; 207*c66ec88fSEmmanuel Vadot dma-channel@0 { 208*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel"; 209*c66ec88fSEmmanuel Vadot reg = <0 0x80>; 210*c66ec88fSEmmanuel Vadot cell-index = <0>; 211*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 212*c66ec88fSEmmanuel Vadot interrupts = <71 8>; 213*c66ec88fSEmmanuel Vadot }; 214*c66ec88fSEmmanuel Vadot dma-channel@80 { 215*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel"; 216*c66ec88fSEmmanuel Vadot reg = <0x80 0x80>; 217*c66ec88fSEmmanuel Vadot cell-index = <1>; 218*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 219*c66ec88fSEmmanuel Vadot interrupts = <71 8>; 220*c66ec88fSEmmanuel Vadot }; 221*c66ec88fSEmmanuel Vadot dma-channel@100 { 222*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel"; 223*c66ec88fSEmmanuel Vadot reg = <0x100 0x80>; 224*c66ec88fSEmmanuel Vadot cell-index = <2>; 225*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 226*c66ec88fSEmmanuel Vadot interrupts = <71 8>; 227*c66ec88fSEmmanuel Vadot }; 228*c66ec88fSEmmanuel Vadot dma-channel@180 { 229*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel"; 230*c66ec88fSEmmanuel Vadot reg = <0x180 0x28>; 231*c66ec88fSEmmanuel Vadot cell-index = <3>; 232*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 233*c66ec88fSEmmanuel Vadot interrupts = <71 8>; 234*c66ec88fSEmmanuel Vadot }; 235*c66ec88fSEmmanuel Vadot }; 236*c66ec88fSEmmanuel Vadot 237*c66ec88fSEmmanuel Vadot usb@23000 { 238*c66ec88fSEmmanuel Vadot compatible = "fsl-usb2-dr"; 239*c66ec88fSEmmanuel Vadot reg = <0x23000 0x1000>; 240*c66ec88fSEmmanuel Vadot #address-cells = <1>; 241*c66ec88fSEmmanuel Vadot #size-cells = <0>; 242*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 243*c66ec88fSEmmanuel Vadot interrupts = <38 0x8>; 244*c66ec88fSEmmanuel Vadot phy_type = "ulpi"; 245*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00c00000>; 246*c66ec88fSEmmanuel Vadot }; 247*c66ec88fSEmmanuel Vadot 248*c66ec88fSEmmanuel Vadot enet0: ethernet@24000 { 249*c66ec88fSEmmanuel Vadot #address-cells = <1>; 250*c66ec88fSEmmanuel Vadot #size-cells = <1>; 251*c66ec88fSEmmanuel Vadot cell-index = <0>; 252*c66ec88fSEmmanuel Vadot device_type = "network"; 253*c66ec88fSEmmanuel Vadot model = "eTSEC"; 254*c66ec88fSEmmanuel Vadot compatible = "gianfar"; 255*c66ec88fSEmmanuel Vadot reg = <0x24000 0x1000>; 256*c66ec88fSEmmanuel Vadot ranges = <0x0 0x24000 0x1000>; 257*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 258*c66ec88fSEmmanuel Vadot interrupts = <32 0x8 33 0x8 34 0x8>; 259*c66ec88fSEmmanuel Vadot phy-connection-type = "mii"; 260*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 261*c66ec88fSEmmanuel Vadot tbi-handle = <&tbi0>; 262*c66ec88fSEmmanuel Vadot phy-handle = <&phy2>; 263*c66ec88fSEmmanuel Vadot sleep = <&pmc 0xc0000000>; 264*c66ec88fSEmmanuel Vadot fsl,magic-packet; 265*c66ec88fSEmmanuel Vadot 266*c66ec88fSEmmanuel Vadot mdio@520 { 267*c66ec88fSEmmanuel Vadot #address-cells = <1>; 268*c66ec88fSEmmanuel Vadot #size-cells = <0>; 269*c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-mdio"; 270*c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 271*c66ec88fSEmmanuel Vadot 272*c66ec88fSEmmanuel Vadot phy2: ethernet-phy@2 { 273*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 274*c66ec88fSEmmanuel Vadot interrupts = <17 0x8>; 275*c66ec88fSEmmanuel Vadot reg = <0x2>; 276*c66ec88fSEmmanuel Vadot }; 277*c66ec88fSEmmanuel Vadot 278*c66ec88fSEmmanuel Vadot tbi0: tbi-phy@11 { 279*c66ec88fSEmmanuel Vadot reg = <0x11>; 280*c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 281*c66ec88fSEmmanuel Vadot }; 282*c66ec88fSEmmanuel Vadot }; 283*c66ec88fSEmmanuel Vadot }; 284*c66ec88fSEmmanuel Vadot 285*c66ec88fSEmmanuel Vadot enet1: ethernet@25000 { 286*c66ec88fSEmmanuel Vadot #address-cells = <1>; 287*c66ec88fSEmmanuel Vadot #size-cells = <1>; 288*c66ec88fSEmmanuel Vadot cell-index = <1>; 289*c66ec88fSEmmanuel Vadot device_type = "network"; 290*c66ec88fSEmmanuel Vadot model = "eTSEC"; 291*c66ec88fSEmmanuel Vadot compatible = "gianfar"; 292*c66ec88fSEmmanuel Vadot reg = <0x25000 0x1000>; 293*c66ec88fSEmmanuel Vadot ranges = <0x0 0x25000 0x1000>; 294*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 295*c66ec88fSEmmanuel Vadot interrupts = <35 0x8 36 0x8 37 0x8>; 296*c66ec88fSEmmanuel Vadot phy-connection-type = "mii"; 297*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 298*c66ec88fSEmmanuel Vadot fixed-link = <1 1 1000 0 0>; 299*c66ec88fSEmmanuel Vadot tbi-handle = <&tbi1>; 300*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x30000000>; 301*c66ec88fSEmmanuel Vadot fsl,magic-packet; 302*c66ec88fSEmmanuel Vadot 303*c66ec88fSEmmanuel Vadot mdio@520 { 304*c66ec88fSEmmanuel Vadot #address-cells = <1>; 305*c66ec88fSEmmanuel Vadot #size-cells = <0>; 306*c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-tbi"; 307*c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 308*c66ec88fSEmmanuel Vadot 309*c66ec88fSEmmanuel Vadot tbi1: tbi-phy@11 { 310*c66ec88fSEmmanuel Vadot reg = <0x11>; 311*c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 312*c66ec88fSEmmanuel Vadot }; 313*c66ec88fSEmmanuel Vadot }; 314*c66ec88fSEmmanuel Vadot }; 315*c66ec88fSEmmanuel Vadot 316*c66ec88fSEmmanuel Vadot serial0: serial@4500 { 317*c66ec88fSEmmanuel Vadot cell-index = <0>; 318*c66ec88fSEmmanuel Vadot device_type = "serial"; 319*c66ec88fSEmmanuel Vadot compatible = "fsl,ns16550", "ns16550"; 320*c66ec88fSEmmanuel Vadot reg = <0x4500 0x100>; 321*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 322*c66ec88fSEmmanuel Vadot interrupts = <9 0x8>; 323*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 324*c66ec88fSEmmanuel Vadot }; 325*c66ec88fSEmmanuel Vadot 326*c66ec88fSEmmanuel Vadot serial1: serial@4600 { 327*c66ec88fSEmmanuel Vadot cell-index = <1>; 328*c66ec88fSEmmanuel Vadot device_type = "serial"; 329*c66ec88fSEmmanuel Vadot compatible = "fsl,ns16550", "ns16550"; 330*c66ec88fSEmmanuel Vadot reg = <0x4600 0x100>; 331*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 332*c66ec88fSEmmanuel Vadot interrupts = <10 0x8>; 333*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 334*c66ec88fSEmmanuel Vadot }; 335*c66ec88fSEmmanuel Vadot 336*c66ec88fSEmmanuel Vadot crypto@30000 { 337*c66ec88fSEmmanuel Vadot compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2", 338*c66ec88fSEmmanuel Vadot "fsl,sec2.1", "fsl,sec2.0"; 339*c66ec88fSEmmanuel Vadot reg = <0x30000 0x10000>; 340*c66ec88fSEmmanuel Vadot interrupts = <11 0x8>; 341*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 342*c66ec88fSEmmanuel Vadot fsl,num-channels = <4>; 343*c66ec88fSEmmanuel Vadot fsl,channel-fifo-len = <24>; 344*c66ec88fSEmmanuel Vadot fsl,exec-units-mask = <0x9fe>; 345*c66ec88fSEmmanuel Vadot fsl,descriptor-types-mask = <0x3ab0ebf>; 346*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x03000000>; 347*c66ec88fSEmmanuel Vadot }; 348*c66ec88fSEmmanuel Vadot 349*c66ec88fSEmmanuel Vadot /* IPIC 350*c66ec88fSEmmanuel Vadot * interrupts cell = <intr #, sense> 351*c66ec88fSEmmanuel Vadot * sense values match linux IORESOURCE_IRQ_* defines: 352*c66ec88fSEmmanuel Vadot * sense == 8: Level, low assertion 353*c66ec88fSEmmanuel Vadot * sense == 2: Edge, high-to-low change 354*c66ec88fSEmmanuel Vadot */ 355*c66ec88fSEmmanuel Vadot ipic: interrupt-controller@700 { 356*c66ec88fSEmmanuel Vadot compatible = "fsl,ipic"; 357*c66ec88fSEmmanuel Vadot interrupt-controller; 358*c66ec88fSEmmanuel Vadot #address-cells = <0>; 359*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 360*c66ec88fSEmmanuel Vadot reg = <0x700 0x100>; 361*c66ec88fSEmmanuel Vadot }; 362*c66ec88fSEmmanuel Vadot 363*c66ec88fSEmmanuel Vadot pmc: power@b00 { 364*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-pmc", "fsl,mpc8349-pmc"; 365*c66ec88fSEmmanuel Vadot reg = <0xb00 0x100 0xa00 0x100>; 366*c66ec88fSEmmanuel Vadot interrupts = <80 0x8>; 367*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 368*c66ec88fSEmmanuel Vadot }; 369*c66ec88fSEmmanuel Vadot }; 370*c66ec88fSEmmanuel Vadot 371*c66ec88fSEmmanuel Vadot pci0: pci@e0008500 { 372*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0 0 7>; 373*c66ec88fSEmmanuel Vadot interrupt-map = < 374*c66ec88fSEmmanuel Vadot /* IRQ5 = 21 = 0x15, IRQ6 = 0x16, IRQ7 = 23 = 0x17 */ 375*c66ec88fSEmmanuel Vadot 376*c66ec88fSEmmanuel Vadot /* IDSEL AD14 IRQ6 inta */ 377*c66ec88fSEmmanuel Vadot 0x7000 0x0 0x0 0x1 &ipic 22 0x8 378*c66ec88fSEmmanuel Vadot 379*c66ec88fSEmmanuel Vadot /* IDSEL AD15 IRQ5 inta, IRQ6 intb, IRQ7 intd */ 380*c66ec88fSEmmanuel Vadot 0x7800 0x0 0x0 0x1 &ipic 21 0x8 381*c66ec88fSEmmanuel Vadot 0x7800 0x0 0x0 0x2 &ipic 22 0x8 382*c66ec88fSEmmanuel Vadot 0x7800 0x0 0x0 0x4 &ipic 23 0x8 383*c66ec88fSEmmanuel Vadot 384*c66ec88fSEmmanuel Vadot /* IDSEL AD28 IRQ7 inta, IRQ5 intb IRQ6 intc*/ 385*c66ec88fSEmmanuel Vadot 0xE000 0x0 0x0 0x1 &ipic 23 0x8 386*c66ec88fSEmmanuel Vadot 0xE000 0x0 0x0 0x2 &ipic 21 0x8 387*c66ec88fSEmmanuel Vadot 0xE000 0x0 0x0 0x3 &ipic 22 0x8>; 388*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 389*c66ec88fSEmmanuel Vadot interrupts = <66 0x8>; 390*c66ec88fSEmmanuel Vadot bus-range = <0 0>; 391*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 392*c66ec88fSEmmanuel Vadot 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 393*c66ec88fSEmmanuel Vadot 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>; 394*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00010000>; 395*c66ec88fSEmmanuel Vadot clock-frequency = <66666666>; 396*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 397*c66ec88fSEmmanuel Vadot #size-cells = <2>; 398*c66ec88fSEmmanuel Vadot #address-cells = <3>; 399*c66ec88fSEmmanuel Vadot reg = <0xe0008500 0x100 /* internal registers */ 400*c66ec88fSEmmanuel Vadot 0xe0008300 0x8>; /* config space access registers */ 401*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8349-pci"; 402*c66ec88fSEmmanuel Vadot device_type = "pci"; 403*c66ec88fSEmmanuel Vadot }; 404*c66ec88fSEmmanuel Vadot 405*c66ec88fSEmmanuel Vadot pci1: pcie@e0009000 { 406*c66ec88fSEmmanuel Vadot #address-cells = <3>; 407*c66ec88fSEmmanuel Vadot #size-cells = <2>; 408*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 409*c66ec88fSEmmanuel Vadot device_type = "pci"; 410*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie"; 411*c66ec88fSEmmanuel Vadot reg = <0xe0009000 0x00001000>; 412*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000 413*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 0xb8000000 0 0x00800000>; 414*c66ec88fSEmmanuel Vadot bus-range = <0 255>; 415*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0 0 7>; 416*c66ec88fSEmmanuel Vadot interrupt-map = <0 0 0 1 &ipic 1 8 417*c66ec88fSEmmanuel Vadot 0 0 0 2 &ipic 1 8 418*c66ec88fSEmmanuel Vadot 0 0 0 3 &ipic 1 8 419*c66ec88fSEmmanuel Vadot 0 0 0 4 &ipic 1 8>; 420*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00300000>; 421*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 422*c66ec88fSEmmanuel Vadot 423*c66ec88fSEmmanuel Vadot pcie@0 { 424*c66ec88fSEmmanuel Vadot #address-cells = <3>; 425*c66ec88fSEmmanuel Vadot #size-cells = <2>; 426*c66ec88fSEmmanuel Vadot device_type = "pci"; 427*c66ec88fSEmmanuel Vadot reg = <0 0 0 0 0>; 428*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xa8000000 429*c66ec88fSEmmanuel Vadot 0x02000000 0 0xa8000000 430*c66ec88fSEmmanuel Vadot 0 0x10000000 431*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 432*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 433*c66ec88fSEmmanuel Vadot 0 0x00800000>; 434*c66ec88fSEmmanuel Vadot }; 435*c66ec88fSEmmanuel Vadot }; 436*c66ec88fSEmmanuel Vadot 437*c66ec88fSEmmanuel Vadot pci2: pcie@e000a000 { 438*c66ec88fSEmmanuel Vadot #address-cells = <3>; 439*c66ec88fSEmmanuel Vadot #size-cells = <2>; 440*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 441*c66ec88fSEmmanuel Vadot device_type = "pci"; 442*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie"; 443*c66ec88fSEmmanuel Vadot reg = <0xe000a000 0x00001000>; 444*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000 445*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 0xd8000000 0 0x00800000>; 446*c66ec88fSEmmanuel Vadot bus-range = <0 255>; 447*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0 0 7>; 448*c66ec88fSEmmanuel Vadot interrupt-map = <0 0 0 1 &ipic 2 8 449*c66ec88fSEmmanuel Vadot 0 0 0 2 &ipic 2 8 450*c66ec88fSEmmanuel Vadot 0 0 0 3 &ipic 2 8 451*c66ec88fSEmmanuel Vadot 0 0 0 4 &ipic 2 8>; 452*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x000c0000>; 453*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 454*c66ec88fSEmmanuel Vadot 455*c66ec88fSEmmanuel Vadot pcie@0 { 456*c66ec88fSEmmanuel Vadot #address-cells = <3>; 457*c66ec88fSEmmanuel Vadot #size-cells = <2>; 458*c66ec88fSEmmanuel Vadot device_type = "pci"; 459*c66ec88fSEmmanuel Vadot reg = <0 0 0 0 0>; 460*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xc8000000 461*c66ec88fSEmmanuel Vadot 0x02000000 0 0xc8000000 462*c66ec88fSEmmanuel Vadot 0 0x10000000 463*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 464*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 465*c66ec88fSEmmanuel Vadot 0 0x00800000>; 466*c66ec88fSEmmanuel Vadot }; 467*c66ec88fSEmmanuel Vadot }; 468*c66ec88fSEmmanuel Vadot 469*c66ec88fSEmmanuel Vadot leds { 470*c66ec88fSEmmanuel Vadot compatible = "gpio-leds"; 471*c66ec88fSEmmanuel Vadot 472*c66ec88fSEmmanuel Vadot pwr { 473*c66ec88fSEmmanuel Vadot gpios = <&mcu_pio 0 0>; 474*c66ec88fSEmmanuel Vadot default-state = "on"; 475*c66ec88fSEmmanuel Vadot }; 476*c66ec88fSEmmanuel Vadot 477*c66ec88fSEmmanuel Vadot hdd { 478*c66ec88fSEmmanuel Vadot gpios = <&mcu_pio 1 0>; 479*c66ec88fSEmmanuel Vadot linux,default-trigger = "disk-activity"; 480*c66ec88fSEmmanuel Vadot }; 481*c66ec88fSEmmanuel Vadot }; 482*c66ec88fSEmmanuel Vadot}; 483