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 PXs2 Gentil Board | ||||
4 | // | ||||
5 | // Copyright (C) 2015-2016 Socionext Inc. | ||||
6 | // Author: Masahiro Yamada <yamada.masahiro@socionext.com> | ||||
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 7 | |
8 | /dts-v1/; | ||||
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 9 | #include "uniphier-pxs2.dtsi" |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 10 | |
11 | / { | ||||
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 12 | model = "UniPhier PXs2 Gentil Board"; |
13 | compatible = "socionext,uniphier-pxs2-gentil", | ||||
14 | "socionext,uniphier-pxs2"; | ||||
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 15 | |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 16 | chosen { |
Masahiro Yamada | 4c34fc4 | 2016-07-06 19:24:09 +0900 | [diff] [blame] | 17 | stdout-path = "serial0:115200n8"; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 18 | }; |
19 | |||||
20 | aliases { | ||||
Masahiro Yamada | 4c34fc4 | 2016-07-06 19:24:09 +0900 | [diff] [blame] | 21 | serial0 = &serial2; |
22 | serial1 = &serial0; | ||||
23 | serial2 = &serial1; | ||||
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 24 | i2c0 = &i2c0; |
Masahiro Yamada | 5b1e397 | 2016-02-12 20:27:01 +0900 | [diff] [blame] | 25 | i2c2 = &i2c2; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 26 | i2c4 = &i2c4; |
27 | i2c5 = &i2c5; | ||||
28 | i2c6 = &i2c6; | ||||
29 | }; | ||||
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 30 | |
Masahiro Yamada | ce6ca3c | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 31 | memory@80000000 { |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 32 | device_type = "memory"; |
33 | reg = <0x80000000 0x80000000>; | ||||
34 | }; | ||||
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 35 | |
36 | sound { | ||||
37 | compatible = "audio-graph-card"; | ||||
38 | label = "UniPhier PXs2"; | ||||
39 | dais = <&i2s_port2>; | ||||
40 | }; | ||||
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 41 | }; |
42 | |||||
43 | &serial2 { | ||||
44 | status = "okay"; | ||||
45 | }; | ||||
46 | |||||
47 | &i2c0 { | ||||
48 | status = "okay"; | ||||
Masahiro Yamada | 1723586 | 2016-02-12 20:27:00 +0900 | [diff] [blame] | 49 | |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 50 | eeprom@54 { |
Masahiro Yamada | 2f220501 | 2020-02-28 21:57:21 +0900 | [diff] [blame^] | 51 | compatible = "st,24c64", "atmel,24c64"; |
Masahiro Yamada | 1723586 | 2016-02-12 20:27:00 +0900 | [diff] [blame] | 52 | reg = <0x54>; |
Masahiro Yamada | bf3b721 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 53 | pagesize = <32>; |
Masahiro Yamada | 1723586 | 2016-02-12 20:27:00 +0900 | [diff] [blame] | 54 | }; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 55 | }; |
56 | |||||
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 57 | &i2s_aux { |
58 | dai-format = "i2s"; | ||||
59 | remote-endpoint = <&wm_speaker>; | ||||
60 | }; | ||||
61 | |||||
Masahiro Yamada | 5b1e397 | 2016-02-12 20:27:01 +0900 | [diff] [blame] | 62 | &i2c2 { |
63 | status = "okay"; | ||||
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 64 | |
65 | wm8960@1a { | ||||
66 | compatible = "wlf,wm8960"; | ||||
67 | reg = <0x1a>; | ||||
68 | #sound-dai-cells = <0>; | ||||
69 | |||||
70 | port@0 { | ||||
71 | wm_speaker: endpoint { | ||||
72 | dai-format = "i2s"; | ||||
73 | remote-endpoint = <&i2s_aux>; | ||||
74 | }; | ||||
75 | }; | ||||
76 | }; | ||||
Masahiro Yamada | 5b1e397 | 2016-02-12 20:27:01 +0900 | [diff] [blame] | 77 | }; |
78 | |||||
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 79 | &emmc { |
80 | status = "okay"; | ||||
81 | }; | ||||
82 | |||||
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 83 | ð { |
84 | status = "okay"; | ||||
85 | phy-handle = <ðphy>; | ||||
86 | }; | ||||
87 | |||||
88 | &mdio { | ||||
89 | ethphy: ethphy@1 { | ||||
90 | reg = <1>; | ||||
91 | }; | ||||
92 | }; | ||||
93 | |||||
Masahiro Yamada | a4e54cc | 2015-11-04 21:56:07 +0900 | [diff] [blame] | 94 | &usb0 { |
95 | status = "okay"; | ||||
96 | }; | ||||
97 | |||||
98 | &usb1 { | ||||
99 | status = "okay"; | ||||
100 | }; |