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