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 Pro4 Reference Board | ||||
4 | // | ||||
5 | // Copyright (C) 2015-2016 Socionext Inc. | ||||
6 | // Author: Masahiro Yamada <yamada.masahiro@socionext.com> | ||||
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 7 | |
8 | /dts-v1/; | ||||
Masahiro Yamada | 6c9e46e | 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 | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 12 | |
13 | / { | ||||
Masahiro Yamada | 52159d2 | 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 | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 16 | |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 17 | chosen { |
Masahiro Yamada | b00543e | 2015-12-17 15:05:01 +0900 | [diff] [blame] | 18 | stdout-path = "serial0:115200n8"; |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 19 | }; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 20 | |
21 | aliases { | ||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 22 | serial0 = &serial0; |
23 | serial1 = &serial1; | ||||
24 | serial2 = &serial2; | ||||
Masahiro Yamada | 65282ed | 2020-08-04 14:41:09 +0900 | [diff] [blame] | 25 | serial3 = &serialsc; |
Masahiro Yamada | f5fd7af | 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 | de01a76 | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 32 | usb0 = &usb0; |
Masahiro Yamada | 0852033 | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 33 | ethernet0 = ð |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 34 | }; |
Masahiro Yamada | f16eda9 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 35 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 36 | memory@80000000 { |
Masahiro Yamada | f16eda9 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 37 | device_type = "memory"; |
38 | reg = <0x80000000 0x40000000>; | ||||
39 | }; | ||||
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 40 | }; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 41 | |
Masahiro Yamada | 6063498 | 2016-03-18 16:41:40 +0900 | [diff] [blame] | 42 | ðsc { |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 43 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
Masahiro Yamada | 6063498 | 2016-03-18 16:41:40 +0900 | [diff] [blame] | 44 | }; |
45 | |||||
Masahiro Yamada | 65282ed | 2020-08-04 14:41:09 +0900 | [diff] [blame] | 46 | &serialsc { |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 47 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
Masahiro Yamada | 65282ed | 2020-08-04 14:41:09 +0900 | [diff] [blame] | 48 | }; |
49 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 50 | &serial0 { |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 51 | status = "okay"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 52 | }; |
53 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 54 | &serial1 { |
55 | status = "okay"; | ||||
56 | }; | ||||
57 | |||||
58 | &serial2 { | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 59 | status = "okay"; |
60 | }; | ||||
61 | |||||
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 62 | &gpio { |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 63 | xirq2-hog { |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 64 | gpio-hog; |
65 | gpios = <UNIPHIER_GPIO_IRQ(2) 0>; | ||||
66 | input; | ||||
67 | }; | ||||
68 | }; | ||||
69 | |||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 70 | &i2c0 { |
71 | status = "okay"; | ||||
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 72 | }; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 73 | |
Masahiro Yamada | c7f94ee | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 74 | &sd { |
75 | status = "okay"; | ||||
76 | }; | ||||
77 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 78 | &usb2 { |
79 | status = "okay"; | ||||
80 | }; | ||||
81 | |||||
82 | &usb3 { | ||||
83 | status = "okay"; | ||||
84 | }; | ||||
85 | |||||
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 86 | ð { |
87 | status = "okay"; | ||||
88 | phy-handle = <ðphy>; | ||||
89 | }; | ||||
90 | |||||
91 | &mdio { | ||||
Masahiro Yamada | 65282ed | 2020-08-04 14:41:09 +0900 | [diff] [blame] | 92 | ethphy: ethernet-phy@0 { |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 93 | reg = <0>; |
94 | }; | ||||
95 | }; | ||||
96 | |||||
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 97 | &usb0 { |
98 | status = "okay"; | ||||
99 | }; | ||||
100 | |||||
101 | &usb1 { | ||||
102 | status = "okay"; | ||||
103 | }; | ||||
Masahiro Yamada | 46820e3 | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 104 | |
105 | &nand { | ||||
106 | status = "okay"; | ||||
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 107 | |
108 | nand@0 { | ||||
109 | reg = <0>; | ||||
110 | }; | ||||
111 | }; | ||||
112 | |||||
113 | &ahci0 { | ||||
114 | status = "okay"; | ||||
115 | }; | ||||
116 | |||||
117 | &ahci1 { | ||||
118 | status = "okay"; | ||||
Masahiro Yamada | 46820e3 | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 119 | }; |