blob: 1965e4dfe4a4778de7b914605d8c78f96560f0d0 [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 PXs3 Reference Board
4//
5// Copyright (C) 2017 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada61e6cc02017-01-21 18:05:30 +09007
8/dts-v1/;
Masahiro Yamada31c86aa2017-08-29 12:20:53 +09009#include "uniphier-pxs3.dtsi"
10#include "uniphier-support-card.dtsi"
Masahiro Yamada61e6cc02017-01-21 18:05:30 +090011
12/ {
13 model = "UniPhier PXs3 Reference Board";
14 compatible = "socionext,uniphier-pxs3-ref", "socionext,uniphier-pxs3";
15
Masahiro Yamada7ad79c12017-03-13 00:16:40 +090016 chosen {
17 stdout-path = "serial0:115200n8";
18 };
19
Masahiro Yamada61e6cc02017-01-21 18:05:30 +090020 aliases {
21 serial0 = &serial0;
22 serial1 = &serial1;
23 serial2 = &serial2;
24 serial3 = &serial3;
25 i2c0 = &i2c0;
26 i2c1 = &i2c1;
27 i2c2 = &i2c2;
28 i2c3 = &i2c3;
29 i2c6 = &i2c6;
30 };
31
Masahiro Yamada7ad79c12017-03-13 00:16:40 +090032 memory@80000000 {
Masahiro Yamada61e6cc02017-01-21 18:05:30 +090033 device_type = "memory";
34 reg = <0 0x80000000 0 0xa0000000>;
35 };
Masahiro Yamada61e6cc02017-01-21 18:05:30 +090036};
37
38&ethsc {
Masahiro Yamadab443fb42017-11-25 00:25:35 +090039 interrupts = <4 8>;
Masahiro Yamada61e6cc02017-01-21 18:05:30 +090040};
41
42&serial0 {
43 status = "okay";
44};
45
Masahiro Yamada46820e32018-03-15 11:43:03 +090046&serial2 {
47 status = "okay";
48};
49
50&serial3 {
51 status = "okay";
52};
53
Masahiro Yamadab443fb42017-11-25 00:25:35 +090054&gpio {
55 xirq4 {
56 gpio-hog;
57 gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
58 input;
59 };
60};
61
Masahiro Yamada61e6cc02017-01-21 18:05:30 +090062&i2c0 {
63 status = "okay";
64};
Masahiro Yamada31c86aa2017-08-29 12:20:53 +090065
66&i2c1 {
67 status = "okay";
68};
69
70&i2c2 {
71 status = "okay";
72};
73
74&i2c3 {
75 status = "okay";
76};
77
Masahiro Yamada9ef88392018-06-19 16:11:47 +090078&sd {
79 status = "okay";
80};
81
Masahiro Yamada3e98fc12018-04-16 12:35:33 +090082&eth0 {
83 status = "okay";
84 phy-handle = <&ethphy0>;
85};
86
87&mdio0 {
88 ethphy0: ethphy@0 {
89 reg = <0>;
90 };
91};
92
93&eth1 {
94 status = "okay";
95 phy-handle = <&ethphy1>;
96};
97
98&mdio1 {
99 ethphy1: ethphy@0 {
100 reg = <0>;
101 };
102};
103
Masahiro Yamada31c86aa2017-08-29 12:20:53 +0900104&usb0 {
105 status = "okay";
106};
107
108&usb1 {
109 status = "okay";
110};
Masahiro Yamada27287482017-10-17 21:19:43 +0900111
Masahiro Yamadacd33fed2019-04-12 18:55:50 +0900112&pcie {
113 status = "okay";
114};
115
Masahiro Yamada27287482017-10-17 21:19:43 +0900116&nand {
117 status = "okay";
118};