blob: 759384b606631ee0c361faa656d50bef2e16395c [file] [log] [blame]
Masahiro Yamada3e98fc12018-04-16 12:35:33 +09001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2//
3// Device Tree Source for UniPhier PXs2 Gentil Board
4//
5// Copyright (C) 2015-2016 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada019df872015-09-22 00:27:41 +09007
8/dts-v1/;
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +09009#include "uniphier-pxs2.dtsi"
Masahiro Yamada019df872015-09-22 00:27:41 +090010
11/ {
Masahiro Yamada52159d22016-10-07 16:43:00 +090012 model = "UniPhier PXs2 Gentil Board";
13 compatible = "socionext,uniphier-pxs2-gentil",
14 "socionext,uniphier-pxs2";
Masahiro Yamada019df872015-09-22 00:27:41 +090015
Masahiro Yamada019df872015-09-22 00:27:41 +090016 chosen {
Masahiro Yamadafe8dc1f2016-07-06 19:24:09 +090017 stdout-path = "serial0:115200n8";
Masahiro Yamada019df872015-09-22 00:27:41 +090018 };
19
20 aliases {
Masahiro Yamadafe8dc1f2016-07-06 19:24:09 +090021 serial0 = &serial2;
22 serial1 = &serial0;
23 serial2 = &serial1;
Masahiro Yamada019df872015-09-22 00:27:41 +090024 i2c0 = &i2c0;
Masahiro Yamada500aaca2016-02-12 20:27:01 +090025 i2c2 = &i2c2;
Masahiro Yamada019df872015-09-22 00:27:41 +090026 i2c4 = &i2c4;
27 i2c5 = &i2c5;
28 i2c6 = &i2c6;
Masahiro Yamada08520332020-07-09 15:08:14 +090029 ethernet0 = &eth;
Masahiro Yamada019df872015-09-22 00:27:41 +090030 };
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090031
Masahiro Yamada7ad79c12017-03-13 00:16:40 +090032 memory@80000000 {
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090033 device_type = "memory";
34 reg = <0x80000000 0x80000000>;
35 };
Masahiro Yamada3e98fc12018-04-16 12:35:33 +090036
37 sound {
38 compatible = "audio-graph-card";
39 label = "UniPhier PXs2";
40 dais = <&i2s_port2>;
41 };
Masahiro Yamada019df872015-09-22 00:27:41 +090042};
43
44&serial2 {
45 status = "okay";
46};
47
48&i2c0 {
49 status = "okay";
Masahiro Yamadaa65256d2016-02-12 20:27:00 +090050
Masahiro Yamada52159d22016-10-07 16:43:00 +090051 eeprom@54 {
Masahiro Yamada53265152020-02-28 21:57:21 +090052 compatible = "st,24c64", "atmel,24c64";
Masahiro Yamadaa65256d2016-02-12 20:27:00 +090053 reg = <0x54>;
Masahiro Yamada7317a942017-03-13 00:16:41 +090054 pagesize = <32>;
Masahiro Yamadaa65256d2016-02-12 20:27:00 +090055 };
Masahiro Yamada019df872015-09-22 00:27:41 +090056};
57
Masahiro Yamada3e98fc12018-04-16 12:35:33 +090058&i2s_aux {
59 dai-format = "i2s";
60 remote-endpoint = <&wm_speaker>;
61};
62
Masahiro Yamada500aaca2016-02-12 20:27:01 +090063&i2c2 {
64 status = "okay";
Masahiro Yamada3e98fc12018-04-16 12:35:33 +090065
66 wm8960@1a {
67 compatible = "wlf,wm8960";
68 reg = <0x1a>;
69 #sound-dai-cells = <0>;
70
71 port@0 {
72 wm_speaker: endpoint {
73 dai-format = "i2s";
74 remote-endpoint = <&i2s_aux>;
75 };
76 };
77 };
Masahiro Yamada500aaca2016-02-12 20:27:01 +090078};
79
Masahiro Yamadac7f94ee2016-02-18 19:52:50 +090080&emmc {
81 status = "okay";
82};
83
Masahiro Yamada3e98fc12018-04-16 12:35:33 +090084&eth {
85 status = "okay";
86 phy-handle = <&ethphy>;
87};
88
89&mdio {
Masahiro Yamada65282ed2020-08-04 14:41:09 +090090 ethphy: ethernet-phy@1 {
Masahiro Yamada3e98fc12018-04-16 12:35:33 +090091 reg = <1>;
92 };
93};
94
Masahiro Yamada2610b132015-11-04 21:56:07 +090095&usb0 {
96 status = "okay";
97};
98
99&usb1 {
100 status = "okay";
101};