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 12b359049fSKim Phillips/ { 13b359049fSKim Phillips model = "MPC8313ERDB"; 14b359049fSKim Phillips compatible = "MPC83xx"; 15b359049fSKim Phillips #address-cells = <1>; 16b359049fSKim Phillips #size-cells = <1>; 17b359049fSKim Phillips 18b359049fSKim Phillips cpus { 19b359049fSKim Phillips #cpus = <1>; 20b359049fSKim Phillips #address-cells = <1>; 21b359049fSKim Phillips #size-cells = <0>; 22b359049fSKim Phillips 23b359049fSKim Phillips PowerPC,8313@0 { 24b359049fSKim Phillips device_type = "cpu"; 25b359049fSKim Phillips reg = <0>; 26b359049fSKim Phillips d-cache-line-size = <20>; // 32 bytes 27b359049fSKim Phillips i-cache-line-size = <20>; // 32 bytes 28b359049fSKim Phillips d-cache-size = <4000>; // L1, 16K 29b359049fSKim Phillips i-cache-size = <4000>; // L1, 16K 30b359049fSKim Phillips timebase-frequency = <0>; // from bootloader 31b359049fSKim Phillips bus-frequency = <0>; // from bootloader 32b359049fSKim Phillips clock-frequency = <0>; // from bootloader 33b359049fSKim Phillips 32-bit; 34b359049fSKim Phillips }; 35b359049fSKim Phillips }; 36b359049fSKim Phillips 37b359049fSKim Phillips memory { 38b359049fSKim Phillips device_type = "memory"; 39b359049fSKim Phillips reg = <00000000 08000000>; // 128MB at 0 40b359049fSKim Phillips }; 41b359049fSKim Phillips 42b359049fSKim Phillips soc8313@e0000000 { 43b359049fSKim Phillips #address-cells = <1>; 44b359049fSKim Phillips #size-cells = <1>; 45b359049fSKim Phillips #interrupt-cells = <2>; 46b359049fSKim Phillips device_type = "soc"; 47b359049fSKim Phillips ranges = <0 e0000000 00100000>; 48b359049fSKim Phillips reg = <e0000000 00000200>; 49b359049fSKim Phillips bus-frequency = <0>; 50b359049fSKim Phillips 51b359049fSKim Phillips wdt@200 { 52b359049fSKim Phillips device_type = "watchdog"; 53b359049fSKim Phillips compatible = "mpc83xx_wdt"; 54b359049fSKim Phillips reg = <200 100>; 55b359049fSKim Phillips }; 56b359049fSKim Phillips 57b359049fSKim Phillips i2c@3000 { 58b359049fSKim Phillips device_type = "i2c"; 59b359049fSKim Phillips compatible = "fsl-i2c"; 60b359049fSKim Phillips reg = <3000 100>; 61b359049fSKim Phillips interrupts = <e 8>; 62b359049fSKim Phillips interrupt-parent = <700>; 63b359049fSKim Phillips dfsrr; 64b359049fSKim Phillips }; 65b359049fSKim Phillips 66b359049fSKim Phillips i2c@3100 { 67b359049fSKim Phillips device_type = "i2c"; 68b359049fSKim Phillips compatible = "fsl-i2c"; 69b359049fSKim Phillips reg = <3100 100>; 70b359049fSKim Phillips interrupts = <f 8>; 71b359049fSKim Phillips interrupt-parent = <700>; 72b359049fSKim Phillips dfsrr; 73b359049fSKim Phillips }; 74b359049fSKim Phillips 75b359049fSKim Phillips spi@7000 { 76b359049fSKim Phillips device_type = "spi"; 77b359049fSKim Phillips compatible = "mpc83xx_spi"; 78b359049fSKim Phillips reg = <7000 1000>; 79b359049fSKim Phillips interrupts = <10 8>; 80b359049fSKim Phillips interrupt-parent = <700>; 81b359049fSKim Phillips mode = <0>; 82b359049fSKim Phillips }; 83b359049fSKim Phillips 84b359049fSKim Phillips /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */ 85b359049fSKim Phillips usb@23000 { 86b359049fSKim Phillips device_type = "usb"; 87b359049fSKim Phillips compatible = "fsl-usb2-dr"; 88b359049fSKim Phillips reg = <23000 1000>; 89b359049fSKim Phillips #address-cells = <1>; 90b359049fSKim Phillips #size-cells = <0>; 91b359049fSKim Phillips interrupt-parent = <700>; 92b359049fSKim Phillips interrupts = <26 2>; 93b359049fSKim Phillips phy_type = "utmi_wide"; 94b359049fSKim Phillips }; 95b359049fSKim Phillips 96b359049fSKim Phillips mdio@24520 { 97b359049fSKim Phillips device_type = "mdio"; 98b359049fSKim Phillips compatible = "gianfar"; 99b359049fSKim Phillips reg = <24520 20>; 100b359049fSKim Phillips #address-cells = <1>; 101b359049fSKim Phillips #size-cells = <0>; 102b359049fSKim Phillips linux,phandle = <24520>; 103b359049fSKim Phillips ethernet-phy@1 { 104b359049fSKim Phillips linux,phandle = <2452001>; 105b359049fSKim Phillips interrupt-parent = <700>; 106b359049fSKim Phillips interrupts = <13 2>; 107b359049fSKim Phillips reg = <1>; 108b359049fSKim Phillips device_type = "ethernet-phy"; 109b359049fSKim Phillips }; 110b359049fSKim Phillips ethernet-phy@4 { 111b359049fSKim Phillips linux,phandle = <2452004>; 112b359049fSKim Phillips interrupt-parent = <700>; 113b359049fSKim Phillips interrupts = <14 2>; 114b359049fSKim Phillips reg = <4>; 115b359049fSKim Phillips device_type = "ethernet-phy"; 116b359049fSKim Phillips }; 117b359049fSKim Phillips }; 118b359049fSKim Phillips 119b359049fSKim Phillips ethernet@24000 { 120b359049fSKim Phillips device_type = "network"; 121b359049fSKim Phillips model = "eTSEC"; 122b359049fSKim Phillips compatible = "gianfar"; 123b359049fSKim Phillips reg = <24000 1000>; 124b359049fSKim Phillips local-mac-address = [ 00 00 00 00 00 00 ]; 125b359049fSKim Phillips interrupts = <25 8 24 8 23 8>; 126b359049fSKim Phillips interrupt-parent = <700>; 127b359049fSKim Phillips phy-handle = <2452001>; 128b359049fSKim Phillips }; 129b359049fSKim Phillips 130b359049fSKim Phillips ethernet@25000 { 131b359049fSKim Phillips device_type = "network"; 132b359049fSKim Phillips model = "eTSEC"; 133b359049fSKim Phillips compatible = "gianfar"; 134b359049fSKim Phillips reg = <25000 1000>; 135b359049fSKim Phillips local-mac-address = [ 00 00 00 00 00 00 ]; 136b359049fSKim Phillips interrupts = <22 8 21 8 20 8>; 137b359049fSKim Phillips interrupt-parent = <700>; 138b359049fSKim Phillips phy-handle = <2452004>; 139b359049fSKim Phillips }; 140b359049fSKim Phillips 141b359049fSKim Phillips serial@4500 { 142b359049fSKim Phillips device_type = "serial"; 143b359049fSKim Phillips compatible = "ns16550"; 144b359049fSKim Phillips reg = <4500 100>; 145b359049fSKim Phillips clock-frequency = <0>; 146b359049fSKim Phillips interrupts = <9 8>; 147b359049fSKim Phillips interrupt-parent = <700>; 148b359049fSKim Phillips }; 149b359049fSKim Phillips 150b359049fSKim Phillips serial@4600 { 151b359049fSKim Phillips device_type = "serial"; 152b359049fSKim Phillips compatible = "ns16550"; 153b359049fSKim Phillips reg = <4600 100>; 154b359049fSKim Phillips clock-frequency = <0>; 155b359049fSKim Phillips interrupts = <a 8>; 156b359049fSKim Phillips interrupt-parent = <700>; 157b359049fSKim Phillips }; 158b359049fSKim Phillips 159b359049fSKim Phillips pci@8500 { 160b359049fSKim Phillips interrupt-map-mask = <f800 0 0 7>; 161b359049fSKim Phillips interrupt-map = < 162b359049fSKim Phillips 163b359049fSKim Phillips /* IDSEL 0x0E -mini PCI */ 164b359049fSKim Phillips 7000 0 0 1 700 12 8 165b359049fSKim Phillips 7000 0 0 2 700 12 8 166b359049fSKim Phillips 7000 0 0 3 700 12 8 167b359049fSKim Phillips 7000 0 0 4 700 12 8 168b359049fSKim Phillips 169b359049fSKim Phillips /* IDSEL 0x0F - PCI slot */ 170b359049fSKim Phillips 7800 0 0 1 700 11 8 171b359049fSKim Phillips 7800 0 0 2 700 12 8 172b359049fSKim Phillips 7800 0 0 3 700 11 8 173b359049fSKim Phillips 7800 0 0 4 700 12 8>; 174b359049fSKim Phillips interrupt-parent = <700>; 175b359049fSKim Phillips interrupts = <42 8>; 176b359049fSKim Phillips bus-range = <0 0>; 177b359049fSKim Phillips ranges = <02000000 0 90000000 90000000 0 10000000 178b359049fSKim Phillips 42000000 0 80000000 80000000 0 10000000 179b359049fSKim Phillips 01000000 0 00000000 e2000000 0 00100000>; 180b359049fSKim Phillips clock-frequency = <3f940aa>; 181b359049fSKim Phillips #interrupt-cells = <1>; 182b359049fSKim Phillips #size-cells = <2>; 183b359049fSKim Phillips #address-cells = <3>; 184b359049fSKim Phillips reg = <8500 100>; 185b359049fSKim Phillips compatible = "83xx"; 186b359049fSKim Phillips device_type = "pci"; 187b359049fSKim Phillips }; 188b359049fSKim Phillips 189b359049fSKim Phillips crypto@30000 { 190b359049fSKim Phillips device_type = "crypto"; 191b359049fSKim Phillips model = "SEC2"; 192b359049fSKim Phillips compatible = "talitos"; 193b359049fSKim Phillips reg = <30000 7000>; 194b359049fSKim Phillips interrupts = <b 8>; 195b359049fSKim Phillips interrupt-parent = <700>; 196b359049fSKim Phillips /* Rev. 2.2 */ 197b359049fSKim Phillips num-channels = <1>; 198b359049fSKim Phillips channel-fifo-len = <18>; 199b359049fSKim Phillips exec-units-mask = <0000004c>; 200b359049fSKim Phillips descriptor-types-mask = <0122003f>; 201b359049fSKim Phillips }; 202b359049fSKim Phillips 203b359049fSKim Phillips /* IPIC 204b359049fSKim Phillips * interrupts cell = <intr #, sense> 205b359049fSKim Phillips * sense values match linux IORESOURCE_IRQ_* defines: 206b359049fSKim Phillips * sense == 8: Level, low assertion 207b359049fSKim Phillips * sense == 2: Edge, high-to-low change 208b359049fSKim Phillips */ 209b359049fSKim Phillips pic@700 { 210b359049fSKim Phillips linux,phandle = <700>; 211b359049fSKim Phillips interrupt-controller; 212b359049fSKim Phillips #address-cells = <0>; 213b359049fSKim Phillips #interrupt-cells = <2>; 214b359049fSKim Phillips reg = <700 100>; 215b359049fSKim Phillips built-in; 216b359049fSKim Phillips device_type = "ipic"; 217b359049fSKim Phillips }; 218b359049fSKim Phillips }; 219b359049fSKim Phillips}; 220