Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 1 | /* |
2 | * Device Tree Source for UniPhier PH1-LD4 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-ld4.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-LD4 Reference Board"; |
16 | compatible = "socionext,ph1-ld4-ref", "socionext,ph1-ld4"; | ||||
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 17 | |
18 | memory { | ||||
19 | device_type = "memory"; | ||||
20 | reg = <0x80000000 0x20000000>; | ||||
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 | }; | ||||
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 37 | }; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 38 | |
Masahiro Yamada | 6063498 | 2016-03-18 16:41:40 +0900 | [diff] [blame] | 39 | ðsc { |
40 | interrupts = <0 49 4>; | ||||
41 | }; | ||||
42 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 43 | &serial0 { |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 44 | status = "okay"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 45 | }; |
46 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 47 | &serial2 { |
48 | status = "okay"; | ||||
49 | }; | ||||
50 | |||||
51 | &serial3 { | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 52 | status = "okay"; |
53 | }; | ||||
54 | |||||
55 | &i2c0 { | ||||
56 | status = "okay"; | ||||
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 57 | }; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 58 | |
Masahiro Yamada | c7f94ee | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 59 | &sd { |
60 | status = "okay"; | ||||
61 | }; | ||||
62 | |||||
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 63 | &usb0 { |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 64 | status = "okay"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 65 | }; |
66 | |||||
67 | &usb1 { | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 68 | status = "okay"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 69 | }; |
Masahiro Yamada | f4e190e | 2015-08-28 20:13:18 +0900 | [diff] [blame] | 70 | |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 71 | /* for U-Boot only */ |
Masahiro Yamada | b25c4ab | 2015-09-11 20:17:41 +0900 | [diff] [blame] | 72 | / { |
73 | soc { | ||||
74 | u-boot,dm-pre-reloc; | ||||
75 | }; | ||||
76 | }; | ||||
77 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 78 | &serial0 { |
Masahiro Yamada | b25c4ab | 2015-09-11 20:17:41 +0900 | [diff] [blame] | 79 | u-boot,dm-pre-reloc; |
80 | }; | ||||
81 | |||||
82 | &pinctrl { | ||||
83 | u-boot,dm-pre-reloc; | ||||
84 | }; | ||||
85 | |||||
86 | &pinctrl_uart0 { | ||||
87 | u-boot,dm-pre-reloc; | ||||
Masahiro Yamada | f4e190e | 2015-08-28 20:13:18 +0900 | [diff] [blame] | 88 | }; |