aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-05-16 12:02:44 -0400
committerAnatolij Gustschin <agust@denx.de>2011-09-22 17:13:50 -0400
commitaa4593f2741946df5a47cbd679e1bc7da476e4bf (patch)
treea882c795bc920249396fd89da531dbebe9bd9e46
parent6cf1d0b806a9e621ef1a8e90009e37f3446c2b9e (diff)
powerpc/5200: dts: digsy_mtc.dts: update to add can, pci, serial and spi
Add new nodes to describe more hardware the board is equipped with: - two can nodes for SJA1000 on localbus - pci node to support Coral-PA graphics controller - serial node for SC28L92 DUART on localbus - spi node for MSP430 device Also correct i2c eeprom node name. Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Anatolij Gustschin <agust@denx.de>
-rw-r--r--arch/powerpc/boot/dts/digsy_mtc.dts50
1 files changed, 47 insertions, 3 deletions
diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts
index 27bd267d631c..e205d17fd1f5 100644
--- a/arch/powerpc/boot/dts/digsy_mtc.dts
+++ b/arch/powerpc/boot/dts/digsy_mtc.dts
@@ -38,6 +38,14 @@
38 status = "disabled"; 38 status = "disabled";
39 }; 39 };
40 40
41 spi@f00 {
42 msp430@0 {
43 compatible = "spidev";
44 spi-max-frequency = <32000>;
45 reg = <0>;
46 };
47 };
48
41 psc@2000 { // PSC1 49 psc@2000 { // PSC1
42 status = "disabled"; 50 status = "disabled";
43 }; 51 };
@@ -73,11 +81,16 @@
73 }; 81 };
74 82
75 i2c@3d00 { 83 i2c@3d00 {
76 rtc@50 { 84 eeprom@50 {
77 compatible = "at,24c08"; 85 compatible = "at,24c08";
78 reg = <0x50>; 86 reg = <0x50>;
79 }; 87 };
80 88
89 rtc@56 {
90 compatible = "mc,rv3029c2";
91 reg = <0x56>;
92 };
93
81 rtc@68 { 94 rtc@68 {
82 compatible = "dallas,ds1339"; 95 compatible = "dallas,ds1339";
83 reg = <0x68>; 96 reg = <0x68>;
@@ -90,11 +103,22 @@
90 }; 103 };
91 104
92 pci@f0000d00 { 105 pci@f0000d00 {
93 status = "disabled"; 106 interrupt-map-mask = <0xf800 0 0 7>;
107 interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3
108 0xc000 0 0 2 &mpc5200_pic 0 0 3
109 0xc000 0 0 3 &mpc5200_pic 0 0 3
110 0xc000 0 0 4 &mpc5200_pic 0 0 3>;
111 clock-frequency = <0>; // From boot loader
112 interrupts = <2 8 0 2 9 0 2 10 0>;
113 bus-range = <0 0>;
114 ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000
115 0x02000000 0 0x90000000 0x90000000 0 0x10000000
116 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
94 }; 117 };
95 118
96 localbus { 119 localbus {
97 ranges = <0 0 0xff000000 0x1000000>; 120 ranges = <0 0 0xff000000 0x1000000
121 4 0 0x60000000 0x0001000>;
98 122
99 // 16-bit flash device at LocalPlus Bus CS0 123 // 16-bit flash device at LocalPlus Bus CS0
100 flash@0,0 { 124 flash@0,0 {
@@ -122,5 +146,25 @@
122 reg = <0x00f00000 0x100000>; 146 reg = <0x00f00000 0x100000>;
123 }; 147 };
124 }; 148 };
149
150 can@4,0 {
151 compatible = "nxp,sja1000";
152 reg = <4 0x000 0x80>;
153 nxp,external-clock-frequency = <24000000>;
154 interrupts = <1 2 3>; // Level-low
155 };
156
157 can@4,100 {
158 compatible = "nxp,sja1000";
159 reg = <4 0x100 0x80>;
160 nxp,external-clock-frequency = <24000000>;
161 interrupts = <1 2 3>; // Level-low
162 };
163
164 serial@4,200 {
165 compatible = "nxp,sc28l92";
166 reg = <4 0x200 0x10>;
167 interrupts = <1 3 3>;
168 };
125 }; 169 };
126}; 170};