1220653Sphilip/*
2220653Sphilip * Copyright (c) 2010 The FreeBSD Foundation
3220653Sphilip * All rights reserved.
4220653Sphilip *
5220653Sphilip * Redistribution and use in source and binary forms, with or without
6220653Sphilip * modification, are permitted provided that the following conditions
7220653Sphilip * are met:
8220653Sphilip * 1. Redistributions of source code must retain the above copyright
9220653Sphilip *    notice, this list of conditions and the following disclaimer.
10220653Sphilip * 2. Redistributions in binary form must reproduce the above copyright
11220653Sphilip *    notice, this list of conditions and the following disclaimer in the
12220653Sphilip *    documentation and/or other materials provided with the distribution.
13220653Sphilip *
14220653Sphilip * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15220653Sphilip * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16220653Sphilip * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17220653Sphilip * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18220653Sphilip * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19220653Sphilip * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20220653Sphilip * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21220653Sphilip * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22220653Sphilip * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23220653Sphilip * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24220653Sphilip * SUCH DAMAGE.
25220653Sphilip *
26220653Sphilip * Technologic Systems TS-7800 Device Tree Source.
27220653Sphilip *
28220653Sphilip * $FreeBSD: releng/10.2/sys/boot/fdt/dts/arm/ts7800.dts 262614 2014-02-28 18:29:09Z imp $
29220653Sphilip */
30220653Sphilip
31220653Sphilip/dts-v1/;
32220653Sphilip
33220653Sphilip/ {
34220653Sphilip	model = "mrvl,TS-7800";
35220653Sphilip	compatible = "DB-88F5182-BP", "DB-88F5182-BP-A";
36220653Sphilip	#address-cells = <1>;
37220653Sphilip	#size-cells = <1>;
38220653Sphilip
39220653Sphilip	aliases {
40220653Sphilip		ethernet0 = &mge0;
41220653Sphilip		serial0 = &serial0;
42220653Sphilip		serial1 = &serial1;
43220653Sphilip		mpp = &MPP;
44220653Sphilip	};
45220653Sphilip
46220653Sphilip	cpus {
47220653Sphilip		#address-cells = <1>;
48220653Sphilip		#size-cells = <0>;
49220653Sphilip
50220653Sphilip		cpu@0 {
51220653Sphilip			device_type = "cpu";
52220653Sphilip			compatible = "ARM,88FR531";
53220653Sphilip			reg = <0x0>;
54220653Sphilip			d-cache-line-size = <32>;	// 32 bytes
55220653Sphilip			i-cache-line-size = <32>;	// 32 bytes
56220653Sphilip			d-cache-size = <0x8000>;	// L1, 32K
57220653Sphilip			i-cache-size = <0x8000>;	// L1, 32K
58220653Sphilip			timebase-frequency = <0>;
59220653Sphilip			bus-frequency = <0>;
60220653Sphilip			clock-frequency = <0>;
61220653Sphilip		};
62220653Sphilip	};
63220653Sphilip
64220653Sphilip	memory {
65220653Sphilip		device_type = "memory";
66220653Sphilip		reg = <0x0 0x08000000>;		// 128M at 0x0
67220653Sphilip	};
68220653Sphilip
69220653Sphilip	localbus@f1000000 {
70220653Sphilip		#address-cells = <2>;
71220653Sphilip		#size-cells = <1>;
72220653Sphilip		compatible = "mrvl,lbc";
73220653Sphilip
74220653Sphilip		/* This reflects CPU decode windows setup. */
75220653Sphilip		ranges = <0x0 0x0f 0xf9300000 0x00100000
76220653Sphilip			  0x1 0x1e 0xfa000000 0x00100000
77220653Sphilip			  0x2 0x1d 0xfa100000 0x02000000>;
78220653Sphilip	};
79220653Sphilip
80220653Sphilip	soc88f5182@f1000000 {
81220653Sphilip		#address-cells = <1>;
82220653Sphilip		#size-cells = <1>;
83220653Sphilip		compatible = "simple-bus";
84220653Sphilip		ranges = <0x0 0xf1000000 0x00100000>;
85220653Sphilip		bus-frequency = <0>;
86220653Sphilip
87220653Sphilip		PIC: pic@20200 {
88220653Sphilip			interrupt-controller;
89220653Sphilip			#address-cells = <0>;
90220653Sphilip			#interrupt-cells = <1>;
91220653Sphilip			reg = <0x20200 0x3c>;
92220653Sphilip			compatible = "mrvl,pic";
93220653Sphilip		};
94220653Sphilip
95220653Sphilip		timer@20300 {
96220653Sphilip			compatible = "mrvl,timer";
97220653Sphilip			reg = <0x20300 0x30>;
98220653Sphilip			interrupts = <0>;
99220653Sphilip			interrupt-parent = <&PIC>;
100220653Sphilip			mrvl,has-wdt;
101220653Sphilip		};
102220653Sphilip
103220653Sphilip		MPP: mpp@10000 {
104220653Sphilip			#pin-cells = <2>;
105220653Sphilip			compatible = "mrvl,mpp";
106220653Sphilip			reg = <0x10000 0x54>;
107220653Sphilip			pin-count = <20>;
108220653Sphilip			pin-map = <
109220653Sphilip				16 0		/* MPP[16]: UA1_RXD */
110220653Sphilip				17 0		/* MPP[17]: UA1_TXD */
111220653Sphilip				19 0 >;		/* MPP[19]: UA1_RTS */
112220653Sphilip		};
113220653Sphilip
114220653Sphilip		mge0: ethernet@72000 {
115220653Sphilip			#address-cells = <1>;
116220653Sphilip			#size-cells = <1>;
117220653Sphilip			model = "V1";
118220653Sphilip			compatible = "mrvl,ge";
119220653Sphilip			reg = <0x72000 0x2000>;
120220653Sphilip			ranges = <0x0 0x72000 0x2000>;
121220653Sphilip			local-mac-address = [ 00 00 00 00 00 00 ];
122220653Sphilip			interrupts = <18 19 20 21 22>;
123220653Sphilip			interrupt-parent = <&PIC>;
124220653Sphilip
125220653Sphilip			phy-handle = <&phy0>;
126220653Sphilip
127220653Sphilip			mdio@0 {
128220653Sphilip				#address-cells = <1>;
129220653Sphilip				#size-cells = <0>;
130220653Sphilip				compatible = "mrvl,mdio";
131220653Sphilip
132220653Sphilip				phy0: ethernet-phy@0 {
133220653Sphilip					reg = <0x0>;
134220653Sphilip				};
135220653Sphilip			};
136220653Sphilip		};
137220653Sphilip
138220653Sphilip		serial0: serial@12000 {
139220653Sphilip			compatible = "ns16550";
140220653Sphilip			reg = <0x12000 0x20>;
141220653Sphilip			reg-shift = <2>;
142220653Sphilip			clock-frequency = <0>;
143220653Sphilip			interrupts = <3>;
144220653Sphilip			interrupt-parent = <&PIC>;
145220653Sphilip		};
146220653Sphilip
147220653Sphilip		serial1: serial@12100 {
148220653Sphilip			compatible = "ns16550";
149220653Sphilip			reg = <0x12100 0x20>;
150220653Sphilip			reg-shift = <2>;
151220653Sphilip			clock-frequency = <0>;
152220653Sphilip			interrupts = <4>;
153220653Sphilip			interrupt-parent = <&PIC>;
154220653Sphilip		};
155220653Sphilip	};
156220653Sphilip
157220653Sphilip	chosen {
158220653Sphilip		stdin = "serial0";
159220653Sphilip		stdout = "serial0";
160220653Sphilip	};
161220653Sphilip};
162