1/*
2 * Device Tree Source for UniPhier LD20 Global Board
3 *
4 * Copyright (C) 2015-2017 Socionext Inc.
5 *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
6 *           Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
7 *
8 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 */
10
11/dts-v1/;
12#include "uniphier-ld20.dtsi"
13
14/ {
15	model = "UniPhier LD20 Global Board (REF_LD20_GP)";
16	compatible = "socionext,uniphier-ld20-global",
17		     "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	sound {
42		compatible = "audio-graph-card";
43		label = "UniPhier LD20";
44		widgets = "Headphone", "Headphone Jack";
45		dais = <&i2s_port2
46			&i2s_port4
47			&spdif_port0>;
48	};
49
50	spdif-out {
51		compatible = "linux,spdif-dit";
52		#sound-dai-cells = <0>;
53
54		port@0 {
55			spdif_tx: endpoint {
56				remote-endpoint = <&spdif_hiecout1>;
57			};
58		};
59	};
60};
61
62&serial0 {
63	status = "okay";
64};
65
66&serial1 {
67	status = "okay";
68};
69
70&spdif_hiecout1 {
71	remote-endpoint = <&spdif_tx>;
72};
73
74&i2c0 {
75	status = "okay";
76};
77
78&nand {
79	status = "okay";
80};
81