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