2018-03-10 06:18:01 -07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
|
|
//
|
|
|
|
// Device Tree Source for UniPhier PXs2 Gentil Board
|
|
|
|
//
|
|
|
|
// Copyright (C) 2015-2016 Socionext Inc.
|
|
|
|
// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
2015-10-21 05:36:29 -06:00
|
|
|
|
|
|
|
/dts-v1/;
|
2017-08-09 10:43:27 -06:00
|
|
|
#include "uniphier-pxs2.dtsi"
|
2015-10-21 05:36:29 -06:00
|
|
|
|
|
|
|
/ {
|
2016-08-29 23:02:41 -06:00
|
|
|
model = "UniPhier PXs2 Gentil Board";
|
|
|
|
compatible = "socionext,uniphier-pxs2-gentil",
|
|
|
|
"socionext,uniphier-pxs2";
|
2015-10-21 05:36:29 -06:00
|
|
|
|
|
|
|
chosen {
|
2016-06-13 20:59:46 -06:00
|
|
|
stdout-path = "serial0:115200n8";
|
2015-10-21 05:36:29 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
2016-06-13 20:59:46 -06:00
|
|
|
serial0 = &serial2;
|
|
|
|
serial1 = &serial0;
|
|
|
|
serial2 = &serial1;
|
2015-10-23 21:25:31 -06:00
|
|
|
i2c0 = &i2c0;
|
2016-02-26 00:18:33 -07:00
|
|
|
i2c2 = &i2c2;
|
2015-10-23 21:25:31 -06:00
|
|
|
i2c4 = &i2c4;
|
|
|
|
i2c5 = &i2c5;
|
|
|
|
i2c6 = &i2c6;
|
2015-10-21 05:36:29 -06:00
|
|
|
};
|
2017-03-11 06:52:59 -07:00
|
|
|
|
|
|
|
memory@80000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x80000000 0x80000000>;
|
|
|
|
};
|
2018-03-13 23:26:58 -06:00
|
|
|
|
|
|
|
sound {
|
|
|
|
compatible = "audio-graph-card";
|
|
|
|
label = "UniPhier PXs2";
|
|
|
|
dais = <&i2s_port2>;
|
|
|
|
};
|
2015-10-21 05:36:29 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
&serial2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
2016-02-26 00:18:32 -07:00
|
|
|
|
|
|
|
eeprom@54 {
|
2017-05-23 07:34:40 -06:00
|
|
|
compatible = "st,24c64", "atmel,24c64";
|
2016-02-26 00:18:32 -07:00
|
|
|
reg = <0x54>;
|
2017-03-13 13:56:32 -06:00
|
|
|
pagesize = <32>;
|
2016-02-26 00:18:32 -07:00
|
|
|
};
|
2015-10-21 05:36:29 -06:00
|
|
|
};
|
2016-02-26 00:18:33 -07:00
|
|
|
|
2018-03-13 23:26:58 -06:00
|
|
|
&i2s_aux {
|
|
|
|
dai-format = "i2s";
|
|
|
|
remote-endpoint = <&wm_speaker>;
|
|
|
|
};
|
|
|
|
|
2016-02-26 00:18:33 -07:00
|
|
|
&i2c2 {
|
|
|
|
status = "okay";
|
2018-03-13 23:26:58 -06:00
|
|
|
|
|
|
|
wm8960@1a {
|
|
|
|
compatible = "wlf,wm8960";
|
|
|
|
reg = <0x1a>;
|
|
|
|
#sound-dai-cells = <0>;
|
|
|
|
|
|
|
|
port@0 {
|
|
|
|
wm_speaker: endpoint {
|
|
|
|
dai-format = "i2s";
|
|
|
|
remote-endpoint = <&i2s_aux>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-02-26 00:18:33 -07:00
|
|
|
};
|
2018-02-14 02:30:28 -07:00
|
|
|
|
2018-10-02 16:59:50 -06:00
|
|
|
&emmc {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-02-14 02:30:28 -07:00
|
|
|
ð {
|
|
|
|
status = "okay";
|
|
|
|
phy-handle = <ðphy>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mdio {
|
|
|
|
ethphy: ethphy@1 {
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
};
|
2018-10-02 05:11:59 -06:00
|
|
|
|
|
|
|
&usb0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|