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