2 * mcs8140.dtsi - Device Tree Include file for Moschip MCS8140 family SoC
4 * Copyright (C) 2012, Florian Fainelli <florian@openwrt.org>
6 * Licensed under GPLv2.
9 /include/ "skeleton.dtsi"
12 model = "Moschip MCS8140 family SoC";
13 compatible = "moschip,mcs8140";
14 interrupt-parent = <&intc>;
23 compatible = "arm,arm926ejs";
28 compatible = "simple-bus";
34 compatible = "simple-bus";
39 eth0: ethernet@40084000 {
40 compatible = "moschip,nuport-mac";
41 reg = <0x40084000 0xd8 // mac
42 0x40080000 0x58>; // dma channels
43 interrupts = <4 5 29>; /* tx, rx, link */
44 nuport-mac,buffer-shifting;
45 nuport-mac,link-activity = <0>;
49 reg = <0x40088000 0x1c>;
54 compatible = "moschip,mcs814x-i2s";
55 reg = <0x4008c000 0x18>;
60 compatible = "moschip,mcs814x-ipsec";
61 reg = <0x40094000 0x1d8>;
66 compatible = "moschip,mcs814x-rng";
67 reg = <0x4009c000 0x8>;
71 reg = <0x400a8000 0x58>;
75 reg = <0x400ac0c0 0x38>;
76 interrupts = <19 27>; // done, error
80 reg = <0x400b0000 0x44 // PCI master
81 0x400d8000 0xe4>; // EEPROM emulator
82 interrupts = <25>; // abort interrupt
87 ranges = <0x01000000 0 0x80000000 0x80000000 0 0x04000000 // IO
88 0x42000000 0 0x90000000 0x90000000 0 0x20000000 // non-prefetch
89 0x02000000 0 0xb0000000 0xb0000000 0 0x10000000>; // prefecth
91 #interrupt-cells = <1>;
92 interrupt-map-mask = <>;
93 interrupt-map = <0 0 0 1 &intc 22 0
100 compatible = "moschip,mcs814x-gpio";
101 reg = <0x400d0000 0x670>;
108 eepio: gpio@400d4000 {
109 compatible = "moschip,mcs814x-gpio";
110 reg = <0x400d4000 0x470>;
116 uart0: serial@400dc000 {
117 compatible = "ns16550";
118 reg = <0x400dc000 0x20>;
119 clock-frequency = <50000000>;
125 intc: interrupt-controller@400e4000 {
126 #interrupt-cells = <1>;
127 compatible = "moschip,mcs814x-intc";
128 interrupt-controller;
130 reg = <0x400e4000 0x48>;
134 reg = <0x400e8000 0x24>;
138 eth-filters@400ec000 {
139 reg = <0x400ec000 0x80>;
142 timer: timer@400f800c {
143 compatible = "moschip,mcs814x-timer";
145 reg = <0x400f800c 0x8>;
149 compatible = "moschip,mcs814x-wdt";
150 reg = <0x400f8014 0x8>;
154 compatible = "simple-bus";
155 #address-cells = <2>;
157 // 8 64MB chip-selects
158 ranges = <0 0 0x00000000 0x4000000 // sdram
159 1 0 0x04000000 0x4000000 // sdram
160 2 0 0x08000000 0x4000000 // reserved
161 3 0 0x0c000000 0x4000000 // flash/localbus
162 4 0 0x10000000 0x4000000 // flash/localbus
163 5 0 0x14000000 0x4000000 // flash/localbus
164 6 0 0x18000000 0x4000000 // flash/localbus
165 7 0 0x1c000000 0x4000000>; // flash/localbus
172 reg = <7 0 0x4000000>;
173 compatible = "cfi-flash";
174 bank-width = <1>; // 8-bit external flash
175 #address-cells = <1>;
180 usb0: ehci@400fc000 {
181 compatible = "moschip,mcs814x-ehci", "usb-ehci";
182 reg = <0x400fc000 0x74>;
186 usb1: ohci@400fd000 {
187 compatible = "moschip,mcs814x-ohci", "ohci-le";
188 reg = <0x400fd000 0x74>;
192 usb2: ohci@400fe000 {
193 compatible = "moschip,mcs814x-ohci", "ohci-le";
194 reg = <0x400fe000 0x74>;
199 compatible = "moschip,msc814x-otg", "usb-otg";
200 reg = <0x400ff000 0x1000>;