1c8bf6b52SJohn Bonesio/* 2c8bf6b52SJohn Bonesio * base MPC5200b Device Tree Source 3c8bf6b52SJohn Bonesio * 4c8bf6b52SJohn Bonesio * Copyright (C) 2010 SecretLab 5c8bf6b52SJohn Bonesio * Grant Likely <grant@secretlab.ca> 6c8bf6b52SJohn Bonesio * John Bonesio <bones@secretlab.ca> 7c8bf6b52SJohn Bonesio * 8c8bf6b52SJohn Bonesio * This program is free software; you can redistribute it and/or modify it 9c8bf6b52SJohn Bonesio * under the terms of the GNU General Public License as published by the 10c8bf6b52SJohn Bonesio * Free Software Foundation; either version 2 of the License, or (at your 11c8bf6b52SJohn Bonesio * option) any later version. 12c8bf6b52SJohn Bonesio */ 13c8bf6b52SJohn Bonesio 14c8bf6b52SJohn Bonesio/dts-v1/; 15c8bf6b52SJohn Bonesio 16c8bf6b52SJohn Bonesio/ { 17c8bf6b52SJohn Bonesio model = "fsl,mpc5200b"; 18c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b"; 19c8bf6b52SJohn Bonesio #address-cells = <1>; 20c8bf6b52SJohn Bonesio #size-cells = <1>; 21c8bf6b52SJohn Bonesio interrupt-parent = <&mpc5200_pic>; 22c8bf6b52SJohn Bonesio 23c8bf6b52SJohn Bonesio cpus { 24c8bf6b52SJohn Bonesio #address-cells = <1>; 25c8bf6b52SJohn Bonesio #size-cells = <0>; 26c8bf6b52SJohn Bonesio 27c8bf6b52SJohn Bonesio powerpc: PowerPC,5200@0 { 28c8bf6b52SJohn Bonesio device_type = "cpu"; 29c8bf6b52SJohn Bonesio reg = <0>; 30c8bf6b52SJohn Bonesio d-cache-line-size = <32>; 31c8bf6b52SJohn Bonesio i-cache-line-size = <32>; 32c8bf6b52SJohn Bonesio d-cache-size = <0x4000>; // L1, 16K 33c8bf6b52SJohn Bonesio i-cache-size = <0x4000>; // L1, 16K 34c8bf6b52SJohn Bonesio timebase-frequency = <0>; // from bootloader 35c8bf6b52SJohn Bonesio bus-frequency = <0>; // from bootloader 36c8bf6b52SJohn Bonesio clock-frequency = <0>; // from bootloader 37c8bf6b52SJohn Bonesio }; 38c8bf6b52SJohn Bonesio }; 39c8bf6b52SJohn Bonesio 40c8bf6b52SJohn Bonesio memory: memory { 41c8bf6b52SJohn Bonesio device_type = "memory"; 42c8bf6b52SJohn Bonesio reg = <0x00000000 0x04000000>; // 64MB 43c8bf6b52SJohn Bonesio }; 44c8bf6b52SJohn Bonesio 45c8bf6b52SJohn Bonesio soc: soc5200@f0000000 { 46c8bf6b52SJohn Bonesio #address-cells = <1>; 47c8bf6b52SJohn Bonesio #size-cells = <1>; 48c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-immr"; 49c8bf6b52SJohn Bonesio ranges = <0 0xf0000000 0x0000c000>; 50c8bf6b52SJohn Bonesio reg = <0xf0000000 0x00000100>; 51c8bf6b52SJohn Bonesio bus-frequency = <0>; // from bootloader 52c8bf6b52SJohn Bonesio system-frequency = <0>; // from bootloader 53c8bf6b52SJohn Bonesio 54c8bf6b52SJohn Bonesio cdm@200 { 55c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm"; 56c8bf6b52SJohn Bonesio reg = <0x200 0x38>; 57c8bf6b52SJohn Bonesio }; 58c8bf6b52SJohn Bonesio 59c8bf6b52SJohn Bonesio mpc5200_pic: interrupt-controller@500 { 60c8bf6b52SJohn Bonesio // 5200 interrupts are encoded into two levels; 61c8bf6b52SJohn Bonesio interrupt-controller; 62c8bf6b52SJohn Bonesio #interrupt-cells = <3>; 63c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; 64c8bf6b52SJohn Bonesio reg = <0x500 0x80>; 65c8bf6b52SJohn Bonesio }; 66c8bf6b52SJohn Bonesio 67c8bf6b52SJohn Bonesio timer@600 { // General Purpose Timer 68c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 69c8bf6b52SJohn Bonesio reg = <0x600 0x10>; 70c8bf6b52SJohn Bonesio interrupts = <1 9 0>; 71c8bf6b52SJohn Bonesio }; 72c8bf6b52SJohn Bonesio 73c8bf6b52SJohn Bonesio timer@610 { // General Purpose Timer 74c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 75c8bf6b52SJohn Bonesio reg = <0x610 0x10>; 76c8bf6b52SJohn Bonesio interrupts = <1 10 0>; 77c8bf6b52SJohn Bonesio }; 78c8bf6b52SJohn Bonesio 79c8bf6b52SJohn Bonesio timer@620 { // General Purpose Timer 80c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 81c8bf6b52SJohn Bonesio reg = <0x620 0x10>; 82c8bf6b52SJohn Bonesio interrupts = <1 11 0>; 83c8bf6b52SJohn Bonesio }; 84c8bf6b52SJohn Bonesio 85c8bf6b52SJohn Bonesio timer@630 { // General Purpose Timer 86c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 87c8bf6b52SJohn Bonesio reg = <0x630 0x10>; 88c8bf6b52SJohn Bonesio interrupts = <1 12 0>; 89c8bf6b52SJohn Bonesio }; 90c8bf6b52SJohn Bonesio 91c8bf6b52SJohn Bonesio timer@640 { // General Purpose Timer 92c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 93c8bf6b52SJohn Bonesio reg = <0x640 0x10>; 94c8bf6b52SJohn Bonesio interrupts = <1 13 0>; 95c8bf6b52SJohn Bonesio }; 96c8bf6b52SJohn Bonesio 97c8bf6b52SJohn Bonesio timer@650 { // General Purpose Timer 98c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 99c8bf6b52SJohn Bonesio reg = <0x650 0x10>; 100c8bf6b52SJohn Bonesio interrupts = <1 14 0>; 101c8bf6b52SJohn Bonesio }; 102c8bf6b52SJohn Bonesio 103c8bf6b52SJohn Bonesio timer@660 { // General Purpose Timer 104c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 105c8bf6b52SJohn Bonesio reg = <0x660 0x10>; 106c8bf6b52SJohn Bonesio interrupts = <1 15 0>; 107c8bf6b52SJohn Bonesio }; 108c8bf6b52SJohn Bonesio 109c8bf6b52SJohn Bonesio timer@670 { // General Purpose Timer 110c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 111c8bf6b52SJohn Bonesio reg = <0x670 0x10>; 112c8bf6b52SJohn Bonesio interrupts = <1 16 0>; 113c8bf6b52SJohn Bonesio }; 114c8bf6b52SJohn Bonesio 115c8bf6b52SJohn Bonesio rtc@800 { // Real time clock 116c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; 117c8bf6b52SJohn Bonesio reg = <0x800 0x100>; 118c8bf6b52SJohn Bonesio interrupts = <1 5 0 1 6 0>; 119c8bf6b52SJohn Bonesio }; 120c8bf6b52SJohn Bonesio 121c8bf6b52SJohn Bonesio can@900 { 122c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan"; 123c8bf6b52SJohn Bonesio interrupts = <2 17 0>; 124c8bf6b52SJohn Bonesio reg = <0x900 0x80>; 125c8bf6b52SJohn Bonesio }; 126c8bf6b52SJohn Bonesio 127c8bf6b52SJohn Bonesio can@980 { 128c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan"; 129c8bf6b52SJohn Bonesio interrupts = <2 18 0>; 130c8bf6b52SJohn Bonesio reg = <0x980 0x80>; 131c8bf6b52SJohn Bonesio }; 132c8bf6b52SJohn Bonesio 133c8bf6b52SJohn Bonesio gpio_simple: gpio@b00 { 134c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio"; 135c8bf6b52SJohn Bonesio reg = <0xb00 0x40>; 136c8bf6b52SJohn Bonesio interrupts = <1 7 0>; 137c8bf6b52SJohn Bonesio gpio-controller; 138c8bf6b52SJohn Bonesio #gpio-cells = <2>; 139c8bf6b52SJohn Bonesio }; 140c8bf6b52SJohn Bonesio 141c8bf6b52SJohn Bonesio gpio_wkup: gpio@c00 { 142c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup"; 143c8bf6b52SJohn Bonesio reg = <0xc00 0x40>; 144c8bf6b52SJohn Bonesio interrupts = <1 8 0 0 3 0>; 145c8bf6b52SJohn Bonesio gpio-controller; 146c8bf6b52SJohn Bonesio #gpio-cells = <2>; 147c8bf6b52SJohn Bonesio }; 148c8bf6b52SJohn Bonesio 149c8bf6b52SJohn Bonesio spi@f00 { 1506cf1d0b8SAnatolij Gustschin #address-cells = <1>; 1516cf1d0b8SAnatolij Gustschin #size-cells = <0>; 152c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi"; 153c8bf6b52SJohn Bonesio reg = <0xf00 0x20>; 154c8bf6b52SJohn Bonesio interrupts = <2 13 0 2 14 0>; 155c8bf6b52SJohn Bonesio }; 156c8bf6b52SJohn Bonesio 157c8bf6b52SJohn Bonesio usb: usb@1000 { 158c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be"; 159c8bf6b52SJohn Bonesio reg = <0x1000 0xff>; 160c8bf6b52SJohn Bonesio interrupts = <2 6 0>; 161c8bf6b52SJohn Bonesio }; 162c8bf6b52SJohn Bonesio 163c8bf6b52SJohn Bonesio dma-controller@1200 { 164c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; 165c8bf6b52SJohn Bonesio reg = <0x1200 0x80>; 166c8bf6b52SJohn Bonesio interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 167c8bf6b52SJohn Bonesio 3 4 0 3 5 0 3 6 0 3 7 0 168c8bf6b52SJohn Bonesio 3 8 0 3 9 0 3 10 0 3 11 0 169c8bf6b52SJohn Bonesio 3 12 0 3 13 0 3 14 0 3 15 0>; 170c8bf6b52SJohn Bonesio }; 171c8bf6b52SJohn Bonesio 172c8bf6b52SJohn Bonesio xlb@1f00 { 173c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; 174c8bf6b52SJohn Bonesio reg = <0x1f00 0x100>; 175c8bf6b52SJohn Bonesio }; 176c8bf6b52SJohn Bonesio 177c8bf6b52SJohn Bonesio psc1: psc@2000 { // PSC1 178c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 179c8bf6b52SJohn Bonesio reg = <0x2000 0x100>; 180c8bf6b52SJohn Bonesio interrupts = <2 1 0>; 181c8bf6b52SJohn Bonesio }; 182c8bf6b52SJohn Bonesio 183c8bf6b52SJohn Bonesio psc2: psc@2200 { // PSC2 184c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 185c8bf6b52SJohn Bonesio reg = <0x2200 0x100>; 186c8bf6b52SJohn Bonesio interrupts = <2 2 0>; 187c8bf6b52SJohn Bonesio }; 188c8bf6b52SJohn Bonesio 189c8bf6b52SJohn Bonesio psc3: psc@2400 { // PSC3 190c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 191c8bf6b52SJohn Bonesio reg = <0x2400 0x100>; 192c8bf6b52SJohn Bonesio interrupts = <2 3 0>; 193c8bf6b52SJohn Bonesio }; 194c8bf6b52SJohn Bonesio 195c8bf6b52SJohn Bonesio psc4: psc@2600 { // PSC4 196c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 197c8bf6b52SJohn Bonesio reg = <0x2600 0x100>; 198c8bf6b52SJohn Bonesio interrupts = <2 11 0>; 199c8bf6b52SJohn Bonesio }; 200c8bf6b52SJohn Bonesio 201c8bf6b52SJohn Bonesio psc5: psc@2800 { // PSC5 202c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 203c8bf6b52SJohn Bonesio reg = <0x2800 0x100>; 204c8bf6b52SJohn Bonesio interrupts = <2 12 0>; 205c8bf6b52SJohn Bonesio }; 206c8bf6b52SJohn Bonesio 207c8bf6b52SJohn Bonesio psc6: psc@2c00 { // PSC6 208c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 209c8bf6b52SJohn Bonesio reg = <0x2c00 0x100>; 210c8bf6b52SJohn Bonesio interrupts = <2 4 0>; 211c8bf6b52SJohn Bonesio }; 212c8bf6b52SJohn Bonesio 213c8bf6b52SJohn Bonesio eth0: ethernet@3000 { 214c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; 215c8bf6b52SJohn Bonesio reg = <0x3000 0x400>; 216c8bf6b52SJohn Bonesio local-mac-address = [ 00 00 00 00 00 00 ]; 217c8bf6b52SJohn Bonesio interrupts = <2 5 0>; 218c8bf6b52SJohn Bonesio }; 219c8bf6b52SJohn Bonesio 220c8bf6b52SJohn Bonesio mdio@3000 { 221c8bf6b52SJohn Bonesio #address-cells = <1>; 222c8bf6b52SJohn Bonesio #size-cells = <0>; 223c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; 224c8bf6b52SJohn Bonesio reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts 225c8bf6b52SJohn Bonesio interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. 226c8bf6b52SJohn Bonesio }; 227c8bf6b52SJohn Bonesio 228c8bf6b52SJohn Bonesio ata@3a00 { 229c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata"; 230c8bf6b52SJohn Bonesio reg = <0x3a00 0x100>; 231c8bf6b52SJohn Bonesio interrupts = <2 7 0>; 232c8bf6b52SJohn Bonesio }; 233c8bf6b52SJohn Bonesio 2347dfb736eSAnatolij Gustschin sclpc@3c00 { 2357dfb736eSAnatolij Gustschin compatible = "fsl,mpc5200-lpbfifo"; 2367dfb736eSAnatolij Gustschin reg = <0x3c00 0x60>; 2377dfb736eSAnatolij Gustschin interrupts = <2 23 0>; 2387dfb736eSAnatolij Gustschin }; 2397dfb736eSAnatolij Gustschin 240c8bf6b52SJohn Bonesio i2c@3d00 { 241c8bf6b52SJohn Bonesio #address-cells = <1>; 242c8bf6b52SJohn Bonesio #size-cells = <0>; 243c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; 244c8bf6b52SJohn Bonesio reg = <0x3d00 0x40>; 245c8bf6b52SJohn Bonesio interrupts = <2 15 0>; 246c8bf6b52SJohn Bonesio }; 247c8bf6b52SJohn Bonesio 248c8bf6b52SJohn Bonesio i2c@3d40 { 249c8bf6b52SJohn Bonesio #address-cells = <1>; 250c8bf6b52SJohn Bonesio #size-cells = <0>; 251c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; 252c8bf6b52SJohn Bonesio reg = <0x3d40 0x40>; 253c8bf6b52SJohn Bonesio interrupts = <2 16 0>; 254c8bf6b52SJohn Bonesio }; 255c8bf6b52SJohn Bonesio 256c8bf6b52SJohn Bonesio sram@8000 { 257c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; 258c8bf6b52SJohn Bonesio reg = <0x8000 0x4000>; 259c8bf6b52SJohn Bonesio }; 260c8bf6b52SJohn Bonesio }; 261c8bf6b52SJohn Bonesio 262c8bf6b52SJohn Bonesio pci: pci@f0000d00 { 263c8bf6b52SJohn Bonesio #interrupt-cells = <1>; 264c8bf6b52SJohn Bonesio #size-cells = <2>; 265c8bf6b52SJohn Bonesio #address-cells = <3>; 266c8bf6b52SJohn Bonesio device_type = "pci"; 267c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci"; 268c8bf6b52SJohn Bonesio reg = <0xf0000d00 0x100>; 269c8bf6b52SJohn Bonesio // interrupt-map-mask = need to add 270c8bf6b52SJohn Bonesio // interrupt-map = need to add 271c8bf6b52SJohn Bonesio clock-frequency = <0>; // From boot loader 272c8bf6b52SJohn Bonesio interrupts = <2 8 0 2 9 0 2 10 0>; 273c8bf6b52SJohn Bonesio bus-range = <0 0>; 274c8bf6b52SJohn Bonesio // ranges = need to add 275c8bf6b52SJohn Bonesio }; 276c8bf6b52SJohn Bonesio 277c8bf6b52SJohn Bonesio localbus: localbus { 278c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus"; 279c8bf6b52SJohn Bonesio #address-cells = <2>; 280c8bf6b52SJohn Bonesio #size-cells = <1>; 281c8bf6b52SJohn Bonesio ranges = <0 0 0xfc000000 0x2000000>; 282c8bf6b52SJohn Bonesio }; 283c8bf6b52SJohn Bonesio}; 284