blob: 06065eb36cad1cfb21181c860f9922661cea79d2 [file] [log] [blame]
Masahiro Yamada3e98fc12018-04-16 12:35:33 +09001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2//
3// Device Tree Source for UniPhier Pro4 Reference Board
4//
5// Copyright (C) 2015-2016 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada509eb672014-11-26 18:33:59 +09007
8/dts-v1/;
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +09009#include "uniphier-pro4.dtsi"
10#include "uniphier-ref-daughter.dtsi"
11#include "uniphier-support-card.dtsi"
Masahiro Yamada509eb672014-11-26 18:33:59 +090012
13/ {
Masahiro Yamada52159d22016-10-07 16:43:00 +090014 model = "UniPhier Pro4 Reference Board";
15 compatible = "socionext,uniphier-pro4-ref", "socionext,uniphier-pro4";
Masahiro Yamada509eb672014-11-26 18:33:59 +090016
Masahiro Yamada509eb672014-11-26 18:33:59 +090017 chosen {
Masahiro Yamadab00543e2015-12-17 15:05:01 +090018 stdout-path = "serial0:115200n8";
Masahiro Yamada509eb672014-11-26 18:33:59 +090019 };
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090020
21 aliases {
Masahiro Yamadad243c182015-08-28 22:33:13 +090022 serial0 = &serial0;
23 serial1 = &serial1;
24 serial2 = &serial2;
25 serial3 = &serial3;
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090026 i2c0 = &i2c0;
27 i2c1 = &i2c1;
28 i2c2 = &i2c2;
29 i2c3 = &i2c3;
30 i2c5 = &i2c5;
31 i2c6 = &i2c6;
Masahiro Yamadade01a762015-02-27 02:26:59 +090032 usb0 = &usb0;
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090033 };
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090034
Masahiro Yamada7ad79c12017-03-13 00:16:40 +090035 memory@80000000 {
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090036 device_type = "memory";
37 reg = <0x80000000 0x40000000>;
38 };
Masahiro Yamada509eb672014-11-26 18:33:59 +090039};
Masahiro Yamada625177d2014-11-26 18:34:00 +090040
Masahiro Yamada60634982016-03-18 16:41:40 +090041&ethsc {
Masahiro Yamadab443fb42017-11-25 00:25:35 +090042 interrupts = <2 8>;
Masahiro Yamada60634982016-03-18 16:41:40 +090043};
44
Masahiro Yamadad243c182015-08-28 22:33:13 +090045&serial0 {
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090046 status = "okay";
Masahiro Yamada625177d2014-11-26 18:34:00 +090047};
48
Masahiro Yamadad243c182015-08-28 22:33:13 +090049&serial1 {
50 status = "okay";
51};
52
53&serial2 {
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090054 status = "okay";
55};
56
Masahiro Yamadab443fb42017-11-25 00:25:35 +090057&gpio {
58 xirq2 {
59 gpio-hog;
60 gpios = <UNIPHIER_GPIO_IRQ(2) 0>;
61 input;
62 };
63};
64
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090065&i2c0 {
66 status = "okay";
Masahiro Yamada625177d2014-11-26 18:34:00 +090067};
Masahiro Yamada149c7512014-11-26 18:34:01 +090068
Masahiro Yamadac7f94ee2016-02-18 19:52:50 +090069&sd {
70 status = "okay";
71};
72
Masahiro Yamadad243c182015-08-28 22:33:13 +090073&usb2 {
74 status = "okay";
75};
76
77&usb3 {
78 status = "okay";
79};
80
Masahiro Yamada3e98fc12018-04-16 12:35:33 +090081&eth {
82 status = "okay";
83 phy-handle = <&ethphy>;
84};
85
86&mdio {
87 ethphy: ethphy@0 {
88 reg = <0>;
89 };
90};
91
Masahiro Yamadacd622142016-12-05 18:31:39 +090092&usb0 {
93 status = "okay";
94};
95
96&usb1 {
97 status = "okay";
98};
Masahiro Yamada46820e32018-03-15 11:43:03 +090099
100&nand {
101 status = "okay";
102};