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