Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 //
0003 // Device Tree Source for UniPhier PXs2 Vodka Board
0004 //
0005 // Copyright (C) 2015-2016 Socionext Inc.
0006 //   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
0007 
0008 /dts-v1/;
0009 #include "uniphier-pxs2.dtsi"
0010 
0011 / {
0012         model = "UniPhier PXs2 Vodka Board";
0013         compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2";
0014 
0015         chosen {
0016                 stdout-path = "serial0:115200n8";
0017         };
0018 
0019         aliases {
0020                 serial0 = &serial2;
0021                 serial1 = &serial0;
0022                 serial2 = &serial1;
0023                 i2c0 = &i2c0;
0024                 i2c4 = &i2c4;
0025                 i2c5 = &i2c5;
0026                 i2c6 = &i2c6;
0027                 ethernet0 = &eth;
0028         };
0029 
0030         memory@80000000 {
0031                 device_type = "memory";
0032                 reg = <0x80000000 0x80000000>;
0033         };
0034 
0035         sound {
0036                 compatible = "audio-graph-card";
0037                 label = "UniPhier PXs2";
0038                 dais = <&spdif_port0
0039                         &comp_spdif_port0>;
0040         };
0041 
0042         spdif-out {
0043                 compatible = "linux,spdif-dit";
0044                 #sound-dai-cells = <0>;
0045 
0046                 port@0 {
0047                         spdif_tx: endpoint {
0048                                 remote-endpoint = <&spdif_hiecout1>;
0049                         };
0050                 };
0051         };
0052 
0053         comp-spdif-out {
0054                 compatible = "linux,spdif-dit";
0055                 #sound-dai-cells = <0>;
0056 
0057                 port@0 {
0058                         comp_spdif_tx: endpoint {
0059                                 remote-endpoint = <&comp_spdif_hiecout1>;
0060                         };
0061                 };
0062         };
0063 };
0064 
0065 &serial2 {
0066         status = "okay";
0067 };
0068 
0069 &spdif_hiecout1 {
0070         remote-endpoint = <&spdif_tx>;
0071 };
0072 
0073 &comp_spdif_hiecout1 {
0074         remote-endpoint = <&comp_spdif_tx>;
0075 };
0076 
0077 &i2c0 {
0078         status = "okay";
0079 };
0080 
0081 &emmc {
0082         status = "okay";
0083 };
0084 
0085 &eth {
0086         status = "okay";
0087         phy-handle = <&ethphy>;
0088 };
0089 
0090 &mdio {
0091         ethphy: ethernet-phy@1 {
0092                 reg = <1>;
0093         };
0094 };
0095 
0096 &usb0 {
0097         status = "okay";
0098 };