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	memory {
18		device_type = "memory";
19		reg = <0x80000000 0x80000000>;
20	};
21
22	chosen {
23		stdout-path = "serial0:115200n8";
24	};
25
26	aliases {
27		serial0 = &serial0;
28		serial1 = &serial1;
29		i2c0 = &i2c0;
30		i2c1 = &i2c1;
31		i2c2 = &i2c2;
32		i2c3 = &i2c3;
33		i2c5 = &i2c5;
34		i2c6 = &i2c6;
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		u-boot,i2c-offset-len = <2>;
53	};
54};
55
56&i2c1 {
57	status = "okay";
58};
59
60&i2c2 {
61	status = "okay";
62};
63
64&i2c3 {
65	status = "okay";
66};
67
68&emmc {
69	status = "okay";
70};
71
72&usb0 {
73	status = "okay";
74};
75
76&usb1 {
77	status = "okay";
78};
79
80&usb2 {
81	status = "okay";
82};
83
84&usb3 {
85	status = "okay";
86};
87
88/* for U-Boot only */
89&serial0 {
90	u-boot,dm-pre-reloc;
91};
92
93&mio_clk {
94	u-boot,dm-pre-reloc;
95};
96
97&emmc {
98	u-boot,dm-pre-reloc;
99};
100
101&pinctrl_uart0 {
102	u-boot,dm-pre-reloc;
103};
104
105&pinctrl_emmc {
106	u-boot,dm-pre-reloc;
107};
108