1/*
2 * Device Tree Source for UniPhier LD4 Reference Board
3 *
4 * Copyright (C) 2015-2016 Socionext Inc.
5 *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
6 *
7 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 */
9
10/dts-v1/;
11#include "uniphier-ld4.dtsi"
12#include "uniphier-ref-daughter.dtsi"
13#include "uniphier-support-card.dtsi"
14
15/ {
16	model = "UniPhier LD4 Reference Board";
17	compatible = "socionext,uniphier-ld4-ref", "socionext,uniphier-ld4";
18
19	chosen {
20		stdout-path = "serial0:115200n8";
21	};
22
23	aliases {
24		serial0 = &serial0;
25		serial1 = &serial1;
26		serial2 = &serial2;
27		serial3 = &serial3;
28		i2c0 = &i2c0;
29		i2c1 = &i2c1;
30		i2c2 = &i2c2;
31		i2c3 = &i2c3;
32	};
33
34	memory@80000000 {
35		device_type = "memory";
36		reg = <0x80000000 0x20000000>;
37	};
38};
39
40&ethsc {
41	interrupts = <0 49 4>;
42};
43
44&serial0 {
45	status = "okay";
46};
47
48&serial2 {
49	status = "okay";
50};
51
52&serial3 {
53	status = "okay";
54};
55
56&i2c0 {
57	status = "okay";
58};
59
60&sd {
61	status = "okay";
62};
63
64&usb0 {
65	status = "okay";
66};
67
68&usb1 {
69	status = "okay";
70};
71
72/* for U-Boot only */
73&serial0 {
74	u-boot,dm-pre-reloc;
75};
76
77&pinctrl_uart0 {
78	u-boot,dm-pre-reloc;
79};
80