blob: a98e758f031902c012e9b8f41970179a8fb38551 [file] [log] [blame]
Masahiro Yamada1fe65d32015-09-22 00:27:41 +09001/*
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09002 * Device Tree Source for UniPhier PXs2 Gentil Board
Masahiro Yamada1fe65d32015-09-22 00:27:41 +09003 *
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09004 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada1fe65d32015-09-22 00:27:41 +09006 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10/dts-v1/;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090011/include/ "uniphier-pxs2.dtsi"
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090012
13/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090014 model = "UniPhier PXs2 Gentil Board";
15 compatible = "socionext,uniphier-pxs2-gentil",
16 "socionext,uniphier-pxs2";
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090017
18 memory {
19 device_type = "memory";
20 reg = <0x80000000 0x80000000>;
21 };
22
23 chosen {
Masahiro Yamada4c34fc42016-07-06 19:24:09 +090024 stdout-path = "serial0:115200n8";
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090025 };
26
27 aliases {
Masahiro Yamada4c34fc42016-07-06 19:24:09 +090028 serial0 = &serial2;
29 serial1 = &serial0;
30 serial2 = &serial1;
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090031 i2c0 = &i2c0;
Masahiro Yamada5b1e3972016-02-12 20:27:01 +090032 i2c2 = &i2c2;
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090033 i2c4 = &i2c4;
34 i2c5 = &i2c5;
35 i2c6 = &i2c6;
36 };
37};
38
39&serial2 {
40 status = "okay";
41};
42
43&i2c0 {
44 status = "okay";
Masahiro Yamada17235862016-02-12 20:27:00 +090045
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090046 eeprom@54 {
47 compatible = "st,24c64", "i2c-eeprom";
Masahiro Yamada17235862016-02-12 20:27:00 +090048 reg = <0x54>;
49 u-boot,i2c-offset-len = <2>;
50 };
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090051};
52
Masahiro Yamada5b1e3972016-02-12 20:27:01 +090053&i2c2 {
54 status = "okay";
55};
56
Masahiro Yamada299307d2016-02-18 19:52:50 +090057&emmc {
58 status = "okay";
59};
60
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +090061&usb0 {
62 status = "okay";
63};
64
65&usb1 {
66 status = "okay";
67};
68
Bin Meng75574052016-02-05 19:30:11 -080069/* for U-Boot only */
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090070&serial2 {
71 u-boot,dm-pre-reloc;
72};
73
Masahiro Yamada02bf5b82016-09-22 07:42:23 +090074&mio_clk {
Masahiro Yamadaeac5acf2016-02-16 17:08:39 +090075 u-boot,dm-pre-reloc;
76};
77
78&emmc {
79 u-boot,dm-pre-reloc;
80};
81
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090082&pinctrl_uart2 {
83 u-boot,dm-pre-reloc;
84};
Masahiro Yamadaeac5acf2016-02-16 17:08:39 +090085
86&pinctrl_emmc {
87 u-boot,dm-pre-reloc;
88};