123dd1cbfSKim Phillips/* 223dd1cbfSKim Phillips * MPC8379E RDB Device Tree Source 323dd1cbfSKim Phillips * 423dd1cbfSKim Phillips * Copyright 2007, 2008 Freescale Semiconductor Inc. 523dd1cbfSKim Phillips * 623dd1cbfSKim Phillips * This program is free software; you can redistribute it and/or modify it 723dd1cbfSKim Phillips * under the terms of the GNU General Public License as published by the 823dd1cbfSKim Phillips * Free Software Foundation; either version 2 of the License, or (at your 923dd1cbfSKim Phillips * option) any later version. 1023dd1cbfSKim Phillips */ 1123dd1cbfSKim Phillips 1223dd1cbfSKim Phillips/dts-v1/; 1323dd1cbfSKim Phillips 1423dd1cbfSKim Phillips/ { 153b29dadeSKim Phillips compatible = "fsl,mpc8379rdb"; 1623dd1cbfSKim Phillips #address-cells = <1>; 1723dd1cbfSKim Phillips #size-cells = <1>; 1823dd1cbfSKim Phillips 1923dd1cbfSKim Phillips aliases { 2023dd1cbfSKim Phillips ethernet0 = &enet0; 2123dd1cbfSKim Phillips ethernet1 = &enet1; 2223dd1cbfSKim Phillips serial0 = &serial0; 2323dd1cbfSKim Phillips serial1 = &serial1; 2423dd1cbfSKim Phillips pci0 = &pci0; 2523dd1cbfSKim Phillips }; 2623dd1cbfSKim Phillips 2723dd1cbfSKim Phillips cpus { 2823dd1cbfSKim Phillips #address-cells = <1>; 2923dd1cbfSKim Phillips #size-cells = <0>; 3023dd1cbfSKim Phillips 3123dd1cbfSKim Phillips PowerPC,8379@0 { 3223dd1cbfSKim Phillips device_type = "cpu"; 33cda13dd1SPaul Gortmaker reg = <0x0>; 3423dd1cbfSKim Phillips d-cache-line-size = <32>; 3523dd1cbfSKim Phillips i-cache-line-size = <32>; 3623dd1cbfSKim Phillips d-cache-size = <32768>; 3723dd1cbfSKim Phillips i-cache-size = <32768>; 3823dd1cbfSKim Phillips timebase-frequency = <0>; 3923dd1cbfSKim Phillips bus-frequency = <0>; 4023dd1cbfSKim Phillips clock-frequency = <0>; 4123dd1cbfSKim Phillips }; 4223dd1cbfSKim Phillips }; 4323dd1cbfSKim Phillips 4423dd1cbfSKim Phillips memory { 4523dd1cbfSKim Phillips device_type = "memory"; 4623dd1cbfSKim Phillips reg = <0x00000000 0x10000000>; // 256MB at 0 4723dd1cbfSKim Phillips }; 4823dd1cbfSKim Phillips 4923dd1cbfSKim Phillips localbus@e0005000 { 5023dd1cbfSKim Phillips #address-cells = <2>; 5123dd1cbfSKim Phillips #size-cells = <1>; 5223dd1cbfSKim Phillips compatible = "fsl,mpc8379-elbc", "fsl,elbc", "simple-bus"; 5323dd1cbfSKim Phillips reg = <0xe0005000 0x1000>; 54cda13dd1SPaul Gortmaker interrupts = <77 0x8>; 5523dd1cbfSKim Phillips interrupt-parent = <&ipic>; 5623dd1cbfSKim Phillips 5723dd1cbfSKim Phillips // CS0 and CS1 are swapped when 5823dd1cbfSKim Phillips // booting from nand, but the 5923dd1cbfSKim Phillips // addresses are the same. 60cda13dd1SPaul Gortmaker ranges = <0x0 0x0 0xfe000000 0x00800000 61cda13dd1SPaul Gortmaker 0x1 0x0 0xe0600000 0x00008000 62cda13dd1SPaul Gortmaker 0x2 0x0 0xf0000000 0x00020000 63cda13dd1SPaul Gortmaker 0x3 0x0 0xfa000000 0x00008000>; 6423dd1cbfSKim Phillips 6523dd1cbfSKim Phillips flash@0,0 { 6623dd1cbfSKim Phillips #address-cells = <1>; 6723dd1cbfSKim Phillips #size-cells = <1>; 6823dd1cbfSKim Phillips compatible = "cfi-flash"; 69cda13dd1SPaul Gortmaker reg = <0x0 0x0 0x800000>; 7023dd1cbfSKim Phillips bank-width = <2>; 7123dd1cbfSKim Phillips device-width = <1>; 7223dd1cbfSKim Phillips }; 7323dd1cbfSKim Phillips 7423dd1cbfSKim Phillips nand@1,0 { 7523dd1cbfSKim Phillips #address-cells = <1>; 7623dd1cbfSKim Phillips #size-cells = <1>; 7723dd1cbfSKim Phillips compatible = "fsl,mpc8379-fcm-nand", 7823dd1cbfSKim Phillips "fsl,elbc-fcm-nand"; 79cda13dd1SPaul Gortmaker reg = <0x1 0x0 0x8000>; 8023dd1cbfSKim Phillips 8123dd1cbfSKim Phillips u-boot@0 { 8223dd1cbfSKim Phillips reg = <0x0 0x100000>; 8323dd1cbfSKim Phillips read-only; 8423dd1cbfSKim Phillips }; 8523dd1cbfSKim Phillips 8623dd1cbfSKim Phillips kernel@100000 { 8723dd1cbfSKim Phillips reg = <0x100000 0x300000>; 8823dd1cbfSKim Phillips }; 8923dd1cbfSKim Phillips fs@400000 { 9023dd1cbfSKim Phillips reg = <0x400000 0x1c00000>; 9123dd1cbfSKim Phillips }; 9223dd1cbfSKim Phillips }; 9323dd1cbfSKim Phillips }; 9423dd1cbfSKim Phillips 9523dd1cbfSKim Phillips immr@e0000000 { 9623dd1cbfSKim Phillips #address-cells = <1>; 9723dd1cbfSKim Phillips #size-cells = <1>; 9823dd1cbfSKim Phillips device_type = "soc"; 9923dd1cbfSKim Phillips compatible = "simple-bus"; 100cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 10123dd1cbfSKim Phillips reg = <0xe0000000 0x00000200>; 10223dd1cbfSKim Phillips bus-frequency = <0>; 10323dd1cbfSKim Phillips 10423dd1cbfSKim Phillips wdt@200 { 10523dd1cbfSKim Phillips device_type = "watchdog"; 10623dd1cbfSKim Phillips compatible = "mpc83xx_wdt"; 10723dd1cbfSKim Phillips reg = <0x200 0x100>; 10823dd1cbfSKim Phillips }; 10923dd1cbfSKim Phillips 11023dd1cbfSKim Phillips i2c@3000 { 11123dd1cbfSKim Phillips #address-cells = <1>; 11223dd1cbfSKim Phillips #size-cells = <0>; 11323dd1cbfSKim Phillips cell-index = <0>; 11423dd1cbfSKim Phillips compatible = "fsl-i2c"; 11523dd1cbfSKim Phillips reg = <0x3000 0x100>; 116cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 11723dd1cbfSKim Phillips interrupt-parent = <&ipic>; 11823dd1cbfSKim Phillips dfsrr; 119f7a0be45SReynes Philippe 120f7a0be45SReynes Philippe at24@50 { 121f7a0be45SReynes Philippe compatible = "at24,24c256"; 122f7a0be45SReynes Philippe reg = <0x50>; 123f7a0be45SReynes Philippe }; 124f7a0be45SReynes Philippe 12523dd1cbfSKim Phillips rtc@68 { 12623dd1cbfSKim Phillips compatible = "dallas,ds1339"; 12723dd1cbfSKim Phillips reg = <0x68>; 12823dd1cbfSKim Phillips }; 12944274698SAnton Vorontsov 13044274698SAnton Vorontsov mcu_pio: mcu@a { 13144274698SAnton Vorontsov #gpio-cells = <2>; 13244274698SAnton Vorontsov compatible = "fsl,mc9s08qg8-mpc8379erdb", 13344274698SAnton Vorontsov "fsl,mcu-mpc8349emitx"; 13444274698SAnton Vorontsov reg = <0x0a>; 13544274698SAnton Vorontsov gpio-controller; 13644274698SAnton Vorontsov }; 13723dd1cbfSKim Phillips }; 13823dd1cbfSKim Phillips 13923dd1cbfSKim Phillips i2c@3100 { 14023dd1cbfSKim Phillips #address-cells = <1>; 14123dd1cbfSKim Phillips #size-cells = <0>; 14223dd1cbfSKim Phillips cell-index = <1>; 14323dd1cbfSKim Phillips compatible = "fsl-i2c"; 14423dd1cbfSKim Phillips reg = <0x3100 0x100>; 145cda13dd1SPaul Gortmaker interrupts = <15 0x8>; 14623dd1cbfSKim Phillips interrupt-parent = <&ipic>; 14723dd1cbfSKim Phillips dfsrr; 14823dd1cbfSKim Phillips }; 14923dd1cbfSKim Phillips 15023dd1cbfSKim Phillips spi@7000 { 15123dd1cbfSKim Phillips cell-index = <0>; 15223dd1cbfSKim Phillips compatible = "fsl,spi"; 15323dd1cbfSKim Phillips reg = <0x7000 0x1000>; 154cda13dd1SPaul Gortmaker interrupts = <16 0x8>; 15523dd1cbfSKim Phillips interrupt-parent = <&ipic>; 15623dd1cbfSKim Phillips mode = "cpu"; 15723dd1cbfSKim Phillips }; 15823dd1cbfSKim Phillips 159dee80553SKumar Gala dma@82a8 { 160dee80553SKumar Gala #address-cells = <1>; 161dee80553SKumar Gala #size-cells = <1>; 162dee80553SKumar Gala compatible = "fsl,mpc8379-dma", "fsl,elo-dma"; 163dee80553SKumar Gala reg = <0x82a8 4>; 164dee80553SKumar Gala ranges = <0 0x8100 0x1a8>; 165dee80553SKumar Gala interrupt-parent = <&ipic>; 166dee80553SKumar Gala interrupts = <71 8>; 167dee80553SKumar Gala cell-index = <0>; 168dee80553SKumar Gala dma-channel@0 { 169dee80553SKumar Gala compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel"; 170dee80553SKumar Gala reg = <0 0x80>; 171aeb42762SKumar Gala cell-index = <0>; 172dee80553SKumar Gala interrupt-parent = <&ipic>; 173dee80553SKumar Gala interrupts = <71 8>; 174dee80553SKumar Gala }; 175dee80553SKumar Gala dma-channel@80 { 176dee80553SKumar Gala compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel"; 177dee80553SKumar Gala reg = <0x80 0x80>; 178aeb42762SKumar Gala cell-index = <1>; 179dee80553SKumar Gala interrupt-parent = <&ipic>; 180dee80553SKumar Gala interrupts = <71 8>; 181dee80553SKumar Gala }; 182dee80553SKumar Gala dma-channel@100 { 183dee80553SKumar Gala compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel"; 184dee80553SKumar Gala reg = <0x100 0x80>; 185aeb42762SKumar Gala cell-index = <2>; 186dee80553SKumar Gala interrupt-parent = <&ipic>; 187dee80553SKumar Gala interrupts = <71 8>; 188dee80553SKumar Gala }; 189dee80553SKumar Gala dma-channel@180 { 190dee80553SKumar Gala compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel"; 191dee80553SKumar Gala reg = <0x180 0x28>; 192aeb42762SKumar Gala cell-index = <3>; 193dee80553SKumar Gala interrupt-parent = <&ipic>; 194dee80553SKumar Gala interrupts = <71 8>; 195dee80553SKumar Gala }; 196dee80553SKumar Gala }; 197dee80553SKumar Gala 19823dd1cbfSKim Phillips usb@23000 { 19923dd1cbfSKim Phillips compatible = "fsl-usb2-dr"; 20023dd1cbfSKim Phillips reg = <0x23000 0x1000>; 20123dd1cbfSKim Phillips #address-cells = <1>; 20223dd1cbfSKim Phillips #size-cells = <0>; 20323dd1cbfSKim Phillips interrupt-parent = <&ipic>; 204cda13dd1SPaul Gortmaker interrupts = <38 0x8>; 2058e8ff3a3SAnton Vorontsov phy_type = "ulpi"; 20623dd1cbfSKim Phillips }; 20723dd1cbfSKim Phillips 20823dd1cbfSKim Phillips mdio@24520 { 20923dd1cbfSKim Phillips #address-cells = <1>; 21023dd1cbfSKim Phillips #size-cells = <0>; 21123dd1cbfSKim Phillips compatible = "fsl,gianfar-mdio"; 21223dd1cbfSKim Phillips reg = <0x24520 0x20>; 21323dd1cbfSKim Phillips phy2: ethernet-phy@2 { 21423dd1cbfSKim Phillips interrupt-parent = <&ipic>; 215cda13dd1SPaul Gortmaker interrupts = <17 0x8>; 216cda13dd1SPaul Gortmaker reg = <0x2>; 21723dd1cbfSKim Phillips device_type = "ethernet-phy"; 21823dd1cbfSKim Phillips }; 219b31a1d8bSAndy Fleming tbi0: tbi-phy@11 { 220b31a1d8bSAndy Fleming reg = <0x11>; 221b31a1d8bSAndy Fleming device_type = "tbi-phy"; 222b31a1d8bSAndy Fleming }; 223b31a1d8bSAndy Fleming }; 224b31a1d8bSAndy Fleming 225b31a1d8bSAndy Fleming mdio@25520 { 226b31a1d8bSAndy Fleming #address-cells = <1>; 227b31a1d8bSAndy Fleming #size-cells = <0>; 228b31a1d8bSAndy Fleming compatible = "fsl,gianfar-tbi"; 229b31a1d8bSAndy Fleming reg = <0x25520 0x20>; 230b31a1d8bSAndy Fleming 231b31a1d8bSAndy Fleming tbi1: tbi-phy@11 { 232b31a1d8bSAndy Fleming reg = <0x11>; 233b31a1d8bSAndy Fleming device_type = "tbi-phy"; 234b31a1d8bSAndy Fleming }; 23523dd1cbfSKim Phillips }; 23623dd1cbfSKim Phillips 23723dd1cbfSKim Phillips enet0: ethernet@24000 { 23823dd1cbfSKim Phillips cell-index = <0>; 23923dd1cbfSKim Phillips device_type = "network"; 24023dd1cbfSKim Phillips model = "eTSEC"; 24123dd1cbfSKim Phillips compatible = "gianfar"; 24223dd1cbfSKim Phillips reg = <0x24000 0x1000>; 24323dd1cbfSKim Phillips local-mac-address = [ 00 00 00 00 00 00 ]; 244cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8 34 0x8>; 24523dd1cbfSKim Phillips phy-connection-type = "mii"; 24623dd1cbfSKim Phillips interrupt-parent = <&ipic>; 247b31a1d8bSAndy Fleming tbi-handle = <&tbi0>; 24823dd1cbfSKim Phillips phy-handle = <&phy2>; 24923dd1cbfSKim Phillips }; 25023dd1cbfSKim Phillips 25123dd1cbfSKim Phillips enet1: ethernet@25000 { 25223dd1cbfSKim Phillips cell-index = <1>; 25323dd1cbfSKim Phillips device_type = "network"; 25423dd1cbfSKim Phillips model = "eTSEC"; 25523dd1cbfSKim Phillips compatible = "gianfar"; 25623dd1cbfSKim Phillips reg = <0x25000 0x1000>; 25723dd1cbfSKim Phillips local-mac-address = [ 00 00 00 00 00 00 ]; 258cda13dd1SPaul Gortmaker interrupts = <35 0x8 36 0x8 37 0x8>; 25923dd1cbfSKim Phillips phy-connection-type = "mii"; 26023dd1cbfSKim Phillips interrupt-parent = <&ipic>; 261f17c6323SAnton Vorontsov fixed-link = <1 1 1000 0 0>; 262b31a1d8bSAndy Fleming tbi-handle = <&tbi1>; 26323dd1cbfSKim Phillips }; 26423dd1cbfSKim Phillips 26523dd1cbfSKim Phillips serial0: serial@4500 { 26623dd1cbfSKim Phillips cell-index = <0>; 26723dd1cbfSKim Phillips device_type = "serial"; 26823dd1cbfSKim Phillips compatible = "ns16550"; 26923dd1cbfSKim Phillips reg = <0x4500 0x100>; 27023dd1cbfSKim Phillips clock-frequency = <0>; 271cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 27223dd1cbfSKim Phillips interrupt-parent = <&ipic>; 27323dd1cbfSKim Phillips }; 27423dd1cbfSKim Phillips 27523dd1cbfSKim Phillips serial1: serial@4600 { 27623dd1cbfSKim Phillips cell-index = <1>; 27723dd1cbfSKim Phillips device_type = "serial"; 27823dd1cbfSKim Phillips compatible = "ns16550"; 27923dd1cbfSKim Phillips reg = <0x4600 0x100>; 28023dd1cbfSKim Phillips clock-frequency = <0>; 281cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 28223dd1cbfSKim Phillips interrupt-parent = <&ipic>; 28323dd1cbfSKim Phillips }; 28423dd1cbfSKim Phillips 28523dd1cbfSKim Phillips crypto@30000 { 2863fd44736SKim Phillips compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2", 2873fd44736SKim Phillips "fsl,sec2.1", "fsl,sec2.0"; 28823dd1cbfSKim Phillips reg = <0x30000 0x10000>; 289cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 29023dd1cbfSKim Phillips interrupt-parent = <&ipic>; 2913fd44736SKim Phillips fsl,num-channels = <4>; 2923fd44736SKim Phillips fsl,channel-fifo-len = <24>; 2933fd44736SKim Phillips fsl,exec-units-mask = <0x9fe>; 2943fd44736SKim Phillips fsl,descriptor-types-mask = <0x3ab0ebf>; 29523dd1cbfSKim Phillips }; 29623dd1cbfSKim Phillips 29723dd1cbfSKim Phillips sata@18000 { 29823dd1cbfSKim Phillips compatible = "fsl,mpc8379-sata", "fsl,pq-sata"; 29923dd1cbfSKim Phillips reg = <0x18000 0x1000>; 300cda13dd1SPaul Gortmaker interrupts = <44 0x8>; 30123dd1cbfSKim Phillips interrupt-parent = <&ipic>; 30223dd1cbfSKim Phillips }; 30323dd1cbfSKim Phillips 30423dd1cbfSKim Phillips sata@19000 { 30523dd1cbfSKim Phillips compatible = "fsl,mpc8379-sata", "fsl,pq-sata"; 30623dd1cbfSKim Phillips reg = <0x19000 0x1000>; 307cda13dd1SPaul Gortmaker interrupts = <45 0x8>; 30823dd1cbfSKim Phillips interrupt-parent = <&ipic>; 30923dd1cbfSKim Phillips }; 31023dd1cbfSKim Phillips 31123dd1cbfSKim Phillips sata@1a000 { 31223dd1cbfSKim Phillips compatible = "fsl,mpc8379-sata", "fsl,pq-sata"; 31323dd1cbfSKim Phillips reg = <0x1a000 0x1000>; 314cda13dd1SPaul Gortmaker interrupts = <46 0x8>; 31523dd1cbfSKim Phillips interrupt-parent = <&ipic>; 31623dd1cbfSKim Phillips }; 31723dd1cbfSKim Phillips 31823dd1cbfSKim Phillips sata@1b000 { 31923dd1cbfSKim Phillips compatible = "fsl,mpc8379-sata", "fsl,pq-sata"; 32023dd1cbfSKim Phillips reg = <0x1b000 0x1000>; 321cda13dd1SPaul Gortmaker interrupts = <47 0x8>; 32223dd1cbfSKim Phillips interrupt-parent = <&ipic>; 32323dd1cbfSKim Phillips }; 32423dd1cbfSKim Phillips 32523dd1cbfSKim Phillips /* IPIC 32623dd1cbfSKim Phillips * interrupts cell = <intr #, sense> 32723dd1cbfSKim Phillips * sense values match linux IORESOURCE_IRQ_* defines: 32823dd1cbfSKim Phillips * sense == 8: Level, low assertion 32923dd1cbfSKim Phillips * sense == 2: Edge, high-to-low change 33023dd1cbfSKim Phillips */ 33123dd1cbfSKim Phillips ipic: interrupt-controller@700 { 33223dd1cbfSKim Phillips compatible = "fsl,ipic"; 33323dd1cbfSKim Phillips interrupt-controller; 33423dd1cbfSKim Phillips #address-cells = <0>; 33523dd1cbfSKim Phillips #interrupt-cells = <2>; 33623dd1cbfSKim Phillips reg = <0x700 0x100>; 33723dd1cbfSKim Phillips }; 33823dd1cbfSKim Phillips }; 33923dd1cbfSKim Phillips 34023dd1cbfSKim Phillips pci0: pci@e0008500 { 34123dd1cbfSKim Phillips interrupt-map-mask = <0xf800 0 0 7>; 34223dd1cbfSKim Phillips interrupt-map = < 34323dd1cbfSKim Phillips /* IRQ5 = 21 = 0x15, IRQ6 = 0x16, IRQ7 = 23 = 0x17 */ 34423dd1cbfSKim Phillips 34523dd1cbfSKim Phillips /* IDSEL AD14 IRQ6 inta */ 346cda13dd1SPaul Gortmaker 0x7000 0x0 0x0 0x1 &ipic 22 0x8 34723dd1cbfSKim Phillips 34823dd1cbfSKim Phillips /* IDSEL AD15 IRQ5 inta, IRQ6 intb, IRQ7 intd */ 349cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x1 &ipic 21 0x8 350cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x2 &ipic 22 0x8 351cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x4 &ipic 23 0x8 35223dd1cbfSKim Phillips 35323dd1cbfSKim Phillips /* IDSEL AD28 IRQ7 inta, IRQ5 intb IRQ6 intc*/ 354cda13dd1SPaul Gortmaker 0xE000 0x0 0x0 0x1 &ipic 23 0x8 355cda13dd1SPaul Gortmaker 0xE000 0x0 0x0 0x2 &ipic 21 0x8 356cda13dd1SPaul Gortmaker 0xE000 0x0 0x0 0x3 &ipic 22 0x8>; 35723dd1cbfSKim Phillips interrupt-parent = <&ipic>; 358cda13dd1SPaul Gortmaker interrupts = <66 0x8>; 359cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 360cda13dd1SPaul Gortmaker ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 361cda13dd1SPaul Gortmaker 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 362cda13dd1SPaul Gortmaker 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>; 36323dd1cbfSKim Phillips clock-frequency = <66666666>; 36423dd1cbfSKim Phillips #interrupt-cells = <1>; 36523dd1cbfSKim Phillips #size-cells = <2>; 36623dd1cbfSKim Phillips #address-cells = <3>; 3675b70a097SJohn Rigby reg = <0xe0008500 0x100 /* internal registers */ 3685b70a097SJohn Rigby 0xe0008300 0x8>; /* config space access registers */ 36923dd1cbfSKim Phillips compatible = "fsl,mpc8349-pci"; 37023dd1cbfSKim Phillips device_type = "pci"; 37123dd1cbfSKim Phillips }; 37223dd1cbfSKim Phillips}; 373