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