Masahiro Yamada | 3e98fc1 | 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 | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 7 | |
8 | /dts-v1/; | ||||
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 9 | #include "uniphier-pxs2.dtsi" |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 10 | |
11 | / { | ||||
Masahiro Yamada | 52159d2 | 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 | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 15 | |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 16 | chosen { |
Masahiro Yamada | fe8dc1f | 2016-07-06 19:24:09 +0900 | [diff] [blame] | 17 | stdout-path = "serial0:115200n8"; |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 18 | }; |
19 | |||||
20 | aliases { | ||||
Masahiro Yamada | fe8dc1f | 2016-07-06 19:24:09 +0900 | [diff] [blame] | 21 | serial0 = &serial2; |
22 | serial1 = &serial0; | ||||
23 | serial2 = &serial1; | ||||
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 24 | i2c0 = &i2c0; |
Masahiro Yamada | 500aaca | 2016-02-12 20:27:01 +0900 | [diff] [blame] | 25 | i2c2 = &i2c2; |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 26 | i2c4 = &i2c4; |
27 | i2c5 = &i2c5; | ||||
28 | i2c6 = &i2c6; | ||||
Masahiro Yamada | 0852033 | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 29 | ethernet0 = ð |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 30 | }; |
Masahiro Yamada | f16eda9 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 31 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 32 | memory@80000000 { |
Masahiro Yamada | f16eda9 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 33 | device_type = "memory"; |
34 | reg = <0x80000000 0x80000000>; | ||||
35 | }; | ||||
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 36 | |
37 | sound { | ||||
38 | compatible = "audio-graph-card"; | ||||
39 | label = "UniPhier PXs2"; | ||||
40 | dais = <&i2s_port2>; | ||||
41 | }; | ||||
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 42 | }; |
43 | |||||
44 | &serial2 { | ||||
45 | status = "okay"; | ||||
46 | }; | ||||
47 | |||||
48 | &i2c0 { | ||||
49 | status = "okay"; | ||||
Masahiro Yamada | a65256d | 2016-02-12 20:27:00 +0900 | [diff] [blame] | 50 | |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 51 | eeprom@54 { |
Masahiro Yamada | 5326515 | 2020-02-28 21:57:21 +0900 | [diff] [blame] | 52 | compatible = "st,24c64", "atmel,24c64"; |
Masahiro Yamada | a65256d | 2016-02-12 20:27:00 +0900 | [diff] [blame] | 53 | reg = <0x54>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 54 | pagesize = <32>; |
Masahiro Yamada | a65256d | 2016-02-12 20:27:00 +0900 | [diff] [blame] | 55 | }; |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 56 | }; |
57 | |||||
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 58 | &i2s_aux { |
59 | dai-format = "i2s"; | ||||
60 | remote-endpoint = <&wm_speaker>; | ||||
61 | }; | ||||
62 | |||||
Masahiro Yamada | 500aaca | 2016-02-12 20:27:01 +0900 | [diff] [blame] | 63 | &i2c2 { |
64 | status = "okay"; | ||||
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 65 | |
66 | wm8960@1a { | ||||
67 | compatible = "wlf,wm8960"; | ||||
68 | reg = <0x1a>; | ||||
69 | #sound-dai-cells = <0>; | ||||
70 | |||||
71 | port@0 { | ||||
72 | wm_speaker: endpoint { | ||||
73 | dai-format = "i2s"; | ||||
74 | remote-endpoint = <&i2s_aux>; | ||||
75 | }; | ||||
76 | }; | ||||
77 | }; | ||||
Masahiro Yamada | 500aaca | 2016-02-12 20:27:01 +0900 | [diff] [blame] | 78 | }; |
79 | |||||
Masahiro Yamada | c7f94ee | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 80 | &emmc { |
81 | status = "okay"; | ||||
82 | }; | ||||
83 | |||||
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 84 | ð { |
85 | status = "okay"; | ||||
86 | phy-handle = <ðphy>; | ||||
87 | }; | ||||
88 | |||||
89 | &mdio { | ||||
Masahiro Yamada | 65282ed | 2020-08-04 14:41:09 +0900 | [diff] [blame] | 90 | ethphy: ethernet-phy@1 { |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 91 | reg = <1>; |
92 | }; | ||||
93 | }; | ||||
94 | |||||
Masahiro Yamada | 2610b13 | 2015-11-04 21:56:07 +0900 | [diff] [blame] | 95 | &usb0 { |
96 | status = "okay"; | ||||
97 | }; | ||||
98 | |||||
99 | &usb1 { | ||||
100 | status = "okay"; | ||||
101 | }; |