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+
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	memory {
19		device_type = "memory";
20		reg = <0x80000000 0x80000000>;
21	};
22
23	chosen {
24		stdout-path = "serial0:115200n8";
25	};
26
27	aliases {
28		serial0 = &serial2;
29		serial1 = &serial0;
30		serial2 = &serial1;
31		i2c0 = &i2c0;
32		i2c2 = &i2c2;
33		i2c4 = &i2c4;
34		i2c5 = &i2c5;
35		i2c6 = &i2c6;
36	};
37};
38
39&serial2 {
40	status = "okay";
41};
42
43&i2c0 {
44	status = "okay";
45
46	eeprom@54 {
47		compatible = "st,24c64", "i2c-eeprom";
48		reg = <0x54>;
49		u-boot,i2c-offset-len = <2>;
50	};
51};
52
53&i2c2 {
54	status = "okay";
55};
56
57&emmc {
58	status = "okay";
59};
60
61&usb0 {
62	status = "okay";
63};
64
65&usb1 {
66	status = "okay";
67};
68
69/* for U-Boot only */
70&serial2 {
71	u-boot,dm-pre-reloc;
72};
73
74&sd_clk {
75	u-boot,dm-pre-reloc;
76};
77
78&emmc {
79	u-boot,dm-pre-reloc;
80};
81
82&pinctrl_uart2 {
83	u-boot,dm-pre-reloc;
84};
85
86&pinctrl_emmc {
87	u-boot,dm-pre-reloc;
88};
89