1262456Sbr/*-
2262456Sbr * Copyright (c) 2014 Ruslan Bukin <br@bsdpad.com>
3262456Sbr * All rights reserved.
4262456Sbr *
5262456Sbr * Redistribution and use in source and binary forms, with or without
6262456Sbr * modification, are permitted provided that the following conditions
7262456Sbr * are met:
8262456Sbr * 1. Redistributions of source code must retain the above copyright
9262456Sbr *    notice, this list of conditions and the following disclaimer.
10262456Sbr * 2. Redistributions in binary form must reproduce the above copyright
11262456Sbr *    notice, this list of conditions and the following disclaimer in the
12262456Sbr *    documentation and/or other materials provided with the distribution.
13262456Sbr *
14262456Sbr * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15262456Sbr * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16262456Sbr * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17262456Sbr * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18262456Sbr * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19262456Sbr * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20262456Sbr * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21262456Sbr * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22262456Sbr * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23262456Sbr * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24262456Sbr * SUCH DAMAGE.
25262456Sbr *
26262456Sbr * $FreeBSD: releng/10.3/sys/boot/fdt/dts/arm/vybrid-quartz.dts 266274 2014-05-16 23:27:18Z ian $
27262456Sbr */
28262456Sbr
29262456Sbr/dts-v1/;
30262456Sbr
31262456Sbr/include/ "vybrid.dtsi"
32262456Sbr
33262456Sbr/ {
34262456Sbr	model = "Device Solutions Quartz Module";
35262456Sbr
36262456Sbr	memory {
37262456Sbr		device_type = "memory";
38262456Sbr		reg = < 0x80000000 0x10000000 >;	/* 256MB RAM */
39262456Sbr	};
40262456Sbr
41262456Sbr	SOC: vybrid {
42262456Sbr		serial0: serial@40027000 {
43262456Sbr			status = "okay";
44262456Sbr		};
45262456Sbr
46262456Sbr		fec1: ethernet@400D1000 {
47262456Sbr			status = "okay";
48262483Sbr			iomux_config = < 54 0x103192
49262483Sbr					 55 0x103193
50262483Sbr					 56 0x103191
51262483Sbr					 57 0x103191
52262483Sbr					 58 0x103191
53262483Sbr					 59 0x103191
54262483Sbr					 60 0x103192
55262483Sbr					 61 0x103192
56262483Sbr					 62 0x103192
57262483Sbr					  0 0x203191 >;
58262456Sbr		};
59262456Sbr
60262456Sbr		edma1: edma@40098000 {
61262456Sbr			status = "okay";
62262456Sbr		};
63266274Sian
64266274Sian		dcu0: dcu4@40058000 {
65266274Sian			status = "okay";
66266274Sian
67266274Sian			panel-size = < 800 480 >;
68266274Sian			panel-hsync = < 40 48 40 >;
69266274Sian			panel-vsync = < 29 3 13 >;
70266274Sian			panel-clk-div = < 17 >;
71266274Sian			panel-backlight-pin = < 25 >;
72266274Sian
73266274Sian			iomux_config = < 105 0x1001c4 /* hsync */
74266274Sian					 106 0x1001c4 /* vsync */
75266274Sian					 107 0x1001e0 /* pclk */
76266274Sian					 108 0x1001e0
77266274Sian					 109 0x1001be /* de */
78266274Sian					 110 0x1001e0 /* r0 */
79266274Sian					 111 0x1001e0
80266274Sian					 112 0x1001e0
81266274Sian					 113 0x1001e0
82266274Sian					 114 0x1001e0
83266274Sian					 115 0x1001e0
84266274Sian					 116 0x1001e0
85266274Sian					 117 0x1001e0
86266274Sian					 118 0x1001e0 /* g0 */
87266274Sian					 119 0x1001e0
88266274Sian					 120 0x1001e0
89266274Sian					 121 0x1001e0
90266274Sian					 122 0x1001e0
91266274Sian					 123 0x1001e0
92266274Sian					 124 0x1001e0
93266274Sian					 125 0x1001e0
94266274Sian					 126 0x1001e0 /* b0 */
95266274Sian					 127 0x1001e0
96266274Sian					 128 0x1001e0
97266274Sian					 129 0x1001e0
98266274Sian					 130 0x1001e0
99266274Sian					 131 0x1001e0
100266274Sian					 132 0x1001e0
101266274Sian					 133 0x1001e0
102266274Sian					  25 0x0001be >; /* led */
103266274Sian		};
104266274Sian
105266274Sian		tcon0: tcon@4003D000 {
106266274Sian			status = "okay";
107266274Sian		};
108262456Sbr	};
109262456Sbr
110262456Sbr	chosen {
111262456Sbr		bootargs = "-v";
112262456Sbr		stdin = "serial0";
113262456Sbr		stdout = "serial0";
114262456Sbr	};
115262456Sbr};
116