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 Vodka 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 Vodka Board"; |
| 13 | compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2"; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 14 | |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 15 | chosen { |
Masahiro Yamada | 4c34fc4 | 2016-07-06 19:24:09 +0900 | [diff] [blame] | 16 | stdout-path = "serial0:115200n8"; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 17 | }; |
| 18 | |
| 19 | aliases { |
Masahiro Yamada | 4c34fc4 | 2016-07-06 19:24:09 +0900 | [diff] [blame] | 20 | serial0 = &serial2; |
| 21 | serial1 = &serial0; |
| 22 | serial2 = &serial1; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 23 | i2c0 = &i2c0; |
| 24 | i2c4 = &i2c4; |
| 25 | i2c5 = &i2c5; |
| 26 | i2c6 = &i2c6; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame^] | 27 | ethernet0 = ð |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 28 | }; |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 29 | |
Masahiro Yamada | ce6ca3c | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 30 | memory@80000000 { |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 31 | device_type = "memory"; |
| 32 | reg = <0x80000000 0x80000000>; |
| 33 | }; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 34 | |
| 35 | sound { |
| 36 | compatible = "audio-graph-card"; |
| 37 | label = "UniPhier PXs2"; |
| 38 | dais = <&spdif_port0 |
| 39 | &comp_spdif_port0>; |
| 40 | }; |
| 41 | |
| 42 | spdif-out { |
| 43 | compatible = "linux,spdif-dit"; |
| 44 | #sound-dai-cells = <0>; |
| 45 | |
| 46 | port@0 { |
| 47 | spdif_tx: endpoint { |
| 48 | remote-endpoint = <&spdif_hiecout1>; |
| 49 | }; |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | comp-spdif-out { |
| 54 | compatible = "linux,spdif-dit"; |
| 55 | #sound-dai-cells = <0>; |
| 56 | |
| 57 | port@0 { |
| 58 | comp_spdif_tx: endpoint { |
| 59 | remote-endpoint = <&comp_spdif_hiecout1>; |
| 60 | }; |
| 61 | }; |
| 62 | }; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 63 | }; |
| 64 | |
| 65 | &serial2 { |
| 66 | status = "okay"; |
| 67 | }; |
| 68 | |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 69 | &spdif_hiecout1 { |
| 70 | remote-endpoint = <&spdif_tx>; |
| 71 | }; |
| 72 | |
| 73 | &comp_spdif_hiecout1 { |
| 74 | remote-endpoint = <&comp_spdif_tx>; |
| 75 | }; |
| 76 | |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 77 | &i2c0 { |
| 78 | status = "okay"; |
| 79 | }; |
| 80 | |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 81 | &emmc { |
| 82 | status = "okay"; |
| 83 | }; |
| 84 | |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 85 | ð { |
| 86 | status = "okay"; |
| 87 | phy-handle = <ðphy>; |
| 88 | }; |
| 89 | |
| 90 | &mdio { |
| 91 | ethphy: ethphy@1 { |
| 92 | reg = <1>; |
| 93 | }; |
| 94 | }; |
| 95 | |
Masahiro Yamada | a4e54cc | 2015-11-04 21:56:07 +0900 | [diff] [blame] | 96 | &usb0 { |
| 97 | status = "okay"; |
| 98 | }; |