Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 1 | /* |
| 2 | * Motion-PRO board Device Tree Source |
| 3 | * |
| 4 | * Copyright (C) 2007 Semihalf |
| 5 | * Marian Balakowicz <m8@semihalf.com> |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify it |
| 8 | * under the terms of the GNU General Public License as published by the |
| 9 | * Free Software Foundation; either version 2 of the License, or (at your |
| 10 | * option) any later version. |
| 11 | */ |
| 12 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 13 | /include/ "mpc5200b.dtsi" |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 14 | |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 15 | / { |
| 16 | model = "promess,motionpro"; |
| 17 | compatible = "promess,motionpro"; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 18 | |
| 19 | soc5200@f0000000 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 20 | timer@600 { // General Purpose Timer |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 21 | fsl,has-wdt; |
| 22 | }; |
| 23 | |
John Bonesio | abf1e27 | 2010-11-17 15:28:30 -0800 | [diff] [blame] | 24 | timer@660 { // Motion-PRO status LED |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 25 | compatible = "promess,motionpro-led"; |
| 26 | label = "motionpro-statusled"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 27 | blink-delay = <100>; // 100 msec |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 28 | }; |
| 29 | |
John Bonesio | abf1e27 | 2010-11-17 15:28:30 -0800 | [diff] [blame] | 30 | timer@670 { // Motion-PRO ready LED |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 31 | compatible = "promess,motionpro-led"; |
| 32 | label = "motionpro-readyled"; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 33 | }; |
| 34 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 35 | can@900 { |
| 36 | status = "disabled"; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 37 | }; |
| 38 | |
John Bonesio | abf1e27 | 2010-11-17 15:28:30 -0800 | [diff] [blame] | 39 | psc@2000 { // PSC1 |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 40 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 41 | }; |
| 42 | |
| 43 | // PSC2 in spi master mode |
John Bonesio | abf1e27 | 2010-11-17 15:28:30 -0800 | [diff] [blame] | 44 | psc@2200 { // PSC2 |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 45 | compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi"; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 46 | cell-index = <1>; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 47 | }; |
| 48 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 49 | psc@2400 { // PSC3 |
| 50 | status = "disabled"; |
| 51 | }; |
| 52 | |
| 53 | psc@2600 { // PSC4 |
| 54 | status = "disabled"; |
| 55 | }; |
| 56 | |
John Bonesio | abf1e27 | 2010-11-17 15:28:30 -0800 | [diff] [blame] | 57 | psc@2800 { // PSC5 |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 58 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 59 | }; |
| 60 | |
| 61 | psc@2c00 { // PSC6 |
| 62 | status = "disabled"; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 63 | }; |
| 64 | |
| 65 | ethernet@3000 { |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 66 | phy-handle = <&phy0>; |
| 67 | }; |
| 68 | |
| 69 | mdio@3000 { |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 70 | phy0: ethernet-phy@2 { |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 71 | reg = <2>; |
| 72 | }; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 73 | }; |
| 74 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 75 | i2c@3d00 { |
| 76 | status = "disabled"; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 77 | }; |
| 78 | |
| 79 | i2c@3d40 { |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 80 | rtc@68 { |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 81 | compatible = "dallas,ds1339"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 82 | reg = <0x68>; |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 83 | }; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 84 | }; |
| 85 | |
| 86 | sram@8000 { |
Grant Likely | 24ce6bc | 2008-01-24 22:25:31 -0700 | [diff] [blame] | 87 | compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 88 | reg = <0x8000 0x4000>; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 89 | }; |
| 90 | }; |
| 91 | |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 92 | pci@f0000d00 { |
| 93 | status = "disabled"; |
| 94 | }; |
| 95 | |
Grant Likely | b884245 | 2009-02-03 12:30:26 -0700 | [diff] [blame] | 96 | localbus { |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 97 | ranges = <0 0 0xff000000 0x01000000 |
| 98 | 1 0 0x50000000 0x00010000 |
| 99 | 2 0 0x50010000 0x00010000 |
| 100 | 3 0 0x50020000 0x00010000>; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 101 | |
| 102 | // 8-bit DualPort SRAM on LocalPlus Bus CS1 |
| 103 | kollmorgen@1,0 { |
| 104 | compatible = "promess,motionpro-kollmorgen"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 105 | reg = <1 0 0x10000>; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 106 | interrupts = <1 1 0>; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | // 8-bit board CPLD on LocalPlus Bus CS2 |
| 110 | cpld@2,0 { |
| 111 | compatible = "promess,motionpro-cpld"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 112 | reg = <2 0 0x10000>; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 113 | }; |
| 114 | |
| 115 | // 8-bit custom Anybus Module on LocalPlus Bus CS3 |
| 116 | anybus@3,0 { |
| 117 | compatible = "promess,motionpro-anybus"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 118 | reg = <3 0 0x10000>; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 119 | }; |
| 120 | pro_module_general@3,0 { |
| 121 | compatible = "promess,pro_module_general"; |
| 122 | reg = <3 0 3>; |
| 123 | }; |
| 124 | pro_module_dio@3,800 { |
| 125 | compatible = "promess,pro_module_dio"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 126 | reg = <3 0x800 2>; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 127 | }; |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 128 | |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 129 | // 16-bit flash device at LocalPlus Bus CS0 |
| 130 | flash@0,0 { |
| 131 | compatible = "cfi-flash"; |
Grant Likely | a2884f3 | 2008-04-29 07:19:07 -0600 | [diff] [blame] | 132 | reg = <0 0 0x01000000>; |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 133 | bank-width = <2>; |
| 134 | device-width = <2>; |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 135 | #size-cells = <1>; |
| 136 | #address-cells = <1>; |
Bartlomiej Sieka | 115e1ad | 2008-04-03 01:26:02 +1100 | [diff] [blame] | 137 | }; |
John Bonesio | c8bf6b5 | 2010-11-17 15:28:56 -0800 | [diff] [blame] | 138 | |
Marian Balakowicz | 0238aa5 | 2007-11-10 04:12:49 +1100 | [diff] [blame] | 139 | }; |
| 140 | }; |