vybrid-quartz.dts revision 266274
1/*-
2 * Copyright (c) 2014 Ruslan Bukin <br@bsdpad.com>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 *    notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 *    notice, this list of conditions and the following disclaimer in the
12 *    documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: stable/10/sys/boot/fdt/dts/arm/vybrid-quartz.dts 266274 2014-05-16 23:27:18Z ian $
27 */
28
29/dts-v1/;
30
31/include/ "vybrid.dtsi"
32
33/ {
34	model = "Device Solutions Quartz Module";
35
36	memory {
37		device_type = "memory";
38		reg = < 0x80000000 0x10000000 >;	/* 256MB RAM */
39	};
40
41	SOC: vybrid {
42		serial0: serial@40027000 {
43			status = "okay";
44		};
45
46		fec1: ethernet@400D1000 {
47			status = "okay";
48			iomux_config = < 54 0x103192
49					 55 0x103193
50					 56 0x103191
51					 57 0x103191
52					 58 0x103191
53					 59 0x103191
54					 60 0x103192
55					 61 0x103192
56					 62 0x103192
57					  0 0x203191 >;
58		};
59
60		edma1: edma@40098000 {
61			status = "okay";
62		};
63
64		dcu0: dcu4@40058000 {
65			status = "okay";
66
67			panel-size = < 800 480 >;
68			panel-hsync = < 40 48 40 >;
69			panel-vsync = < 29 3 13 >;
70			panel-clk-div = < 17 >;
71			panel-backlight-pin = < 25 >;
72
73			iomux_config = < 105 0x1001c4 /* hsync */
74					 106 0x1001c4 /* vsync */
75					 107 0x1001e0 /* pclk */
76					 108 0x1001e0
77					 109 0x1001be /* de */
78					 110 0x1001e0 /* r0 */
79					 111 0x1001e0
80					 112 0x1001e0
81					 113 0x1001e0
82					 114 0x1001e0
83					 115 0x1001e0
84					 116 0x1001e0
85					 117 0x1001e0
86					 118 0x1001e0 /* g0 */
87					 119 0x1001e0
88					 120 0x1001e0
89					 121 0x1001e0
90					 122 0x1001e0
91					 123 0x1001e0
92					 124 0x1001e0
93					 125 0x1001e0
94					 126 0x1001e0 /* b0 */
95					 127 0x1001e0
96					 128 0x1001e0
97					 129 0x1001e0
98					 130 0x1001e0
99					 131 0x1001e0
100					 132 0x1001e0
101					 133 0x1001e0
102					  25 0x0001be >; /* led */
103		};
104
105		tcon0: tcon@4003D000 {
106			status = "okay";
107		};
108	};
109
110	chosen {
111		bootargs = "-v";
112		stdin = "serial0";
113		stdout = "serial0";
114	};
115};
116