Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 1 | /* |
2 | * Device Tree Source for UniPhier PH1-Pro4 Reference Board | ||||
3 | * | ||||
Masahiro Yamada | f4e190e | 2015-08-28 20:13:18 +0900 | [diff] [blame] | 4 | * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 5 | * |
Masahiro Yamada | 13b2ba1 | 2015-06-30 18:27:01 +0900 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ X11 |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 7 | */ |
8 | |||||
9 | /dts-v1/; | ||||
10 | /include/ "uniphier-ph1-pro4.dtsi" | ||||
Masahiro Yamada | a7f2ecf | 2015-02-05 14:30:25 +0900 | [diff] [blame] | 11 | /include/ "uniphier-ref-daughter.dtsi" |
Masahiro Yamada | 6063498 | 2016-03-18 16:41:40 +0900 | [diff] [blame] | 12 | /include/ "uniphier-support-card.dtsi" |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 13 | |
14 | / { | ||||
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 15 | model = "UniPhier PH1-Pro4 Reference Board"; |
16 | compatible = "socionext,ph1-pro4-ref", "socionext,ph1-pro4"; | ||||
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 17 | |
18 | memory { | ||||
19 | device_type = "memory"; | ||||
20 | reg = <0x80000000 0x40000000>; | ||||
21 | }; | ||||
22 | |||||
23 | chosen { | ||||
Masahiro Yamada | b00543e | 2015-12-17 15:05:01 +0900 | [diff] [blame] | 24 | stdout-path = "serial0:115200n8"; |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 25 | }; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 26 | |
27 | aliases { | ||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 28 | serial0 = &serial0; |
29 | serial1 = &serial1; | ||||
30 | serial2 = &serial2; | ||||
31 | serial3 = &serial3; | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 32 | i2c0 = &i2c0; |
33 | i2c1 = &i2c1; | ||||
34 | i2c2 = &i2c2; | ||||
35 | i2c3 = &i2c3; | ||||
36 | i2c5 = &i2c5; | ||||
37 | i2c6 = &i2c6; | ||||
Masahiro Yamada | de01a76 | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 38 | usb0 = &usb0; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 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 { |
43 | interrupts = <0 50 4>; | ||||
44 | }; | ||||
45 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 46 | &serial0 { |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 47 | status = "okay"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 48 | }; |
49 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 50 | &serial1 { |
51 | status = "okay"; | ||||
52 | }; | ||||
53 | |||||
54 | &serial2 { | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 55 | status = "okay"; |
56 | }; | ||||
57 | |||||
58 | &i2c0 { | ||||
59 | status = "okay"; | ||||
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 60 | }; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 61 | |
Masahiro Yamada | c7f94ee | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 62 | &sd { |
63 | status = "okay"; | ||||
64 | }; | ||||
65 | |||||
66 | &sd1 { | ||||
67 | status = "okay"; | ||||
68 | }; | ||||
69 | |||||
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 70 | &usb0 { |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 71 | status = "okay"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 72 | }; |
Masahiro Yamada | f4e190e | 2015-08-28 20:13:18 +0900 | [diff] [blame] | 73 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 74 | &usb2 { |
75 | status = "okay"; | ||||
76 | }; | ||||
77 | |||||
78 | &usb3 { | ||||
79 | status = "okay"; | ||||
80 | }; | ||||
81 | |||||
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 82 | /* for U-Boot only */ |
Masahiro Yamada | b25c4ab | 2015-09-11 20:17:41 +0900 | [diff] [blame] | 83 | / { |
84 | soc { | ||||
85 | u-boot,dm-pre-reloc; | ||||
86 | }; | ||||
87 | }; | ||||
88 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 89 | &serial0 { |
Masahiro Yamada | b25c4ab | 2015-09-11 20:17:41 +0900 | [diff] [blame] | 90 | u-boot,dm-pre-reloc; |
91 | }; | ||||
92 | |||||
93 | &pinctrl { | ||||
94 | u-boot,dm-pre-reloc; | ||||
95 | }; | ||||
96 | |||||
97 | &pinctrl_uart0 { | ||||
98 | u-boot,dm-pre-reloc; | ||||
Masahiro Yamada | f4e190e | 2015-08-28 20:13:18 +0900 | [diff] [blame] | 99 | }; |