blob: 0f50acb24c2c2474f334d18520111bf49ecae7e8 [file] [log] [blame]
Masahiro Yamada509eb672014-11-26 18:33:59 +09001/*
Masahiro Yamada52159d22016-10-07 16:43:00 +09002 * Device Tree Source for UniPhier LD4 Reference Board
Masahiro Yamada509eb672014-11-26 18:33:59 +09003 *
Masahiro Yamada52159d22016-10-07 16:43:00 +09004 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada509eb672014-11-26 18:33:59 +09006 *
Masahiro Yamadad9403002017-06-22 16:46:40 +09007 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Masahiro Yamada509eb672014-11-26 18:33:59 +09008 */
9
10/dts-v1/;
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +090011#include "uniphier-ld4.dtsi"
12#include "uniphier-ref-daughter.dtsi"
13#include "uniphier-support-card.dtsi"
Masahiro Yamada509eb672014-11-26 18:33:59 +090014
15/ {
Masahiro Yamada52159d22016-10-07 16:43:00 +090016 model = "UniPhier LD4 Reference Board";
17 compatible = "socionext,uniphier-ld4-ref", "socionext,uniphier-ld4";
Masahiro Yamada509eb672014-11-26 18:33:59 +090018
Masahiro Yamada509eb672014-11-26 18:33:59 +090019 chosen {
Masahiro Yamadab00543e2015-12-17 15:05:01 +090020 stdout-path = "serial0:115200n8";
Masahiro Yamada509eb672014-11-26 18:33:59 +090021 };
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090022
23 aliases {
Masahiro Yamadad243c182015-08-28 22:33:13 +090024 serial0 = &serial0;
25 serial1 = &serial1;
26 serial2 = &serial2;
27 serial3 = &serial3;
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090028 i2c0 = &i2c0;
29 i2c1 = &i2c1;
30 i2c2 = &i2c2;
31 i2c3 = &i2c3;
32 };
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090033
Masahiro Yamada7ad79c12017-03-13 00:16:40 +090034 memory@80000000 {
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090035 device_type = "memory";
36 reg = <0x80000000 0x20000000>;
37 };
Masahiro Yamada509eb672014-11-26 18:33:59 +090038};
Masahiro Yamada625177d2014-11-26 18:34:00 +090039
Masahiro Yamada60634982016-03-18 16:41:40 +090040&ethsc {
41 interrupts = <0 49 4>;
42};
43
Masahiro Yamadad243c182015-08-28 22:33:13 +090044&serial0 {
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090045 status = "okay";
Masahiro Yamada625177d2014-11-26 18:34:00 +090046};
47
Masahiro Yamadad243c182015-08-28 22:33:13 +090048&serial2 {
49 status = "okay";
50};
51
52&serial3 {
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090053 status = "okay";
54};
55
56&i2c0 {
57 status = "okay";
Masahiro Yamada625177d2014-11-26 18:34:00 +090058};
Masahiro Yamada149c7512014-11-26 18:34:01 +090059
Masahiro Yamadac7f94ee2016-02-18 19:52:50 +090060&sd {
61 status = "okay";
62};
63
Masahiro Yamada149c7512014-11-26 18:34:01 +090064&usb0 {
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090065 status = "okay";
Masahiro Yamada149c7512014-11-26 18:34:01 +090066};
67
68&usb1 {
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090069 status = "okay";
Masahiro Yamada149c7512014-11-26 18:34:01 +090070};
Masahiro Yamadaf4e190e2015-08-28 20:13:18 +090071
Bin Menga1875592016-02-05 19:30:11 -080072/* for U-Boot only */
Masahiro Yamadad243c182015-08-28 22:33:13 +090073&serial0 {
Masahiro Yamadab25c4ab2015-09-11 20:17:41 +090074 u-boot,dm-pre-reloc;
75};
76
Masahiro Yamadab25c4ab2015-09-11 20:17:41 +090077&pinctrl_uart0 {
78 u-boot,dm-pre-reloc;
Masahiro Yamadaf4e190e2015-08-28 20:13:18 +090079};