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