1/*
2 * Device Tree Source for UniPhier LD6b 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-ld6b.dtsi"
12#include "uniphier-ref-daughter.dtsi"
13#include "uniphier-support-card.dtsi"
14
15/ {
16	model = "UniPhier LD6b Reference Board";
17	compatible = "socionext,uniphier-ld6b-ref", "socionext,uniphier-ld6b";
18
19	chosen {
20		stdout-path = "serial0:115200n8";
21	};
22
23	aliases {
24		serial0 = &serial0;
25		serial1 = &serial1;
26		serial2 = &serial2;
27		i2c0 = &i2c0;
28		i2c1 = &i2c1;
29		i2c2 = &i2c2;
30		i2c3 = &i2c3;
31		i2c4 = &i2c4;
32		i2c5 = &i2c5;
33		i2c6 = &i2c6;
34	};
35
36	memory@80000000 {
37		device_type = "memory";
38		reg = <0x80000000 0x80000000>;
39	};
40};
41
42&ethsc {
43	interrupts = <0 52 4>;
44};
45
46&serial0 {
47	status = "okay";
48};
49
50&serial1 {
51	status = "okay";
52};
53
54&serial2 {
55	status = "okay";
56};
57
58&i2c0 {
59	status = "okay";
60};
61
62&sd {
63	status = "okay";
64};
65
66&usb0 {
67	status = "okay";
68};
69
70&usb1 {
71	status = "okay";
72};
73
74/* for U-Boot only */
75&serial0 {
76	u-boot,dm-pre-reloc;
77};
78
79&pinctrl_uart0 {
80	u-boot,dm-pre-reloc;
81};
82