1245450Sganbold/*-
2266337Sian * Copyright (c) 2012 Ganbold Tsagaankhuu <ganbold@freebsd.org>
3245450Sganbold * All rights reserved.
4245450Sganbold *
5245450Sganbold * Redistribution and use in source and binary forms, with or without
6245450Sganbold * modification, are permitted provided that the following conditions
7245450Sganbold * are met:
8245450Sganbold * 1. Redistributions of source code must retain the above copyright
9245450Sganbold *    notice, this list of conditions and the following disclaimer.
10245450Sganbold * 2. Redistributions in binary form must reproduce the above copyright
11245450Sganbold *    notice, this list of conditions and the following disclaimer in the
12245450Sganbold *    documentation and/or other materials provided with the distribution.
13245450Sganbold *
14245450Sganbold * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15245450Sganbold * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16245450Sganbold * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17245450Sganbold * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18245450Sganbold * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19245450Sganbold * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20245450Sganbold * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21245450Sganbold * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22245450Sganbold * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23245450Sganbold * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24245450Sganbold * SUCH DAMAGE.
25245450Sganbold * 
26245450Sganbold * $FreeBSD: releng/10.3/sys/boot/fdt/dts/arm/cubieboard.dts 266376 2014-05-17 23:16:18Z ian $
27245450Sganbold */
28245450Sganbold
29245450Sganbold/dts-v1/;
30245450Sganbold
31266376Sian/include/ "sun4i-a10.dtsi"
32266376Sian
33245450Sganbold/ {
34245900Sganbold	model = "Cubietech Cubieboard";
35245450Sganbold
36245450Sganbold	memory {
37245450Sganbold		device_type = "memory";
38260447Sganbold		reg = < 0x40000000 0x40000000 >;	/* 1GB RAM */
39245450Sganbold	};
40245450Sganbold
41245450Sganbold	aliases {
42245450Sganbold		soc = &SOC;
43245450Sganbold		UART0 = &UART0;
44245450Sganbold	};
45245450Sganbold
46245450Sganbold	SOC: a10 {
47245450Sganbold
48246851Sgonzo		usb1: usb@01c14000 {
49266376Sian			status = "okay";
50246851Sgonzo		};
51246851Sgonzo
52246851Sgonzo		usb2: usb@01c1c000 {
53266376Sian			status = "okay";
54245450Sganbold		};
55245450Sganbold
56245450Sganbold		UART0: serial@01c28000 {
57245450Sganbold			status = "okay";
58245450Sganbold		};
59266274Sian
60266274Sian		emac@01c0b000 {
61266376Sian			status = "okay";
62266274Sian		};
63245450Sganbold	};
64245450Sganbold
65245450Sganbold	chosen {
66245450Sganbold		bootargs = "-v";
67245450Sganbold		stdin = "UART0";
68245450Sganbold		stdout = "UART0";
69245450Sganbold	};
70245450Sganbold};
71245450Sganbold
72