1b359049fSKim Phillips/* 2b359049fSKim Phillips * MPC8313E RDB Device Tree Source 3b359049fSKim Phillips * 4b359049fSKim Phillips * Copyright 2005, 2006, 2007 Freescale Semiconductor Inc. 5b359049fSKim Phillips * 6b359049fSKim Phillips * This program is free software; you can redistribute it and/or modify it 7b359049fSKim Phillips * under the terms of the GNU General Public License as published by the 8b359049fSKim Phillips * Free Software Foundation; either version 2 of the License, or (at your 9b359049fSKim Phillips * option) any later version. 10b359049fSKim Phillips */ 11b359049fSKim Phillips 12cda13dd1SPaul Gortmaker/dts-v1/; 13cda13dd1SPaul Gortmaker 14b359049fSKim Phillips/ { 15b359049fSKim Phillips model = "MPC8313ERDB"; 16d71a1dc6SKumar Gala compatible = "MPC8313ERDB", "MPC831xRDB", "MPC83xxRDB"; 17b359049fSKim Phillips #address-cells = <1>; 18b359049fSKim Phillips #size-cells = <1>; 19b359049fSKim Phillips 20ea082fa9SKumar Gala aliases { 21ea082fa9SKumar Gala ethernet0 = &enet0; 22ea082fa9SKumar Gala ethernet1 = &enet1; 23ea082fa9SKumar Gala serial0 = &serial0; 24ea082fa9SKumar Gala serial1 = &serial1; 25ea082fa9SKumar Gala pci0 = &pci0; 26ea082fa9SKumar Gala }; 27ea082fa9SKumar Gala 28b359049fSKim Phillips cpus { 29b359049fSKim Phillips #address-cells = <1>; 30b359049fSKim Phillips #size-cells = <0>; 31b359049fSKim Phillips 32b359049fSKim Phillips PowerPC,8313@0 { 33b359049fSKim Phillips device_type = "cpu"; 34cda13dd1SPaul Gortmaker reg = <0x0>; 35cda13dd1SPaul Gortmaker d-cache-line-size = <32>; 36cda13dd1SPaul Gortmaker i-cache-line-size = <32>; 37cda13dd1SPaul Gortmaker d-cache-size = <16384>; 38cda13dd1SPaul Gortmaker i-cache-size = <16384>; 39b359049fSKim Phillips timebase-frequency = <0>; // from bootloader 40b359049fSKim Phillips bus-frequency = <0>; // from bootloader 41b359049fSKim Phillips clock-frequency = <0>; // from bootloader 42b359049fSKim Phillips }; 43b359049fSKim Phillips }; 44b359049fSKim Phillips 45b359049fSKim Phillips memory { 46b359049fSKim Phillips device_type = "memory"; 47cda13dd1SPaul Gortmaker reg = <0x00000000 0x08000000>; // 128MB at 0 48b359049fSKim Phillips }; 49b359049fSKim Phillips 50ff5ac760SScott Wood localbus@e0005000 { 51ff5ac760SScott Wood #address-cells = <2>; 52ff5ac760SScott Wood #size-cells = <1>; 53ff5ac760SScott Wood compatible = "fsl,mpc8313-elbc", "fsl,elbc", "simple-bus"; 54cda13dd1SPaul Gortmaker reg = <0xe0005000 0x1000>; 55cda13dd1SPaul Gortmaker interrupts = <77 0x8>; 56ff5ac760SScott Wood interrupt-parent = <&ipic>; 57ff5ac760SScott Wood 58ff5ac760SScott Wood // CS0 and CS1 are swapped when 59ff5ac760SScott Wood // booting from nand, but the 60ff5ac760SScott Wood // addresses are the same. 61cda13dd1SPaul Gortmaker ranges = <0x0 0x0 0xfe000000 0x00800000 62cda13dd1SPaul Gortmaker 0x1 0x0 0xe2800000 0x00008000 63cda13dd1SPaul Gortmaker 0x2 0x0 0xf0000000 0x00020000 64cda13dd1SPaul Gortmaker 0x3 0x0 0xfa000000 0x00008000>; 65ff5ac760SScott Wood 6612600e48SScott Wood flash@0,0 { 6712600e48SScott Wood #address-cells = <1>; 6812600e48SScott Wood #size-cells = <1>; 6912600e48SScott Wood compatible = "cfi-flash"; 70cda13dd1SPaul Gortmaker reg = <0x0 0x0 0x800000>; 7112600e48SScott Wood bank-width = <2>; 7212600e48SScott Wood device-width = <1>; 7312600e48SScott Wood }; 7412600e48SScott Wood 75ff5ac760SScott Wood nand@1,0 { 76ff5ac760SScott Wood #address-cells = <1>; 77ff5ac760SScott Wood #size-cells = <1>; 78ff5ac760SScott Wood compatible = "fsl,mpc8313-fcm-nand", 79ff5ac760SScott Wood "fsl,elbc-fcm-nand"; 80cda13dd1SPaul Gortmaker reg = <0x1 0x0 0x2000>; 81ff5ac760SScott Wood 82ff5ac760SScott Wood u-boot@0 { 83cda13dd1SPaul Gortmaker reg = <0x0 0x100000>; 84ff5ac760SScott Wood read-only; 85ff5ac760SScott Wood }; 86ff5ac760SScott Wood 87ff5ac760SScott Wood kernel@100000 { 88cda13dd1SPaul Gortmaker reg = <0x100000 0x300000>; 89ff5ac760SScott Wood }; 90ff5ac760SScott Wood 91ff5ac760SScott Wood fs@400000 { 92cda13dd1SPaul Gortmaker reg = <0x400000 0x1c00000>; 93ff5ac760SScott Wood }; 94ff5ac760SScott Wood }; 95ff5ac760SScott Wood }; 96ff5ac760SScott Wood 97b359049fSKim Phillips soc8313@e0000000 { 98b359049fSKim Phillips #address-cells = <1>; 99b359049fSKim Phillips #size-cells = <1>; 100b359049fSKim Phillips device_type = "soc"; 101ff5ac760SScott Wood compatible = "simple-bus"; 102cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 103cda13dd1SPaul Gortmaker reg = <0xe0000000 0x00000200>; 104b359049fSKim Phillips bus-frequency = <0>; 105b359049fSKim Phillips 106b359049fSKim Phillips wdt@200 { 107b359049fSKim Phillips device_type = "watchdog"; 108b359049fSKim Phillips compatible = "mpc83xx_wdt"; 109cda13dd1SPaul Gortmaker reg = <0x200 0x100>; 110b359049fSKim Phillips }; 111b359049fSKim Phillips 112b359049fSKim Phillips i2c@3000 { 113ec9686c4SKumar Gala #address-cells = <1>; 114ec9686c4SKumar Gala #size-cells = <0>; 115ec9686c4SKumar Gala cell-index = <0>; 116b359049fSKim Phillips compatible = "fsl-i2c"; 117cda13dd1SPaul Gortmaker reg = <0x3000 0x100>; 118cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 119d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 120b359049fSKim Phillips dfsrr; 121b359049fSKim Phillips }; 122b359049fSKim Phillips 123b359049fSKim Phillips i2c@3100 { 124ec9686c4SKumar Gala #address-cells = <1>; 125ec9686c4SKumar Gala #size-cells = <0>; 126ec9686c4SKumar Gala cell-index = <1>; 127b359049fSKim Phillips compatible = "fsl-i2c"; 128cda13dd1SPaul Gortmaker reg = <0x3100 0x100>; 129cda13dd1SPaul Gortmaker interrupts = <15 0x8>; 130d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 131b359049fSKim Phillips dfsrr; 132b359049fSKim Phillips }; 133b359049fSKim Phillips 134b359049fSKim Phillips spi@7000 { 135f3a2b29dSAnton Vorontsov cell-index = <0>; 136f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 137cda13dd1SPaul Gortmaker reg = <0x7000 0x1000>; 138cda13dd1SPaul Gortmaker interrupts = <16 0x8>; 139d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 14033799e33SPeter Korsgaard mode = "cpu"; 141b359049fSKim Phillips }; 142b359049fSKim Phillips 143b359049fSKim Phillips /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */ 144b359049fSKim Phillips usb@23000 { 145b359049fSKim Phillips compatible = "fsl-usb2-dr"; 146cda13dd1SPaul Gortmaker reg = <0x23000 0x1000>; 147b359049fSKim Phillips #address-cells = <1>; 148b359049fSKim Phillips #size-cells = <0>; 149d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 150cda13dd1SPaul Gortmaker interrupts = <38 0x8>; 151b359049fSKim Phillips phy_type = "utmi_wide"; 152b359049fSKim Phillips }; 153b359049fSKim Phillips 154b359049fSKim Phillips mdio@24520 { 155b359049fSKim Phillips #address-cells = <1>; 156b359049fSKim Phillips #size-cells = <0>; 157e77b28ebSKumar Gala compatible = "fsl,gianfar-mdio"; 158cda13dd1SPaul Gortmaker reg = <0x24520 0x20>; 159d71a1dc6SKumar Gala phy1: ethernet-phy@1 { 160d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 161cda13dd1SPaul Gortmaker interrupts = <19 0x8>; 162cda13dd1SPaul Gortmaker reg = <0x1>; 163b359049fSKim Phillips device_type = "ethernet-phy"; 164b359049fSKim Phillips }; 165d71a1dc6SKumar Gala phy4: ethernet-phy@4 { 166d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 167cda13dd1SPaul Gortmaker interrupts = <20 0x8>; 168cda13dd1SPaul Gortmaker reg = <0x4>; 169b359049fSKim Phillips device_type = "ethernet-phy"; 170b359049fSKim Phillips }; 171b359049fSKim Phillips }; 172b359049fSKim Phillips 173e77b28ebSKumar Gala enet0: ethernet@24000 { 174e77b28ebSKumar Gala cell-index = <0>; 175b359049fSKim Phillips device_type = "network"; 176b359049fSKim Phillips model = "eTSEC"; 177b359049fSKim Phillips compatible = "gianfar"; 178cda13dd1SPaul Gortmaker reg = <0x24000 0x1000>; 179b359049fSKim Phillips local-mac-address = [ 00 00 00 00 00 00 ]; 180cda13dd1SPaul Gortmaker interrupts = <37 0x8 36 0x8 35 0x8>; 181d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 182d71a1dc6SKumar Gala phy-handle = < &phy1 >; 183b359049fSKim Phillips }; 184b359049fSKim Phillips 185e77b28ebSKumar Gala enet1: ethernet@25000 { 186e77b28ebSKumar Gala cell-index = <1>; 187b359049fSKim Phillips device_type = "network"; 188b359049fSKim Phillips model = "eTSEC"; 189b359049fSKim Phillips compatible = "gianfar"; 190cda13dd1SPaul Gortmaker reg = <0x25000 0x1000>; 191b359049fSKim Phillips local-mac-address = [ 00 00 00 00 00 00 ]; 192cda13dd1SPaul Gortmaker interrupts = <34 0x8 33 0x8 32 0x8>; 193d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 194d71a1dc6SKumar Gala phy-handle = < &phy4 >; 195b359049fSKim Phillips }; 196b359049fSKim Phillips 197ea082fa9SKumar Gala serial0: serial@4500 { 198ea082fa9SKumar Gala cell-index = <0>; 199b359049fSKim Phillips device_type = "serial"; 200b359049fSKim Phillips compatible = "ns16550"; 201cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 202b359049fSKim Phillips clock-frequency = <0>; 203cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 204d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 205b359049fSKim Phillips }; 206b359049fSKim Phillips 207ea082fa9SKumar Gala serial1: serial@4600 { 208ea082fa9SKumar Gala cell-index = <1>; 209b359049fSKim Phillips device_type = "serial"; 210b359049fSKim Phillips compatible = "ns16550"; 211cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 212b359049fSKim Phillips clock-frequency = <0>; 213cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 214d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 215b359049fSKim Phillips }; 216b359049fSKim Phillips 217b359049fSKim Phillips crypto@30000 { 218b359049fSKim Phillips device_type = "crypto"; 219b359049fSKim Phillips model = "SEC2"; 220b359049fSKim Phillips compatible = "talitos"; 221cda13dd1SPaul Gortmaker reg = <0x30000 0x7000>; 222cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 223d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 224b359049fSKim Phillips /* Rev. 2.2 */ 225b359049fSKim Phillips num-channels = <1>; 226cda13dd1SPaul Gortmaker channel-fifo-len = <24>; 227cda13dd1SPaul Gortmaker exec-units-mask = <0x0000004c>; 228cda13dd1SPaul Gortmaker descriptor-types-mask = <0x0122003f>; 229b359049fSKim Phillips }; 230b359049fSKim Phillips 231b359049fSKim Phillips /* IPIC 232b359049fSKim Phillips * interrupts cell = <intr #, sense> 233b359049fSKim Phillips * sense values match linux IORESOURCE_IRQ_* defines: 234b359049fSKim Phillips * sense == 8: Level, low assertion 235b359049fSKim Phillips * sense == 2: Edge, high-to-low change 236b359049fSKim Phillips */ 237d71a1dc6SKumar Gala ipic: pic@700 { 238b359049fSKim Phillips interrupt-controller; 239b359049fSKim Phillips #address-cells = <0>; 240b359049fSKim Phillips #interrupt-cells = <2>; 241cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 242b359049fSKim Phillips device_type = "ipic"; 243b359049fSKim Phillips }; 244b359049fSKim Phillips }; 2451b3c5cdaSKumar Gala 246ea082fa9SKumar Gala pci0: pci@e0008500 { 247ea082fa9SKumar Gala cell-index = <1>; 248cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 2491b3c5cdaSKumar Gala interrupt-map = < 2501b3c5cdaSKumar Gala 2511b3c5cdaSKumar Gala /* IDSEL 0x0E -mini PCI */ 252cda13dd1SPaul Gortmaker 0x7000 0x0 0x0 0x1 &ipic 18 0x8 253cda13dd1SPaul Gortmaker 0x7000 0x0 0x0 0x2 &ipic 18 0x8 254cda13dd1SPaul Gortmaker 0x7000 0x0 0x0 0x3 &ipic 18 0x8 255cda13dd1SPaul Gortmaker 0x7000 0x0 0x0 0x4 &ipic 18 0x8 2561b3c5cdaSKumar Gala 2571b3c5cdaSKumar Gala /* IDSEL 0x0F - PCI slot */ 258cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x1 &ipic 17 0x8 259cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x2 &ipic 18 0x8 260cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x3 &ipic 17 0x8 261cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x4 &ipic 18 0x8>; 2621b3c5cdaSKumar Gala interrupt-parent = <&ipic>; 263cda13dd1SPaul Gortmaker interrupts = <66 0x8>; 264cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 265cda13dd1SPaul Gortmaker ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 266cda13dd1SPaul Gortmaker 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 267cda13dd1SPaul Gortmaker 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>; 268cda13dd1SPaul Gortmaker clock-frequency = <66666666>; 2691b3c5cdaSKumar Gala #interrupt-cells = <1>; 2701b3c5cdaSKumar Gala #size-cells = <2>; 2711b3c5cdaSKumar Gala #address-cells = <3>; 272cda13dd1SPaul Gortmaker reg = <0xe0008500 0x100>; 2731b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2741b3c5cdaSKumar Gala device_type = "pci"; 2751b3c5cdaSKumar Gala }; 276b359049fSKim Phillips}; 277