Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 2 | * Device Tree Source for UniPhier sLD8 Reference Board |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 3 | * |
Masahiro Yamada | 52159d2 | 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 | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 6 | * |
Masahiro Yamada | d940300 | 2017-06-22 16:46:40 +0900 | [diff] [blame] | 7 | * SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 8 | */ |
9 | |||||
10 | /dts-v1/; | ||||
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 11 | #include "uniphier-sld8.dtsi" |
12 | #include "uniphier-ref-daughter.dtsi" | ||||
13 | #include "uniphier-support-card.dtsi" | ||||
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 14 | |
15 | / { | ||||
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 16 | model = "UniPhier sLD8 Reference Board"; |
17 | compatible = "socionext,uniphier-sld8-ref", "socionext,uniphier-sld8"; | ||||
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 18 | |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 19 | chosen { |
Masahiro Yamada | b00543e | 2015-12-17 15:05:01 +0900 | [diff] [blame] | 20 | stdout-path = "serial0:115200n8"; |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 21 | }; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 22 | |
23 | aliases { | ||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 24 | serial0 = &serial0; |
25 | serial1 = &serial1; | ||||
26 | serial2 = &serial2; | ||||
27 | serial3 = &serial3; | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 28 | i2c0 = &i2c0; |
29 | i2c1 = &i2c1; | ||||
30 | i2c2 = &i2c2; | ||||
31 | i2c3 = &i2c3; | ||||
32 | }; | ||||
Masahiro Yamada | f16eda9 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 33 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 34 | memory@80000000 { |
Masahiro Yamada | f16eda9 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 35 | device_type = "memory"; |
36 | reg = <0x80000000 0x20000000>; | ||||
37 | }; | ||||
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 38 | }; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 39 | |
Masahiro Yamada | 6063498 | 2016-03-18 16:41:40 +0900 | [diff] [blame] | 40 | ðsc { |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 41 | interrupts = <0 8>; |
Masahiro Yamada | 6063498 | 2016-03-18 16:41:40 +0900 | [diff] [blame] | 42 | }; |
43 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 44 | &serial0 { |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 45 | status = "okay"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 46 | }; |
47 | |||||
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 48 | &serial2 { |
49 | status = "okay"; | ||||
50 | }; | ||||
51 | |||||
52 | &serial3 { | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 53 | status = "okay"; |
54 | }; | ||||
55 | |||||
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 56 | &gpio { |
57 | xirq0 { | ||||
58 | gpio-hog; | ||||
59 | gpios = <UNIPHIER_GPIO_IRQ(0) 0>; | ||||
60 | input; | ||||
61 | }; | ||||
62 | }; | ||||
63 | |||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 64 | &i2c0 { |
65 | status = "okay"; | ||||
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 66 | }; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 67 | |
Masahiro Yamada | c7f94ee | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 68 | &sd { |
69 | status = "okay"; | ||||
70 | }; | ||||
71 | |||||
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 72 | &usb0 { |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 73 | status = "okay"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 74 | }; |
75 | |||||
76 | &usb1 { | ||||
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 77 | status = "okay"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 78 | }; |
Masahiro Yamada | f4e190e | 2015-08-28 20:13:18 +0900 | [diff] [blame] | 79 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 80 | &usb2 { |
81 | status = "okay"; | ||||
82 | }; | ||||
Masahiro Yamada | 2728748 | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 83 | |
84 | &nand { | ||||
85 | status = "okay"; | ||||
86 | }; |