1bdad0548SGrzegorz Bernacki/* 2bdad0548SGrzegorz Bernacki * Digsy MTC board Device Tree Source 3bdad0548SGrzegorz Bernacki * 4bdad0548SGrzegorz Bernacki * Copyright (C) 2009 Semihalf 5bdad0548SGrzegorz Bernacki * 6bdad0548SGrzegorz Bernacki * Based on the CM5200 by M. Balakowicz 7bdad0548SGrzegorz Bernacki * 8bdad0548SGrzegorz Bernacki * This program is free software; you can redistribute it and/or modify it 9bdad0548SGrzegorz Bernacki * under the terms of the GNU General Public License as published by the 10bdad0548SGrzegorz Bernacki * Free Software Foundation; either version 2 of the License, or (at your 11bdad0548SGrzegorz Bernacki * option) any later version. 12bdad0548SGrzegorz Bernacki */ 13bdad0548SGrzegorz Bernacki 14c8bf6b52SJohn Bonesio/include/ "mpc5200b.dtsi" 15bdad0548SGrzegorz Bernacki 16fa59f178SGrant Likely&gpt0 { gpio-controller; fsl,has-wdt; }; 17fa59f178SGrant Likely&gpt1 { gpio-controller; }; 18fa59f178SGrant Likely 19bdad0548SGrzegorz Bernacki/ { 20bdad0548SGrzegorz Bernacki model = "intercontrol,digsy-mtc"; 21bdad0548SGrzegorz Bernacki compatible = "intercontrol,digsy-mtc"; 22bdad0548SGrzegorz Bernacki 23bdad0548SGrzegorz Bernacki memory { 24bdad0548SGrzegorz Bernacki reg = <0x00000000 0x02000000>; // 32MB 25bdad0548SGrzegorz Bernacki }; 26bdad0548SGrzegorz Bernacki 27bdad0548SGrzegorz Bernacki soc5200@f0000000 { 28c8bf6b52SJohn Bonesio rtc@800 { 29c8bf6b52SJohn Bonesio status = "disabled"; 30bdad0548SGrzegorz Bernacki }; 31bdad0548SGrzegorz Bernacki 32aa4593f2SAnatolij Gustschin spi@f00 { 33aa4593f2SAnatolij Gustschin msp430@0 { 34aa4593f2SAnatolij Gustschin compatible = "spidev"; 35aa4593f2SAnatolij Gustschin spi-max-frequency = <32000>; 36aa4593f2SAnatolij Gustschin reg = <0>; 37aa4593f2SAnatolij Gustschin }; 38aa4593f2SAnatolij Gustschin }; 39aa4593f2SAnatolij Gustschin 40c8bf6b52SJohn Bonesio psc@2000 { // PSC1 41c8bf6b52SJohn Bonesio status = "disabled"; 42bdad0548SGrzegorz Bernacki }; 43bdad0548SGrzegorz Bernacki 44c8bf6b52SJohn Bonesio psc@2200 { // PSC2 45c8bf6b52SJohn Bonesio status = "disabled"; 46bdad0548SGrzegorz Bernacki }; 47bdad0548SGrzegorz Bernacki 48c8bf6b52SJohn Bonesio psc@2400 { // PSC3 49c8bf6b52SJohn Bonesio status = "disabled"; 50bdad0548SGrzegorz Bernacki }; 51bdad0548SGrzegorz Bernacki 52abf1e27fSJohn Bonesio psc@2600 { // PSC4 53bdad0548SGrzegorz Bernacki compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 54bdad0548SGrzegorz Bernacki }; 55bdad0548SGrzegorz Bernacki 56abf1e27fSJohn Bonesio psc@2800 { // PSC5 5786f5a4a7SGrzegorz Bernacki compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 58c8bf6b52SJohn Bonesio }; 59c8bf6b52SJohn Bonesio 60c8bf6b52SJohn Bonesio psc@2c00 { // PSC6 61c8bf6b52SJohn Bonesio status = "disabled"; 6286f5a4a7SGrzegorz Bernacki }; 6386f5a4a7SGrzegorz Bernacki 64bdad0548SGrzegorz Bernacki ethernet@3000 { 65bdad0548SGrzegorz Bernacki phy-handle = <&phy0>; 66bdad0548SGrzegorz Bernacki }; 67bdad0548SGrzegorz Bernacki 68bdad0548SGrzegorz Bernacki mdio@3000 { 69bdad0548SGrzegorz Bernacki phy0: ethernet-phy@0 { 70bdad0548SGrzegorz Bernacki reg = <0>; 71bdad0548SGrzegorz Bernacki }; 72bdad0548SGrzegorz Bernacki }; 73bdad0548SGrzegorz Bernacki 74bdad0548SGrzegorz Bernacki i2c@3d00 { 75aa4593f2SAnatolij Gustschin eeprom@50 { 76fd393188SJavier Martinez Canillas compatible = "atmel,24c08"; 77bdad0548SGrzegorz Bernacki reg = <0x50>; 78bdad0548SGrzegorz Bernacki }; 79bdad0548SGrzegorz Bernacki 80aa4593f2SAnatolij Gustschin rtc@56 { 81aa4593f2SAnatolij Gustschin compatible = "mc,rv3029c2"; 82aa4593f2SAnatolij Gustschin reg = <0x56>; 83aa4593f2SAnatolij Gustschin }; 84aa4593f2SAnatolij Gustschin 85bdad0548SGrzegorz Bernacki rtc@68 { 86bdad0548SGrzegorz Bernacki compatible = "dallas,ds1339"; 87bdad0548SGrzegorz Bernacki reg = <0x68>; 88bdad0548SGrzegorz Bernacki }; 89bdad0548SGrzegorz Bernacki }; 90bdad0548SGrzegorz Bernacki 91c8bf6b52SJohn Bonesio i2c@3d40 { 92c8bf6b52SJohn Bonesio status = "disabled"; 93bdad0548SGrzegorz Bernacki }; 94bdad0548SGrzegorz Bernacki }; 95bdad0548SGrzegorz Bernacki 96c8bf6b52SJohn Bonesio pci@f0000d00 { 97aa4593f2SAnatolij Gustschin interrupt-map-mask = <0xf800 0 0 7>; 98aa4593f2SAnatolij Gustschin interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 99aa4593f2SAnatolij Gustschin 0xc000 0 0 2 &mpc5200_pic 0 0 3 100aa4593f2SAnatolij Gustschin 0xc000 0 0 3 &mpc5200_pic 0 0 3 101aa4593f2SAnatolij Gustschin 0xc000 0 0 4 &mpc5200_pic 0 0 3>; 102aa4593f2SAnatolij Gustschin clock-frequency = <0>; // From boot loader 103aa4593f2SAnatolij Gustschin interrupts = <2 8 0 2 9 0 2 10 0>; 104aa4593f2SAnatolij Gustschin bus-range = <0 0>; 105aa4593f2SAnatolij Gustschin ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000 106aa4593f2SAnatolij Gustschin 0x02000000 0 0x90000000 0x90000000 0 0x10000000 107aa4593f2SAnatolij Gustschin 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; 108c8bf6b52SJohn Bonesio }; 109c8bf6b52SJohn Bonesio 110abf1e27fSJohn Bonesio localbus { 111aa4593f2SAnatolij Gustschin ranges = <0 0 0xff000000 0x1000000 112aa4593f2SAnatolij Gustschin 4 0 0x60000000 0x0001000>; 113bdad0548SGrzegorz Bernacki 114bdad0548SGrzegorz Bernacki // 16-bit flash device at LocalPlus Bus CS0 115bdad0548SGrzegorz Bernacki flash@0,0 { 116bdad0548SGrzegorz Bernacki compatible = "cfi-flash"; 117bdad0548SGrzegorz Bernacki reg = <0 0 0x1000000>; 118bdad0548SGrzegorz Bernacki bank-width = <2>; 119bdad0548SGrzegorz Bernacki device-width = <2>; 120bdad0548SGrzegorz Bernacki #size-cells = <1>; 121bdad0548SGrzegorz Bernacki #address-cells = <1>; 122bdad0548SGrzegorz Bernacki 123bdad0548SGrzegorz Bernacki partition@0 { 124bdad0548SGrzegorz Bernacki label = "kernel"; 125bdad0548SGrzegorz Bernacki reg = <0x0 0x00200000>; 126bdad0548SGrzegorz Bernacki }; 127bdad0548SGrzegorz Bernacki partition@200000 { 128bdad0548SGrzegorz Bernacki label = "root"; 129bdad0548SGrzegorz Bernacki reg = <0x00200000 0x00300000>; 130bdad0548SGrzegorz Bernacki }; 131bdad0548SGrzegorz Bernacki partition@500000 { 132bdad0548SGrzegorz Bernacki label = "user"; 133bdad0548SGrzegorz Bernacki reg = <0x00500000 0x00a00000>; 134bdad0548SGrzegorz Bernacki }; 135bdad0548SGrzegorz Bernacki partition@f00000 { 136bdad0548SGrzegorz Bernacki label = "u-boot"; 137bdad0548SGrzegorz Bernacki reg = <0x00f00000 0x100000>; 138bdad0548SGrzegorz Bernacki }; 139bdad0548SGrzegorz Bernacki }; 140aa4593f2SAnatolij Gustschin 141aa4593f2SAnatolij Gustschin can@4,0 { 142aa4593f2SAnatolij Gustschin compatible = "nxp,sja1000"; 143aa4593f2SAnatolij Gustschin reg = <4 0x000 0x80>; 144aa4593f2SAnatolij Gustschin nxp,external-clock-frequency = <24000000>; 145aa4593f2SAnatolij Gustschin interrupts = <1 2 3>; // Level-low 146aa4593f2SAnatolij Gustschin }; 147aa4593f2SAnatolij Gustschin 148aa4593f2SAnatolij Gustschin can@4,100 { 149aa4593f2SAnatolij Gustschin compatible = "nxp,sja1000"; 150aa4593f2SAnatolij Gustschin reg = <4 0x100 0x80>; 151aa4593f2SAnatolij Gustschin nxp,external-clock-frequency = <24000000>; 152aa4593f2SAnatolij Gustschin interrupts = <1 2 3>; // Level-low 153aa4593f2SAnatolij Gustschin }; 154aa4593f2SAnatolij Gustschin 155aa4593f2SAnatolij Gustschin serial@4,200 { 156aa4593f2SAnatolij Gustschin compatible = "nxp,sc28l92"; 157aa4593f2SAnatolij Gustschin reg = <4 0x200 0x10>; 158aa4593f2SAnatolij Gustschin interrupts = <1 3 3>; 159aa4593f2SAnatolij Gustschin }; 160bdad0548SGrzegorz Bernacki }; 161bdad0548SGrzegorz Bernacki}; 162