1/*
2 * Device Tree Source for UniPhier Pro4 Sanji Board
3 *
4 * Copyright (C) 2016 Socionext Inc.
5 *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
6 *
7 * SPDX-License-Identifier:	GPL-2.0+	X11
8 */
9
10/dts-v1/;
11/include/ "uniphier-pro4.dtsi"
12
13/ {
14	model = "UniPhier Pro4 Sanji Board";
15	compatible = "socionext,uniphier-pro4-sanji", "socionext,uniphier-pro4";
16
17	chosen {
18		stdout-path = "serial0:115200n8";
19	};
20
21	aliases {
22		serial0 = &serial0;
23		serial1 = &serial1;
24		i2c0 = &i2c0;
25		i2c1 = &i2c1;
26		i2c2 = &i2c2;
27		i2c3 = &i2c3;
28		i2c5 = &i2c5;
29		i2c6 = &i2c6;
30	};
31
32	memory@80000000 {
33		device_type = "memory";
34		reg = <0x80000000 0x80000000>;
35	};
36};
37
38&serial0 {
39	status = "okay";
40};
41
42&serial1 {
43	status = "okay";
44};
45
46&i2c0 {
47	status = "okay";
48
49	eeprom@54 {
50		compatible = "st,24c64", "i2c-eeprom";
51		reg = <0x54>;
52		pagesize = <32>;
53		u-boot,i2c-offset-len = <2>;
54	};
55};
56
57&i2c1 {
58	status = "okay";
59};
60
61&i2c2 {
62	status = "okay";
63};
64
65&i2c3 {
66	status = "okay";
67};
68
69&emmc {
70	status = "okay";
71};
72
73&usb0 {
74	status = "okay";
75};
76
77&usb1 {
78	status = "okay";
79};
80
81&usb2 {
82	status = "okay";
83};
84
85&usb3 {
86	status = "okay";
87};
88
89/* for U-Boot only */
90&serial0 {
91	u-boot,dm-pre-reloc;
92};
93
94&mio_clk {
95	u-boot,dm-pre-reloc;
96};
97
98&emmc {
99	u-boot,dm-pre-reloc;
100};
101
102&pinctrl_uart0 {
103	u-boot,dm-pre-reloc;
104};
105
106&pinctrl_emmc {
107	u-boot,dm-pre-reloc;
108};
109