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&gpio {
49	xirq4 {
50		gpio-hog;
51		gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
52		input;
53	};
54};
55
56&i2c0 {
57	status = "okay";
58};
59
60&i2c1 {
61	status = "okay";
62};
63
64&i2c2 {
65	status = "okay";
66};
67
68&i2c3 {
69	status = "okay";
70};
71
72&usb0 {
73	status = "okay";
74};
75
76&usb1 {
77	status = "okay";
78};
79
80&nand {
81	status = "okay";
82};
83