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 {
43 compatible = "moschip,nuport-mac";
44 reg = <0x40084000 0xd8 // mac
45 0x40080000 0x58>; // dma channels
46 interrupts = <4 5 29>; /* tx, rx, link */
47 nuport-mac,buffer-shifting;
48 nuport-mac,link-activity = <0>;
52 reg = <0x40088000 0x1c>;
57 compatible = "moschip,mcs814x-i2s";
58 reg = <0x4008c000 0x18>;
63 compatible = "moschip,mcs814x-ipsec";
64 reg = <0x40094000 0x1d8>;
69 compatible = "moschip,mcs814x-rng";
70 reg = <0x4009c000 0x8>;
74 reg = <0x400a8000 0x58>;
78 reg = <0x400ac0c0 0x38>;
79 interrupts = <19 27>; // done, error
83 compatible = "moschip,mcs814x-gpio";
84 reg = <0x400d0000 0x670>;
91 eepio: gpio@400d4000 {
92 compatible = "moschip,mcs814x-gpio";
93 reg = <0x400d4000 0x470>;
99 uart0: serial@400dc000 {
100 compatible = "ns16550";
101 reg = <0x400dc000 0x20>;
102 clock-frequency = <50000000>;
108 intc: interrupt-controller@400e4000 {
109 #interrupt-cells = <1>;
110 compatible = "moschip,mcs814x-intc";
111 interrupt-controller;
113 reg = <0x400e4000 0x48>;
117 reg = <0x400e8000 0x24>;
121 eth-filters@400ec000 {
122 reg = <0x400ec000 0x80>;
125 timer: timer@400f800c {
126 compatible = "moschip,mcs814x-timer";
128 reg = <0x400f800c 0x8>;
132 compatible = "moschip,mcs814x-wdt";
133 reg = <0x400f8014 0x8>;
137 compatible = "simple-bus";
138 #address-cells = <2>;
140 // 8 64MB chip-selects
141 ranges = <0 0 0x00000000 0x4000000 // sdram
142 1 0 0x04000000 0x4000000 // sdram
143 2 0 0x08000000 0x4000000 // reserved
144 3 0 0x0c000000 0x4000000 // flash/localbus
145 4 0 0x10000000 0x4000000 // flash/localbus
146 5 0 0x14000000 0x4000000 // flash/localbus
147 6 0 0x18000000 0x4000000 // flash/localbus
148 7 0 0x1c000000 0x4000000>; // flash/localbus
155 reg = <7 0 0x4000000>;
156 compatible = "cfi-flash";
157 bank-width = <1>; // 8-bit external flash
158 #address-cells = <1>;
163 usb0: ehci@400fc000 {
164 compatible = "moschip,mcs814x-ehci", "usb-ehci";
165 reg = <0x400fc000 0x74>;
169 usb1: ohci@400fd000 {
170 compatible = "moschip,mcs814x-ohci", "ohci-le";
171 reg = <0x400fd000 0x74>;
175 usb2: ohci@400fe000 {
176 compatible = "moschip,mcs814x-ohci", "ohci-le";
177 reg = <0x400fe000 0x74>;
182 compatible = "moschip,msc814x-otg", "usb-otg";
183 reg = <0x400ff000 0x1000>;