1/*
2 * Device Tree Source for UniPhier PXs3 Reference Board
3 *
4 * Copyright (C) 2017 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-pxs3.dtsi"
12#include "uniphier-support-card.dtsi"
13
14/ {
15	model = "UniPhier PXs3 Reference Board";
16	compatible = "socionext,uniphier-pxs3-ref", "socionext,uniphier-pxs3";
17
18	chosen {
19		stdout-path = "serial0:115200n8";
20	};
21
22	aliases {
23		serial0 = &serial0;
24		serial1 = &serial1;
25		serial2 = &serial2;
26		serial3 = &serial3;
27		i2c0 = &i2c0;
28		i2c1 = &i2c1;
29		i2c2 = &i2c2;
30		i2c3 = &i2c3;
31		i2c6 = &i2c6;
32	};
33
34	memory@80000000 {
35		device_type = "memory";
36		reg = <0 0x80000000 0 0xa0000000>;
37	};
38};
39
40&ethsc {
41	interrupts = <4 8>;
42};
43
44&serial0 {
45	status = "okay";
46};
47
48&serial2 {
49	status = "okay";
50};
51
52&serial3 {
53	status = "okay";
54};
55
56&gpio {
57	xirq4 {
58		gpio-hog;
59		gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
60		input;
61	};
62};
63
64&i2c0 {
65	status = "okay";
66};
67
68&i2c1 {
69	status = "okay";
70};
71
72&i2c2 {
73	status = "okay";
74};
75
76&i2c3 {
77	status = "okay";
78};
79
80&usb0 {
81	status = "okay";
82};
83
84&usb1 {
85	status = "okay";
86};
87
88&nand {
89	status = "okay";
90};
91