blob: 202ca84faa3cb9e9d93b960c9971ea9b3a71e80c [file] [log] [blame]
Masahiro Yamada0bc56842018-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 Yamada53f6ec62014-11-26 18:33:59 +09007
8/dts-v1/;
Masahiro Yamada1a420bd2017-08-29 12:20:52 +09009#include "uniphier-pro4.dtsi"
10#include "uniphier-ref-daughter.dtsi"
11#include "uniphier-support-card.dtsi"
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090012
13/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090014 model = "UniPhier Pro4 Reference Board";
15 compatible = "socionext,uniphier-pro4-ref", "socionext,uniphier-pro4";
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090016
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090017 chosen {
Masahiro Yamada3b35c292015-12-17 15:05:01 +090018 stdout-path = "serial0:115200n8";
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090019 };
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090020
21 aliases {
Masahiro Yamada37649af2015-08-28 22:33:13 +090022 serial0 = &serial0;
23 serial1 = &serial1;
24 serial2 = &serial2;
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090025 serial3 = &serialsc;
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090026 i2c0 = &i2c0;
27 i2c1 = &i2c1;
28 i2c2 = &i2c2;
29 i2c3 = &i2c3;
30 i2c5 = &i2c5;
31 i2c6 = &i2c6;
Masahiro Yamada73e8efc2015-02-27 02:26:59 +090032 usb0 = &usb0;
Masahiro Yamada423471f2020-07-09 15:08:14 +090033 ethernet0 = &eth;
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090034 };
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090035
Masahiro Yamadace6ca3c2017-03-13 00:16:40 +090036 memory@80000000 {
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090037 device_type = "memory";
38 reg = <0x80000000 0x40000000>;
39 };
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090040};
Masahiro Yamadaf8cd9b02014-11-26 18:34:00 +090041
Masahiro Yamada32b1cd92016-03-18 16:41:40 +090042&ethsc {
Kunihiko Hayashic13863f2023-02-28 11:37:09 +090043 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
Masahiro Yamada32b1cd92016-03-18 16:41:40 +090044};
45
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090046&serialsc {
Kunihiko Hayashic13863f2023-02-28 11:37:09 +090047 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090048};
49
Masahiro Yamada37649af2015-08-28 22:33:13 +090050&serial0 {
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090051 status = "okay";
Masahiro Yamadaf8cd9b02014-11-26 18:34:00 +090052};
53
Masahiro Yamada37649af2015-08-28 22:33:13 +090054&serial1 {
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090055 status = "okay";
56};
57
Masahiro Yamada37649af2015-08-28 22:33:13 +090058&serial2 {
59 status = "okay";
60};
61
Masahiro Yamada6c086d02017-11-25 00:25:35 +090062&gpio {
Kunihiko Hayashic13863f2023-02-28 11:37:09 +090063 xirq2-hog {
Masahiro Yamada6c086d02017-11-25 00:25:35 +090064 gpio-hog;
65 gpios = <UNIPHIER_GPIO_IRQ(2) 0>;
66 input;
67 };
68};
69
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090070&i2c0 {
71 status = "okay";
Masahiro Yamadaf8cd9b02014-11-26 18:34:00 +090072};
Masahiro Yamada9a724622014-11-26 18:34:01 +090073
Masahiro Yamada299307d2016-02-18 19:52:50 +090074&sd {
75 status = "okay";
76};
77
Masahiro Yamada6e485b22016-12-05 18:31:39 +090078&usb2 {
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090079 status = "okay";
Masahiro Yamada9a724622014-11-26 18:34:01 +090080};
Masahiro Yamada47eb9a82015-08-28 20:13:18 +090081
Masahiro Yamada6e485b22016-12-05 18:31:39 +090082&usb3 {
Masahiro Yamada37649af2015-08-28 22:33:13 +090083 status = "okay";
84};
85
Masahiro Yamada0bc56842018-04-16 12:35:33 +090086&eth {
87 status = "okay";
88 phy-handle = <&ethphy>;
89};
90
91&mdio {
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090092 ethphy: ethernet-phy@0 {
Masahiro Yamada0bc56842018-04-16 12:35:33 +090093 reg = <0>;
94 };
95};
96
Masahiro Yamada6e485b22016-12-05 18:31:39 +090097&usb0 {
98 status = "okay";
99};
100
101&usb1 {
Masahiro Yamada37649af2015-08-28 22:33:13 +0900102 status = "okay";
103};
Masahiro Yamadab61327d2018-03-15 11:43:03 +0900104
105&nand {
106 status = "okay";
Kunihiko Hayashic13863f2023-02-28 11:37:09 +0900107
108 nand@0 {
109 reg = <0>;
110 };
111};
112
113&ahci0 {
114 status = "okay";
115};
116
117&ahci1 {
118 status = "okay";
Masahiro Yamadab61327d2018-03-15 11:43:03 +0900119};