Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame^] | 1 | // 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 Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 7 | |
8 | /dts-v1/; | ||||
Masahiro Yamada | 31c86aa | 2017-08-29 12:20:53 +0900 | [diff] [blame] | 9 | #include "uniphier-pxs3.dtsi" |
10 | #include "uniphier-support-card.dtsi" | ||||
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 11 | |
12 | / { | ||||
13 | model = "UniPhier PXs3 Reference Board"; | ||||
14 | compatible = "socionext,uniphier-pxs3-ref", "socionext,uniphier-pxs3"; | ||||
15 | |||||
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 16 | chosen { |
17 | stdout-path = "serial0:115200n8"; | ||||
18 | }; | ||||
19 | |||||
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 20 | 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 Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 32 | memory@80000000 { |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 33 | device_type = "memory"; |
34 | reg = <0 0x80000000 0 0xa0000000>; | ||||
35 | }; | ||||
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 36 | }; |
37 | |||||
38 | ðsc { | ||||
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 39 | interrupts = <4 8>; |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 40 | }; |
41 | |||||
42 | &serial0 { | ||||
43 | status = "okay"; | ||||
44 | }; | ||||
45 | |||||
Masahiro Yamada | 46820e3 | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 46 | &serial2 { |
47 | status = "okay"; | ||||
48 | }; | ||||
49 | |||||
50 | &serial3 { | ||||
51 | status = "okay"; | ||||
52 | }; | ||||
53 | |||||
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 54 | &gpio { |
55 | xirq4 { | ||||
56 | gpio-hog; | ||||
57 | gpios = <UNIPHIER_GPIO_IRQ(4) 0>; | ||||
58 | input; | ||||
59 | }; | ||||
60 | }; | ||||
61 | |||||
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 62 | &i2c0 { |
63 | status = "okay"; | ||||
64 | }; | ||||
Masahiro Yamada | 31c86aa | 2017-08-29 12:20:53 +0900 | [diff] [blame] | 65 | |
66 | &i2c1 { | ||||
67 | status = "okay"; | ||||
68 | }; | ||||
69 | |||||
70 | &i2c2 { | ||||
71 | status = "okay"; | ||||
72 | }; | ||||
73 | |||||
74 | &i2c3 { | ||||
75 | status = "okay"; | ||||
76 | }; | ||||
77 | |||||
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame^] | 78 | ð0 { |
79 | status = "okay"; | ||||
80 | phy-handle = <ðphy0>; | ||||
81 | }; | ||||
82 | |||||
83 | &mdio0 { | ||||
84 | ethphy0: ethphy@0 { | ||||
85 | reg = <0>; | ||||
86 | }; | ||||
87 | }; | ||||
88 | |||||
89 | ð1 { | ||||
90 | status = "okay"; | ||||
91 | phy-handle = <ðphy1>; | ||||
92 | }; | ||||
93 | |||||
94 | &mdio1 { | ||||
95 | ethphy1: ethphy@0 { | ||||
96 | reg = <0>; | ||||
97 | }; | ||||
98 | }; | ||||
99 | |||||
Masahiro Yamada | 31c86aa | 2017-08-29 12:20:53 +0900 | [diff] [blame] | 100 | &usb0 { |
101 | status = "okay"; | ||||
102 | }; | ||||
103 | |||||
104 | &usb1 { | ||||
105 | status = "okay"; | ||||
106 | }; | ||||
Masahiro Yamada | 2728748 | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 107 | |
108 | &nand { | ||||
109 | status = "okay"; | ||||
110 | }; |