powerpc/5200: dts: digsy_mtc.dts: enable both MSCAN nodes
[deliverable/linux.git] / arch / powerpc / boot / dts / digsy_mtc.dts
CommitLineData
bdad0548
GB
1/*
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
c8bf6b52 14/include/ "mpc5200b.dtsi"
bdad0548
GB
15
16/ {
17 model = "intercontrol,digsy-mtc";
18 compatible = "intercontrol,digsy-mtc";
bdad0548
GB
19
20 memory {
bdad0548
GB
21 reg = <0x00000000 0x02000000>; // 32MB
22 };
23
24 soc5200@f0000000 {
bdad0548 25 timer@600 { // General Purpose Timer
1982c09a 26 #gpio-cells = <2>;
bdad0548 27 fsl,has-wdt;
1982c09a
AG
28 gpio-controller;
29 };
30
31 timer@610 {
32 #gpio-cells = <2>;
33 gpio-controller;
bdad0548
GB
34 };
35
c8bf6b52
JB
36 rtc@800 {
37 status = "disabled";
bdad0548
GB
38 };
39
aa4593f2
AG
40 spi@f00 {
41 msp430@0 {
42 compatible = "spidev";
43 spi-max-frequency = <32000>;
44 reg = <0>;
45 };
46 };
47
c8bf6b52
JB
48 psc@2000 { // PSC1
49 status = "disabled";
bdad0548
GB
50 };
51
c8bf6b52
JB
52 psc@2200 { // PSC2
53 status = "disabled";
bdad0548
GB
54 };
55
c8bf6b52
JB
56 psc@2400 { // PSC3
57 status = "disabled";
bdad0548
GB
58 };
59
abf1e27f 60 psc@2600 { // PSC4
bdad0548 61 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
bdad0548
GB
62 };
63
abf1e27f 64 psc@2800 { // PSC5
86f5a4a7 65 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
c8bf6b52
JB
66 };
67
68 psc@2c00 { // PSC6
69 status = "disabled";
86f5a4a7
GB
70 };
71
bdad0548 72 ethernet@3000 {
bdad0548
GB
73 phy-handle = <&phy0>;
74 };
75
76 mdio@3000 {
bdad0548
GB
77 phy0: ethernet-phy@0 {
78 reg = <0>;
79 };
80 };
81
bdad0548 82 i2c@3d00 {
aa4593f2 83 eeprom@50 {
bdad0548
GB
84 compatible = "at,24c08";
85 reg = <0x50>;
86 };
87
aa4593f2
AG
88 rtc@56 {
89 compatible = "mc,rv3029c2";
90 reg = <0x56>;
91 };
92
bdad0548
GB
93 rtc@68 {
94 compatible = "dallas,ds1339";
95 reg = <0x68>;
96 };
97 };
98
c8bf6b52
JB
99 i2c@3d40 {
100 status = "disabled";
bdad0548
GB
101 };
102 };
103
c8bf6b52 104 pci@f0000d00 {
aa4593f2
AG
105 interrupt-map-mask = <0xf800 0 0 7>;
106 interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3
107 0xc000 0 0 2 &mpc5200_pic 0 0 3
108 0xc000 0 0 3 &mpc5200_pic 0 0 3
109 0xc000 0 0 4 &mpc5200_pic 0 0 3>;
110 clock-frequency = <0>; // From boot loader
111 interrupts = <2 8 0 2 9 0 2 10 0>;
112 bus-range = <0 0>;
113 ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000
114 0x02000000 0 0x90000000 0x90000000 0 0x10000000
115 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
c8bf6b52
JB
116 };
117
abf1e27f 118 localbus {
aa4593f2
AG
119 ranges = <0 0 0xff000000 0x1000000
120 4 0 0x60000000 0x0001000>;
bdad0548
GB
121
122 // 16-bit flash device at LocalPlus Bus CS0
123 flash@0,0 {
124 compatible = "cfi-flash";
125 reg = <0 0 0x1000000>;
126 bank-width = <2>;
127 device-width = <2>;
128 #size-cells = <1>;
129 #address-cells = <1>;
130
131 partition@0 {
132 label = "kernel";
133 reg = <0x0 0x00200000>;
134 };
135 partition@200000 {
136 label = "root";
137 reg = <0x00200000 0x00300000>;
138 };
139 partition@500000 {
140 label = "user";
141 reg = <0x00500000 0x00a00000>;
142 };
143 partition@f00000 {
144 label = "u-boot";
145 reg = <0x00f00000 0x100000>;
146 };
147 };
aa4593f2
AG
148
149 can@4,0 {
150 compatible = "nxp,sja1000";
151 reg = <4 0x000 0x80>;
152 nxp,external-clock-frequency = <24000000>;
153 interrupts = <1 2 3>; // Level-low
154 };
155
156 can@4,100 {
157 compatible = "nxp,sja1000";
158 reg = <4 0x100 0x80>;
159 nxp,external-clock-frequency = <24000000>;
160 interrupts = <1 2 3>; // Level-low
161 };
162
163 serial@4,200 {
164 compatible = "nxp,sc28l92";
165 reg = <4 0x200 0x10>;
166 interrupts = <1 3 3>;
167 };
bdad0548
GB
168 };
169};
This page took 0.170529 seconds and 5 git commands to generate.