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 { 150c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi"; 151c8bf6b52SJohn Bonesio reg = <0xf00 0x20>; 152c8bf6b52SJohn Bonesio interrupts = <2 13 0 2 14 0>; 153c8bf6b52SJohn Bonesio }; 154c8bf6b52SJohn Bonesio 155c8bf6b52SJohn Bonesio usb: usb@1000 { 156c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be"; 157c8bf6b52SJohn Bonesio reg = <0x1000 0xff>; 158c8bf6b52SJohn Bonesio interrupts = <2 6 0>; 159c8bf6b52SJohn Bonesio }; 160c8bf6b52SJohn Bonesio 161c8bf6b52SJohn Bonesio dma-controller@1200 { 162c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; 163c8bf6b52SJohn Bonesio reg = <0x1200 0x80>; 164c8bf6b52SJohn Bonesio interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 165c8bf6b52SJohn Bonesio 3 4 0 3 5 0 3 6 0 3 7 0 166c8bf6b52SJohn Bonesio 3 8 0 3 9 0 3 10 0 3 11 0 167c8bf6b52SJohn Bonesio 3 12 0 3 13 0 3 14 0 3 15 0>; 168c8bf6b52SJohn Bonesio }; 169c8bf6b52SJohn Bonesio 170c8bf6b52SJohn Bonesio xlb@1f00 { 171c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; 172c8bf6b52SJohn Bonesio reg = <0x1f00 0x100>; 173c8bf6b52SJohn Bonesio }; 174c8bf6b52SJohn Bonesio 175c8bf6b52SJohn Bonesio psc1: psc@2000 { // PSC1 176c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 177c8bf6b52SJohn Bonesio reg = <0x2000 0x100>; 178c8bf6b52SJohn Bonesio interrupts = <2 1 0>; 179c8bf6b52SJohn Bonesio }; 180c8bf6b52SJohn Bonesio 181c8bf6b52SJohn Bonesio psc2: psc@2200 { // PSC2 182c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 183c8bf6b52SJohn Bonesio reg = <0x2200 0x100>; 184c8bf6b52SJohn Bonesio interrupts = <2 2 0>; 185c8bf6b52SJohn Bonesio }; 186c8bf6b52SJohn Bonesio 187c8bf6b52SJohn Bonesio psc3: psc@2400 { // PSC3 188c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 189c8bf6b52SJohn Bonesio reg = <0x2400 0x100>; 190c8bf6b52SJohn Bonesio interrupts = <2 3 0>; 191c8bf6b52SJohn Bonesio }; 192c8bf6b52SJohn Bonesio 193c8bf6b52SJohn Bonesio psc4: psc@2600 { // PSC4 194c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 195c8bf6b52SJohn Bonesio reg = <0x2600 0x100>; 196c8bf6b52SJohn Bonesio interrupts = <2 11 0>; 197c8bf6b52SJohn Bonesio }; 198c8bf6b52SJohn Bonesio 199c8bf6b52SJohn Bonesio psc5: psc@2800 { // PSC5 200c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 201c8bf6b52SJohn Bonesio reg = <0x2800 0x100>; 202c8bf6b52SJohn Bonesio interrupts = <2 12 0>; 203c8bf6b52SJohn Bonesio }; 204c8bf6b52SJohn Bonesio 205c8bf6b52SJohn Bonesio psc6: psc@2c00 { // PSC6 206c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 207c8bf6b52SJohn Bonesio reg = <0x2c00 0x100>; 208c8bf6b52SJohn Bonesio interrupts = <2 4 0>; 209c8bf6b52SJohn Bonesio }; 210c8bf6b52SJohn Bonesio 211c8bf6b52SJohn Bonesio eth0: ethernet@3000 { 212c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; 213c8bf6b52SJohn Bonesio reg = <0x3000 0x400>; 214c8bf6b52SJohn Bonesio local-mac-address = [ 00 00 00 00 00 00 ]; 215c8bf6b52SJohn Bonesio interrupts = <2 5 0>; 216c8bf6b52SJohn Bonesio }; 217c8bf6b52SJohn Bonesio 218c8bf6b52SJohn Bonesio mdio@3000 { 219c8bf6b52SJohn Bonesio #address-cells = <1>; 220c8bf6b52SJohn Bonesio #size-cells = <0>; 221c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; 222c8bf6b52SJohn Bonesio reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts 223c8bf6b52SJohn Bonesio interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. 224c8bf6b52SJohn Bonesio }; 225c8bf6b52SJohn Bonesio 226c8bf6b52SJohn Bonesio ata@3a00 { 227c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata"; 228c8bf6b52SJohn Bonesio reg = <0x3a00 0x100>; 229c8bf6b52SJohn Bonesio interrupts = <2 7 0>; 230c8bf6b52SJohn Bonesio }; 231c8bf6b52SJohn Bonesio 232c8bf6b52SJohn Bonesio i2c@3d00 { 233c8bf6b52SJohn Bonesio #address-cells = <1>; 234c8bf6b52SJohn Bonesio #size-cells = <0>; 235c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; 236c8bf6b52SJohn Bonesio reg = <0x3d00 0x40>; 237c8bf6b52SJohn Bonesio interrupts = <2 15 0>; 238c8bf6b52SJohn Bonesio }; 239c8bf6b52SJohn Bonesio 240c8bf6b52SJohn Bonesio i2c@3d40 { 241c8bf6b52SJohn Bonesio #address-cells = <1>; 242c8bf6b52SJohn Bonesio #size-cells = <0>; 243c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; 244c8bf6b52SJohn Bonesio reg = <0x3d40 0x40>; 245c8bf6b52SJohn Bonesio interrupts = <2 16 0>; 246c8bf6b52SJohn Bonesio }; 247c8bf6b52SJohn Bonesio 248c8bf6b52SJohn Bonesio sram@8000 { 249c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; 250c8bf6b52SJohn Bonesio reg = <0x8000 0x4000>; 251c8bf6b52SJohn Bonesio }; 252c8bf6b52SJohn Bonesio }; 253c8bf6b52SJohn Bonesio 254c8bf6b52SJohn Bonesio pci: pci@f0000d00 { 255c8bf6b52SJohn Bonesio #interrupt-cells = <1>; 256c8bf6b52SJohn Bonesio #size-cells = <2>; 257c8bf6b52SJohn Bonesio #address-cells = <3>; 258c8bf6b52SJohn Bonesio device_type = "pci"; 259c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci"; 260c8bf6b52SJohn Bonesio reg = <0xf0000d00 0x100>; 261c8bf6b52SJohn Bonesio // interrupt-map-mask = need to add 262c8bf6b52SJohn Bonesio // interrupt-map = need to add 263c8bf6b52SJohn Bonesio clock-frequency = <0>; // From boot loader 264c8bf6b52SJohn Bonesio interrupts = <2 8 0 2 9 0 2 10 0>; 265c8bf6b52SJohn Bonesio bus-range = <0 0>; 266c8bf6b52SJohn Bonesio // ranges = need to add 267c8bf6b52SJohn Bonesio }; 268c8bf6b52SJohn Bonesio 269c8bf6b52SJohn Bonesio localbus: localbus { 270c8bf6b52SJohn Bonesio compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus"; 271c8bf6b52SJohn Bonesio #address-cells = <2>; 272c8bf6b52SJohn Bonesio #size-cells = <1>; 273c8bf6b52SJohn Bonesio ranges = <0 0 0xfc000000 0x2000000>; 274c8bf6b52SJohn Bonesio }; 275c8bf6b52SJohn Bonesio}; 276