blob: 955bff629df3c3c2057dd42eedb8f1cc0ff605f5 [file] [log] [blame]
Grzegorz Bernackibdad0542009-02-04 13:39:17 -07001/*
2 * Digsy MTC board Device Tree Source
3 *
4 * Copyright (C) 2009 Semihalf
5 *
6 * Based on the CM5200 by M. Balakowicz
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 */
13
John Bonesioc8bf6b52010-11-17 15:28:56 -080014/include/ "mpc5200b.dtsi"
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070015
Grant Likelyfa59f172013-02-08 08:02:51 +000016&gpt0 { gpio-controller; fsl,has-wdt; };
17&gpt1 { gpio-controller; };
18
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070019/ {
20 model = "intercontrol,digsy-mtc";
21 compatible = "intercontrol,digsy-mtc";
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070022
23 memory {
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070024 reg = <0x00000000 0x02000000>; // 32MB
25 };
26
27 soc5200@f0000000 {
John Bonesioc8bf6b52010-11-17 15:28:56 -080028 rtc@800 {
29 status = "disabled";
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070030 };
31
Anatolij Gustschinaa4593f2011-05-16 18:02:44 +020032 spi@f00 {
33 msp430@0 {
34 compatible = "spidev";
35 spi-max-frequency = <32000>;
36 reg = <0>;
37 };
38 };
39
John Bonesioc8bf6b52010-11-17 15:28:56 -080040 psc@2000 { // PSC1
41 status = "disabled";
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070042 };
43
John Bonesioc8bf6b52010-11-17 15:28:56 -080044 psc@2200 { // PSC2
45 status = "disabled";
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070046 };
47
John Bonesioc8bf6b52010-11-17 15:28:56 -080048 psc@2400 { // PSC3
49 status = "disabled";
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070050 };
51
John Bonesioabf1e272010-11-17 15:28:30 -080052 psc@2600 { // PSC4
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070053 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070054 };
55
John Bonesioabf1e272010-11-17 15:28:30 -080056 psc@2800 { // PSC5
Grzegorz Bernacki86f5a4a2009-02-26 22:55:29 -070057 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
John Bonesioc8bf6b52010-11-17 15:28:56 -080058 };
59
60 psc@2c00 { // PSC6
61 status = "disabled";
Grzegorz Bernacki86f5a4a2009-02-26 22:55:29 -070062 };
63
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070064 ethernet@3000 {
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070065 phy-handle = <&phy0>;
66 };
67
68 mdio@3000 {
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070069 phy0: ethernet-phy@0 {
70 reg = <0>;
71 };
72 };
73
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070074 i2c@3d00 {
Anatolij Gustschinaa4593f2011-05-16 18:02:44 +020075 eeprom@50 {
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070076 compatible = "at,24c08";
77 reg = <0x50>;
78 };
79
Anatolij Gustschinaa4593f2011-05-16 18:02:44 +020080 rtc@56 {
81 compatible = "mc,rv3029c2";
82 reg = <0x56>;
83 };
84
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070085 rtc@68 {
86 compatible = "dallas,ds1339";
87 reg = <0x68>;
88 };
89 };
90
John Bonesioc8bf6b52010-11-17 15:28:56 -080091 i2c@3d40 {
92 status = "disabled";
Grzegorz Bernackibdad0542009-02-04 13:39:17 -070093 };
94 };
95
John Bonesioc8bf6b52010-11-17 15:28:56 -080096 pci@f0000d00 {
Anatolij Gustschinaa4593f2011-05-16 18:02:44 +020097 interrupt-map-mask = <0xf800 0 0 7>;
98 interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3
99 0xc000 0 0 2 &mpc5200_pic 0 0 3
100 0xc000 0 0 3 &mpc5200_pic 0 0 3
101 0xc000 0 0 4 &mpc5200_pic 0 0 3>;
102 clock-frequency = <0>; // From boot loader
103 interrupts = <2 8 0 2 9 0 2 10 0>;
104 bus-range = <0 0>;
105 ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000
106 0x02000000 0 0x90000000 0x90000000 0 0x10000000
107 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
John Bonesioc8bf6b52010-11-17 15:28:56 -0800108 };
109
John Bonesioabf1e272010-11-17 15:28:30 -0800110 localbus {
Anatolij Gustschinaa4593f2011-05-16 18:02:44 +0200111 ranges = <0 0 0xff000000 0x1000000
112 4 0 0x60000000 0x0001000>;
Grzegorz Bernackibdad0542009-02-04 13:39:17 -0700113
114 // 16-bit flash device at LocalPlus Bus CS0
115 flash@0,0 {
116 compatible = "cfi-flash";
117 reg = <0 0 0x1000000>;
118 bank-width = <2>;
119 device-width = <2>;
120 #size-cells = <1>;
121 #address-cells = <1>;
122
123 partition@0 {
124 label = "kernel";
125 reg = <0x0 0x00200000>;
126 };
127 partition@200000 {
128 label = "root";
129 reg = <0x00200000 0x00300000>;
130 };
131 partition@500000 {
132 label = "user";
133 reg = <0x00500000 0x00a00000>;
134 };
135 partition@f00000 {
136 label = "u-boot";
137 reg = <0x00f00000 0x100000>;
138 };
139 };
Anatolij Gustschinaa4593f2011-05-16 18:02:44 +0200140
141 can@4,0 {
142 compatible = "nxp,sja1000";
143 reg = <4 0x000 0x80>;
144 nxp,external-clock-frequency = <24000000>;
145 interrupts = <1 2 3>; // Level-low
146 };
147
148 can@4,100 {
149 compatible = "nxp,sja1000";
150 reg = <4 0x100 0x80>;
151 nxp,external-clock-frequency = <24000000>;
152 interrupts = <1 2 3>; // Level-low
153 };
154
155 serial@4,200 {
156 compatible = "nxp,sc28l92";
157 reg = <4 0x200 0x10>;
158 interrupts = <1 3 3>;
159 };
Grzegorz Bernackibdad0542009-02-04 13:39:17 -0700160 };
161};