2018-03-10 21:18:01 +08: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 19:36:29 +08:00
|
|
|
|
|
|
|
/dts-v1/;
|
2017-08-10 00:43:27 +08:00
|
|
|
#include "uniphier-pxs2.dtsi"
|
2015-10-21 19:36:29 +08:00
|
|
|
|
|
|
|
/ {
|
2016-08-30 13:02:41 +08:00
|
|
|
model = "UniPhier PXs2 Gentil Board";
|
|
|
|
compatible = "socionext,uniphier-pxs2-gentil",
|
|
|
|
"socionext,uniphier-pxs2";
|
2015-10-21 19:36:29 +08:00
|
|
|
|
|
|
|
chosen {
|
2016-06-14 10:59:46 +08:00
|
|
|
stdout-path = "serial0:115200n8";
|
2015-10-21 19:36:29 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
2016-06-14 10:59:46 +08:00
|
|
|
serial0 = &serial2;
|
|
|
|
serial1 = &serial0;
|
|
|
|
serial2 = &serial1;
|
2015-10-24 11:25:31 +08:00
|
|
|
i2c0 = &i2c0;
|
2016-02-26 15:18:33 +08:00
|
|
|
i2c2 = &i2c2;
|
2015-10-24 11:25:31 +08:00
|
|
|
i2c4 = &i2c4;
|
|
|
|
i2c5 = &i2c5;
|
|
|
|
i2c6 = &i2c6;
|
2015-10-21 19:36:29 +08:00
|
|
|
};
|
2017-03-11 21:52:59 +08:00
|
|
|
|
|
|
|
memory@80000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x80000000 0x80000000>;
|
|
|
|
};
|
2018-03-14 13:26:58 +08:00
|
|
|
|
|
|
|
sound {
|
|
|
|
compatible = "audio-graph-card";
|
|
|
|
label = "UniPhier PXs2";
|
|
|
|
dais = <&i2s_port2>;
|
|
|
|
};
|
2015-10-21 19:36:29 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&serial2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
2016-02-26 15:18:32 +08:00
|
|
|
|
|
|
|
eeprom@54 {
|
2017-05-23 21:34:40 +08:00
|
|
|
compatible = "st,24c64", "atmel,24c64";
|
2016-02-26 15:18:32 +08:00
|
|
|
reg = <0x54>;
|
2017-03-14 03:56:32 +08:00
|
|
|
pagesize = <32>;
|
2016-02-26 15:18:32 +08:00
|
|
|
};
|
2015-10-21 19:36:29 +08:00
|
|
|
};
|
2016-02-26 15:18:33 +08:00
|
|
|
|
2018-03-14 13:26:58 +08:00
|
|
|
&i2s_aux {
|
|
|
|
dai-format = "i2s";
|
|
|
|
remote-endpoint = <&wm_speaker>;
|
|
|
|
};
|
|
|
|
|
2016-02-26 15:18:33 +08:00
|
|
|
&i2c2 {
|
|
|
|
status = "okay";
|
2018-03-14 13:26:58 +08: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 15:18:33 +08:00
|
|
|
};
|
2018-02-14 17:30:28 +08:00
|
|
|
|
|
|
|
ð {
|
|
|
|
status = "okay";
|
|
|
|
phy-handle = <ðphy>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mdio {
|
|
|
|
ethphy: ethphy@1 {
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
};
|