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