1/*
2 * Device Tree Source for UniPhier LD20 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-ld20.dtsi"
12#include "uniphier-ref-daughter.dtsi"
13#include "uniphier-support-card.dtsi"
14
15/ {
16	model = "UniPhier LD20 Reference Board";
17	compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20";
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		i2c4 = &i2c4;
33		i2c5 = &i2c5;
34	};
35
36	memory@80000000 {
37		device_type = "memory";
38		reg = <0 0x80000000 0 0xc0000000>;
39	};
40};
41
42&ethsc {
43	interrupt-parent = <&gpio>;
44	interrupts = <0 8>;
45};
46
47&serial0 {
48	status = "okay";
49};
50
51&gpio {
52	xirq0 {
53		gpio-hog;
54		gpios = <120 0>;
55		input;
56	};
57};
58
59&i2c0 {
60	status = "okay";
61};
62