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 | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 12 | |
13 | / { | ||||
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 14 | model = "UniPhier PH1-LD4 Reference Board"; |
15 | compatible = "socionext,ph1-ld4-ref", "socionext,ph1-ld4"; | ||||
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 16 | |
17 | memory { | ||||
18 | device_type = "memory"; | ||||
19 | reg = <0x80000000 0x20000000>; | ||||
20 | }; | ||||
21 | |||||
22 | chosen { | ||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 23 | bootargs = "console=ttyS0,115200"; |
24 | stdout-path = &serial0; | ||||
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 | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 39 | &serial0 { |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 40 | status = "okay"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 41 | }; |
42 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 43 | &serial2 { |
44 | status = "okay"; | ||||
45 | }; | ||||
46 | |||||
47 | &serial3 { | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 48 | status = "okay"; |
49 | }; | ||||
50 | |||||
51 | &i2c0 { | ||||
52 | status = "okay"; | ||||
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 53 | }; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 54 | |
55 | &usb0 { | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 56 | status = "okay"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 57 | }; |
58 | |||||
59 | &usb1 { | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 60 | status = "okay"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 61 | }; |
Masahiro Yamada | f4e190e | 2015-08-28 20:13:18 +0900 | [diff] [blame] | 62 | |
63 | /* for U-boot only */ | ||||
Masahiro Yamada | b25c4ab | 2015-09-11 20:17:41 +0900 | [diff] [blame] | 64 | / { |
65 | soc { | ||||
66 | u-boot,dm-pre-reloc; | ||||
67 | }; | ||||
68 | }; | ||||
69 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 70 | &serial0 { |
Masahiro Yamada | b25c4ab | 2015-09-11 20:17:41 +0900 | [diff] [blame] | 71 | u-boot,dm-pre-reloc; |
72 | }; | ||||
73 | |||||
74 | &pinctrl { | ||||
75 | u-boot,dm-pre-reloc; | ||||
76 | }; | ||||
77 | |||||
78 | &pinctrl_uart0 { | ||||
79 | u-boot,dm-pre-reloc; | ||||
Masahiro Yamada | f4e190e | 2015-08-28 20:13:18 +0900 | [diff] [blame] | 80 | }; |