blob: 25e73c68534aecaddc8645d487c5f51c31bdca43 [file] [log] [blame]
Masahiro Yamada40efc4f2016-02-12 20:27:02 +09001/*
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09002 * Device Tree Source for UniPhier Pro4 Sanji Board
Masahiro Yamada40efc4f2016-02-12 20:27:02 +09003 *
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09004 * Copyright (C) 2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada40efc4f2016-02-12 20:27:02 +09006 *
7 * SPDX-License-Identifier: GPL-2.0+ X11
8 */
9
10/dts-v1/;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090011/include/ "uniphier-pro4.dtsi"
Masahiro Yamada40efc4f2016-02-12 20:27:02 +090012
13/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090014 model = "UniPhier Pro4 Sanji Board";
15 compatible = "socionext,uniphier-pro4-sanji", "socionext,uniphier-pro4";
Masahiro Yamada40efc4f2016-02-12 20:27:02 +090016
Masahiro Yamada40efc4f2016-02-12 20:27:02 +090017 chosen {
18 stdout-path = "serial0:115200n8";
19 };
20
21 aliases {
22 serial0 = &serial0;
23 serial1 = &serial1;
24 i2c0 = &i2c0;
25 i2c1 = &i2c1;
26 i2c2 = &i2c2;
27 i2c3 = &i2c3;
28 i2c5 = &i2c5;
29 i2c6 = &i2c6;
30 };
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090031
Masahiro Yamadace6ca3c2017-03-13 00:16:40 +090032 memory@80000000 {
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090033 device_type = "memory";
34 reg = <0x80000000 0x80000000>;
35 };
Masahiro Yamada40efc4f2016-02-12 20:27:02 +090036};
37
38&serial0 {
39 status = "okay";
40};
41
42&serial1 {
43 status = "okay";
44};
45
46&i2c0 {
47 status = "okay";
48
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090049 eeprom@54 {
50 compatible = "st,24c64", "i2c-eeprom";
Masahiro Yamada40efc4f2016-02-12 20:27:02 +090051 reg = <0x54>;
Masahiro Yamadabf3b7212017-03-13 00:16:41 +090052 pagesize = <32>;
Masahiro Yamada40efc4f2016-02-12 20:27:02 +090053 u-boot,i2c-offset-len = <2>;
54 };
55};
56
57&i2c1 {
58 status = "okay";
59};
60
61&i2c2 {
62 status = "okay";
63};
64
65&i2c3 {
66 status = "okay";
67};
68
Masahiro Yamada299307d2016-02-18 19:52:50 +090069&emmc {
70 status = "okay";
71};
72
Masahiro Yamada40efc4f2016-02-12 20:27:02 +090073&usb0 {
74 status = "okay";
75};
76
77&usb1 {
78 status = "okay";
79};
80
81&usb2 {
82 status = "okay";
83};
84
85&usb3 {
86 status = "okay";
87};
88
89/* for U-Boot only */
Masahiro Yamada40efc4f2016-02-12 20:27:02 +090090&serial0 {
91 u-boot,dm-pre-reloc;
92};
93
Masahiro Yamada02bf5b82016-09-22 07:42:23 +090094&mio_clk {
Masahiro Yamadaeac5acf2016-02-16 17:08:39 +090095 u-boot,dm-pre-reloc;
96};
97
98&emmc {
99 u-boot,dm-pre-reloc;
100};
101
Masahiro Yamada40efc4f2016-02-12 20:27:02 +0900102&pinctrl_uart0 {
103 u-boot,dm-pre-reloc;
104};
Masahiro Yamadaeac5acf2016-02-16 17:08:39 +0900105
106&pinctrl_emmc {
107 u-boot,dm-pre-reloc;
108};