blob: e7c122de294eed216c1ebfca39f5ff5d7726b9bd [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 Pro4 Sanji Board
4//
5// Copyright (C) 2016 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada3f231112016-02-12 20:27:02 +09007
8/dts-v1/;
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +09009#include "uniphier-pro4.dtsi"
Masahiro Yamada3f231112016-02-12 20:27:02 +090010
11/ {
Masahiro Yamada52159d22016-10-07 16:43:00 +090012 model = "UniPhier Pro4 Sanji Board";
13 compatible = "socionext,uniphier-pro4-sanji", "socionext,uniphier-pro4";
Masahiro Yamada3f231112016-02-12 20:27:02 +090014
Masahiro Yamada3f231112016-02-12 20:27:02 +090015 chosen {
16 stdout-path = "serial0:115200n8";
17 };
18
19 aliases {
20 serial0 = &serial0;
21 serial1 = &serial1;
22 i2c0 = &i2c0;
23 i2c1 = &i2c1;
24 i2c2 = &i2c2;
25 i2c3 = &i2c3;
26 i2c5 = &i2c5;
27 i2c6 = &i2c6;
Masahiro Yamada65282ed2020-08-04 14:41:09 +090028 ethernet0 = &eth;
Masahiro Yamada3f231112016-02-12 20:27:02 +090029 };
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090030
Masahiro Yamada7ad79c12017-03-13 00:16:40 +090031 memory@80000000 {
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090032 device_type = "memory";
33 reg = <0x80000000 0x80000000>;
34 };
Masahiro Yamada3f231112016-02-12 20:27:02 +090035};
36
37&serial0 {
38 status = "okay";
39};
40
41&serial1 {
42 status = "okay";
43};
44
45&i2c0 {
46 status = "okay";
47
Masahiro Yamada52159d22016-10-07 16:43:00 +090048 eeprom@54 {
Masahiro Yamada53265152020-02-28 21:57:21 +090049 compatible = "st,24c64", "atmel,24c64";
Masahiro Yamada3f231112016-02-12 20:27:02 +090050 reg = <0x54>;
Masahiro Yamada7317a942017-03-13 00:16:41 +090051 pagesize = <32>;
Masahiro Yamada3f231112016-02-12 20:27:02 +090052 };
53};
54
55&i2c1 {
56 status = "okay";
57};
58
59&i2c2 {
60 status = "okay";
61};
62
63&i2c3 {
64 status = "okay";
65};
66
Masahiro Yamadac7f94ee2016-02-18 19:52:50 +090067&emmc {
68 status = "okay";
69};
70
Masahiro Yamada2001a812018-12-19 20:03:21 +090071&usb2 {
Masahiro Yamada3f231112016-02-12 20:27:02 +090072 status = "okay";
73};
74
Masahiro Yamada2001a812018-12-19 20:03:21 +090075&usb3 {
Masahiro Yamada3f231112016-02-12 20:27:02 +090076 status = "okay";
77};
78
Masahiro Yamada3e98fc12018-04-16 12:35:33 +090079&eth {
80 status = "okay";
81 phy-handle = <&ethphy>;
82};
83
84&mdio {
Masahiro Yamada65282ed2020-08-04 14:41:09 +090085 ethphy: ethernet-phy@1 {
Masahiro Yamada3e98fc12018-04-16 12:35:33 +090086 reg = <1>;
87 };
88};
89
Masahiro Yamada2001a812018-12-19 20:03:21 +090090&usb0 {
Masahiro Yamada3f231112016-02-12 20:27:02 +090091 status = "okay";
92};
93
Masahiro Yamada2001a812018-12-19 20:03:21 +090094&usb1 {
Masahiro Yamada3f231112016-02-12 20:27:02 +090095 status = "okay";
96};