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 Vodka 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 Vodka Board"; |
| 13 | compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2"; |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 14 | |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 15 | chosen { |
Masahiro Yamada | fe8dc1f | 2016-07-06 19:24:09 +0900 | [diff] [blame] | 16 | stdout-path = "serial0:115200n8"; |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 17 | }; |
| 18 | |
| 19 | aliases { |
Masahiro Yamada | fe8dc1f | 2016-07-06 19:24:09 +0900 | [diff] [blame] | 20 | serial0 = &serial2; |
| 21 | serial1 = &serial0; |
| 22 | serial2 = &serial1; |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 23 | i2c0 = &i2c0; |
| 24 | i2c4 = &i2c4; |
| 25 | i2c5 = &i2c5; |
| 26 | i2c6 = &i2c6; |
| 27 | }; |
Masahiro Yamada | f16eda9 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 28 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 29 | memory@80000000 { |
Masahiro Yamada | f16eda9 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 30 | device_type = "memory"; |
| 31 | reg = <0x80000000 0x80000000>; |
| 32 | }; |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 33 | |
| 34 | sound { |
| 35 | compatible = "audio-graph-card"; |
| 36 | label = "UniPhier PXs2"; |
| 37 | dais = <&spdif_port0 |
| 38 | &comp_spdif_port0>; |
| 39 | }; |
| 40 | |
| 41 | spdif-out { |
| 42 | compatible = "linux,spdif-dit"; |
| 43 | #sound-dai-cells = <0>; |
| 44 | |
| 45 | port@0 { |
| 46 | spdif_tx: endpoint { |
| 47 | remote-endpoint = <&spdif_hiecout1>; |
| 48 | }; |
| 49 | }; |
| 50 | }; |
| 51 | |
| 52 | comp-spdif-out { |
| 53 | compatible = "linux,spdif-dit"; |
| 54 | #sound-dai-cells = <0>; |
| 55 | |
| 56 | port@0 { |
| 57 | comp_spdif_tx: endpoint { |
| 58 | remote-endpoint = <&comp_spdif_hiecout1>; |
| 59 | }; |
| 60 | }; |
| 61 | }; |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 62 | }; |
| 63 | |
| 64 | &serial2 { |
| 65 | status = "okay"; |
| 66 | }; |
| 67 | |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 68 | &spdif_hiecout1 { |
| 69 | remote-endpoint = <&spdif_tx>; |
| 70 | }; |
| 71 | |
| 72 | &comp_spdif_hiecout1 { |
| 73 | remote-endpoint = <&comp_spdif_tx>; |
| 74 | }; |
| 75 | |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 76 | &i2c0 { |
| 77 | status = "okay"; |
| 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 { |
| 90 | ethphy: ethphy@1 { |
| 91 | reg = <1>; |
| 92 | }; |
| 93 | }; |
| 94 | |
Masahiro Yamada | 2610b13 | 2015-11-04 21:56:07 +0900 | [diff] [blame] | 95 | &usb0 { |
| 96 | status = "okay"; |
| 97 | }; |