blob: 23fe42b7408bb4036f0b588a852660aa2b5adb28 [file] [log] [blame]
Masahiro Yamadaea566a42018-03-10 22:18:01 +09001// 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 Yamada13e77e62015-10-21 20:36:30 +09007
8/dts-v1/;
Masahiro Yamadaed8bc762017-08-10 01:43:27 +09009#include "uniphier-pxs2.dtsi"
Masahiro Yamada13e77e62015-10-21 20:36:30 +090010
11/ {
Masahiro Yamada77896e42016-08-30 14:02:41 +090012 model = "UniPhier PXs2 Vodka Board";
13 compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2";
Masahiro Yamada13e77e62015-10-21 20:36:30 +090014
Masahiro Yamada13e77e62015-10-21 20:36:30 +090015 chosen {
Masahiro Yamada2a4a2aa2016-06-14 11:59:46 +090016 stdout-path = "serial0:115200n8";
Masahiro Yamada13e77e62015-10-21 20:36:30 +090017 };
18
19 aliases {
Masahiro Yamada2a4a2aa2016-06-14 11:59:46 +090020 serial0 = &serial2;
21 serial1 = &serial0;
22 serial2 = &serial1;
Masahiro Yamada5f760482015-10-24 12:25:31 +090023 i2c0 = &i2c0;
24 i2c4 = &i2c4;
25 i2c5 = &i2c5;
26 i2c6 = &i2c6;
Masahiro Yamada13e77e62015-10-21 20:36:30 +090027 };
Masahiro Yamada23866a32017-03-11 22:52:59 +090028
29 memory@80000000 {
30 device_type = "memory";
31 reg = <0x80000000 0x80000000>;
32 };
Katsuhiro Suzuki7f9f76b2018-03-14 14:26:58 +090033
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 Yamada13e77e62015-10-21 20:36:30 +090062};
63
64&serial2 {
65 status = "okay";
66};
67
Katsuhiro Suzuki7f9f76b2018-03-14 14:26:58 +090068&spdif_hiecout1 {
69 remote-endpoint = <&spdif_tx>;
70};
71
72&comp_spdif_hiecout1 {
73 remote-endpoint = <&comp_spdif_tx>;
74};
75
Masahiro Yamada13e77e62015-10-21 20:36:30 +090076&i2c0 {
77 status = "okay";
78};
Kunihiko Hayashie3cc9312018-02-14 18:30:28 +090079
Masahiro Yamadab0a62612018-10-03 07:59:50 +090080&emmc {
81 status = "okay";
82};
83
Kunihiko Hayashie3cc9312018-02-14 18:30:28 +090084&eth {
85 status = "okay";
86 phy-handle = <&ethphy>;
87};
88
89&mdio {
90 ethphy: ethphy@1 {
91 reg = <1>;
92 };
93};
Kunihiko Hayashi45be1572018-10-02 20:11:59 +090094
95&usb0 {
96 status = "okay";
97};