Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 //
0003 // Device Tree Source for UniPhier PXs2 Gentil 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 Gentil Board";
0013         compatible = "socionext,uniphier-pxs2-gentil",
0014                      "socionext,uniphier-pxs2";
0015 
0016         chosen {
0017                 stdout-path = "serial0:115200n8";
0018         };
0019 
0020         aliases {
0021                 serial0 = &serial2;
0022                 serial1 = &serial0;
0023                 serial2 = &serial1;
0024                 i2c0 = &i2c0;
0025                 i2c2 = &i2c2;
0026                 i2c4 = &i2c4;
0027                 i2c5 = &i2c5;
0028                 i2c6 = &i2c6;
0029                 ethernet0 = &eth;
0030         };
0031 
0032         memory@80000000 {
0033                 device_type = "memory";
0034                 reg = <0x80000000 0x80000000>;
0035         };
0036 
0037         sound {
0038                 compatible = "audio-graph-card";
0039                 label = "UniPhier PXs2";
0040                 dais = <&i2s_port2>;
0041         };
0042 };
0043 
0044 &serial2 {
0045         status = "okay";
0046 };
0047 
0048 &i2c0 {
0049         status = "okay";
0050 
0051         eeprom@54 {
0052                 compatible = "st,24c64", "atmel,24c64";
0053                 reg = <0x54>;
0054                 pagesize = <32>;
0055         };
0056 };
0057 
0058 &i2s_aux {
0059         dai-format = "i2s";
0060         remote-endpoint = <&wm_speaker>;
0061 };
0062 
0063 &i2c2 {
0064         status = "okay";
0065 
0066         wm8960@1a {
0067                 compatible = "wlf,wm8960";
0068                 reg = <0x1a>;
0069                 #sound-dai-cells = <0>;
0070 
0071                 port@0 {
0072                         wm_speaker: endpoint {
0073                                 dai-format = "i2s";
0074                                 remote-endpoint = <&i2s_aux>;
0075                         };
0076                 };
0077         };
0078 };
0079 
0080 &emmc {
0081         status = "okay";
0082 };
0083 
0084 &eth {
0085         status = "okay";
0086         phy-handle = <&ethphy>;
0087 };
0088 
0089 &mdio {
0090         ethphy: ethernet-phy@1 {
0091                 reg = <1>;
0092         };
0093 };
0094 
0095 &usb0 {
0096         status = "okay";
0097 };
0098 
0099 &usb1 {
0100         status = "okay";
0101 };