Masahiro Yamada | 0bc5684 | 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 Pro4 Reference Board | ||||
4 | // | ||||
5 | // Copyright (C) 2015-2016 Socionext Inc. | ||||
6 | // Author: Masahiro Yamada <yamada.masahiro@socionext.com> | ||||
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 7 | |
8 | /dts-v1/; | ||||
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 9 | #include "uniphier-pro4.dtsi" |
10 | #include "uniphier-ref-daughter.dtsi" | ||||
11 | #include "uniphier-support-card.dtsi" | ||||
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 12 | |
13 | / { | ||||
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 14 | model = "UniPhier Pro4 Reference Board"; |
15 | compatible = "socionext,uniphier-pro4-ref", "socionext,uniphier-pro4"; | ||||
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 16 | |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 17 | chosen { |
Masahiro Yamada | 3b35c29 | 2015-12-17 15:05:01 +0900 | [diff] [blame] | 18 | stdout-path = "serial0:115200n8"; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 19 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 20 | |
21 | aliases { | ||||
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 22 | serial0 = &serial0; |
23 | serial1 = &serial1; | ||||
24 | serial2 = &serial2; | ||||
25 | serial3 = &serial3; | ||||
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 26 | i2c0 = &i2c0; |
27 | i2c1 = &i2c1; | ||||
28 | i2c2 = &i2c2; | ||||
29 | i2c3 = &i2c3; | ||||
30 | i2c5 = &i2c5; | ||||
31 | i2c6 = &i2c6; | ||||
Masahiro Yamada | 73e8efc | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 32 | usb0 = &usb0; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 33 | ethernet0 = ð |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 34 | }; |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 35 | |
Masahiro Yamada | ce6ca3c | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 36 | memory@80000000 { |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 37 | device_type = "memory"; |
38 | reg = <0x80000000 0x40000000>; | ||||
39 | }; | ||||
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 40 | }; |
Masahiro Yamada | f8cd9b0 | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 41 | |
Masahiro Yamada | 32b1cd9 | 2016-03-18 16:41:40 +0900 | [diff] [blame] | 42 | ðsc { |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 43 | interrupts = <2 8>; |
Masahiro Yamada | 32b1cd9 | 2016-03-18 16:41:40 +0900 | [diff] [blame] | 44 | }; |
45 | |||||
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 46 | &serial0 { |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 47 | status = "okay"; |
Masahiro Yamada | f8cd9b0 | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 48 | }; |
49 | |||||
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 50 | &serial1 { |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 51 | status = "okay"; |
52 | }; | ||||
53 | |||||
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 54 | &serial2 { |
55 | status = "okay"; | ||||
56 | }; | ||||
57 | |||||
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 58 | &gpio { |
59 | xirq2 { | ||||
60 | gpio-hog; | ||||
61 | gpios = <UNIPHIER_GPIO_IRQ(2) 0>; | ||||
62 | input; | ||||
63 | }; | ||||
64 | }; | ||||
65 | |||||
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 66 | &i2c0 { |
67 | status = "okay"; | ||||
Masahiro Yamada | f8cd9b0 | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 68 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 69 | |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 70 | &sd { |
71 | status = "okay"; | ||||
72 | }; | ||||
73 | |||||
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 74 | &usb2 { |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 75 | status = "okay"; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 76 | }; |
Masahiro Yamada | 47eb9a8 | 2015-08-28 20:13:18 +0900 | [diff] [blame] | 77 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 78 | &usb3 { |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 79 | status = "okay"; |
80 | }; | ||||
81 | |||||
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 82 | ð { |
83 | status = "okay"; | ||||
84 | phy-handle = <ðphy>; | ||||
85 | }; | ||||
86 | |||||
87 | &mdio { | ||||
88 | ethphy: ethphy@0 { | ||||
89 | reg = <0>; | ||||
90 | }; | ||||
91 | }; | ||||
92 | |||||
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 93 | &usb0 { |
94 | status = "okay"; | ||||
95 | }; | ||||
96 | |||||
97 | &usb1 { | ||||
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 98 | status = "okay"; |
99 | }; | ||||
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 100 | |
101 | &nand { | ||||
102 | status = "okay"; | ||||
103 | }; |