blob: 6f691a8b42c8897b69c7e0ec9829db3a055d8872 [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 *
Masahiro Yamada31a17882017-06-22 16:46:40 +09007 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Masahiro Yamada1fe65d32015-09-22 00:27:41 +09008 */
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
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090018 chosen {
Masahiro Yamada4c34fc42016-07-06 19:24:09 +090019 stdout-path = "serial0:115200n8";
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090020 };
21
22 aliases {
Masahiro Yamada4c34fc42016-07-06 19:24:09 +090023 serial0 = &serial2;
24 serial1 = &serial0;
25 serial2 = &serial1;
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090026 i2c0 = &i2c0;
Masahiro Yamada5b1e3972016-02-12 20:27:01 +090027 i2c2 = &i2c2;
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090028 i2c4 = &i2c4;
29 i2c5 = &i2c5;
30 i2c6 = &i2c6;
31 };
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090032
Masahiro Yamadace6ca3c2017-03-13 00:16:40 +090033 memory@80000000 {
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090034 device_type = "memory";
35 reg = <0x80000000 0x80000000>;
36 };
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090037};
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 {
Masahiro Yamada31a17882017-06-22 16:46:40 +090047 compatible = "st,24c64", "atmel,24c64", "i2c-eeprom";
Masahiro Yamada17235862016-02-12 20:27:00 +090048 reg = <0x54>;
Masahiro Yamadabf3b7212017-03-13 00:16:41 +090049 pagesize = <32>;
Masahiro Yamada17235862016-02-12 20:27:00 +090050 u-boot,i2c-offset-len = <2>;
51 };
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090052};
53
Masahiro Yamada5b1e3972016-02-12 20:27:01 +090054&i2c2 {
55 status = "okay";
56};
57
Masahiro Yamada299307d2016-02-18 19:52:50 +090058&emmc {
59 status = "okay";
60};
61
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +090062&usb0 {
63 status = "okay";
64};
65
66&usb1 {
67 status = "okay";
68};
69
Bin Meng75574052016-02-05 19:30:11 -080070/* for U-Boot only */
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090071&serial2 {
72 u-boot,dm-pre-reloc;
73};
74
Masahiro Yamada6e485b22016-12-05 18:31:39 +090075&sd_clk {
Masahiro Yamadaeac5acf2016-02-16 17:08:39 +090076 u-boot,dm-pre-reloc;
77};
78
79&emmc {
80 u-boot,dm-pre-reloc;
81};
82
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090083&pinctrl_uart2 {
84 u-boot,dm-pre-reloc;
85};
Masahiro Yamadaeac5acf2016-02-16 17:08:39 +090086
87&pinctrl_emmc {
88 u-boot,dm-pre-reloc;
89};