xref: /openbmc/linux/arch/mips/boot/dts/mti/sead3.dts (revision 7afd2a5a)
1/dts-v1/;
2
3/memreserve/ 0x00000000 0x00001000;	// reserved
4/memreserve/ 0x00001000 0x000ef000;	// ROM data
5/memreserve/ 0x000f0000 0x004cc000;	// reserved
6
7#include <dt-bindings/interrupt-controller/mips-gic.h>
8
9/ {
10	#address-cells = <1>;
11	#size-cells = <1>;
12	compatible = "mti,sead-3";
13	interrupt-parent = <&gic>;
14
15	chosen {
16		stdout-path = "uart1:115200";
17	};
18
19	aliases {
20		uart0 = &uart0;
21		uart1 = &uart1;
22	};
23
24	cpus {
25		cpu@0 {
26			compatible = "mti,mips14KEc", "mti,mips14Kc";
27		};
28	};
29
30	memory {
31		device_type = "memory";
32		reg = <0x0 0x08000000>;
33	};
34
35	cpu_intc: interrupt-controller {
36		compatible = "mti,cpu-interrupt-controller";
37
38		interrupt-controller;
39		#interrupt-cells = <1>;
40	};
41
42	gic: interrupt-controller@1b1c0000 {
43		compatible = "mti,gic";
44		reg = <0x1b1c0000 0x20000>;
45
46		interrupt-controller;
47		#interrupt-cells = <3>;
48
49		/*
50		 * Declare the interrupt-parent even though the mti,gic
51		 * binding doesn't require it, such that the kernel can
52		 * figure out that cpu_intc is the root interrupt
53		 * controller & should be probed first.
54		 */
55		interrupt-parent = <&cpu_intc>;
56
57		timer {
58			compatible = "mti,gic-timer";
59			interrupts = <GIC_LOCAL 1 IRQ_TYPE_NONE>;
60		};
61	};
62
63	ehci@1b200000 {
64		compatible = "generic-ehci";
65		reg = <0x1b200000 0x1000>;
66
67		interrupts = <0>; /* GIC 0 or CPU 6 */
68
69		has-transaction-translator;
70	};
71
72	/* UART connected to FTDI & miniUSB socket */
73	uart0: uart@1f000900 {
74		compatible = "ns16550a";
75		reg = <0x1f000900 0x20>;
76		reg-io-width = <4>;
77		reg-shift = <2>;
78
79		clock-frequency = <14745600>;
80
81		interrupts = <3>; /* GIC 3 or CPU 4 */
82
83		no-loopback-test;
84	};
85
86	/* UART connected to RS232 socket */
87	uart1: uart@1f000800 {
88		compatible = "ns16550a";
89		reg = <0x1f000800 0x20>;
90		reg-io-width = <4>;
91		reg-shift = <2>;
92
93		clock-frequency = <14745600>;
94
95		interrupts = <2>; /* GIC 2 or CPU 4 */
96
97		no-loopback-test;
98	};
99
100	eth@1f010000 {
101		compatible = "smsc,lan9115";
102		reg = <0x1f010000 0x10000>;
103		reg-io-width = <4>;
104
105		interrupts = <0>; /* GIC 0 or CPU 6 */
106
107		phy-mode = "mii";
108		smsc,irq-push-pull;
109		smsc,save-mac-address;
110	};
111};
112