xref: /freebsd/sys/dts/arm/vybrid-quartz.dts (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
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
27/dts-v1/;
28
29/include/ "vybrid.dtsi"
30
31/ {
32	model = "Device Solutions Quartz Module";
33
34	memory {
35		device_type = "memory";
36		reg = < 0x80000000 0x10000000 >;	/* 256MB RAM */
37	};
38
39	SOC: vybrid {
40		serial0: serial@40027000 {
41			status = "okay";
42		};
43
44		fec1: ethernet@400D1000 {
45			status = "okay";
46			iomux_config = < 54 0x103192
47					 55 0x103193
48					 56 0x103191
49					 57 0x103191
50					 58 0x103191
51					 59 0x103191
52					 60 0x103192
53					 61 0x103192
54					 62 0x103192
55					  0 0x203191 >;
56		};
57
58		edma1: edma@40098000 {
59			status = "okay";
60		};
61
62		dcu0: dcu4@40058000 {
63			status = "okay";
64
65			panel-size = < 800 480 >;
66			panel-hsync = < 40 48 40 >;
67			panel-vsync = < 29 3 13 >;
68			panel-clk-div = < 17 >;
69			panel-backlight-pin = < 25 >;
70
71			iomux_config = < 105 0x1001c4 /* hsync */
72					 106 0x1001c4 /* vsync */
73					 107 0x1001e0 /* pclk */
74					 108 0x1001e0
75					 109 0x1001be /* de */
76					 110 0x1001e0 /* r0 */
77					 111 0x1001e0
78					 112 0x1001e0
79					 113 0x1001e0
80					 114 0x1001e0
81					 115 0x1001e0
82					 116 0x1001e0
83					 117 0x1001e0
84					 118 0x1001e0 /* g0 */
85					 119 0x1001e0
86					 120 0x1001e0
87					 121 0x1001e0
88					 122 0x1001e0
89					 123 0x1001e0
90					 124 0x1001e0
91					 125 0x1001e0
92					 126 0x1001e0 /* b0 */
93					 127 0x1001e0
94					 128 0x1001e0
95					 129 0x1001e0
96					 130 0x1001e0
97					 131 0x1001e0
98					 132 0x1001e0
99					 133 0x1001e0
100					  25 0x0001be >; /* led */
101		};
102
103		tcon0: tcon@4003D000 {
104			status = "okay";
105		};
106	};
107
108	chosen {
109		bootargs = "-v";
110		stdin = "serial0";
111		stdout = "serial0";
112	};
113};
114