blob: 3aaca10f6644ab25f739403ae4550105b40763c3 [file] [log] [blame]
Masahiro Yamada3e98fc12018-04-16 12:35:33 +09001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2//
3// Device Tree Source for UniPhier LD4 Reference Board
4//
5// Copyright (C) 2015-2016 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada509eb672014-11-26 18:33:59 +09007
8/dts-v1/;
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +09009#include "uniphier-ld4.dtsi"
10#include "uniphier-ref-daughter.dtsi"
11#include "uniphier-support-card.dtsi"
Masahiro Yamada509eb672014-11-26 18:33:59 +090012
13/ {
Masahiro Yamada52159d22016-10-07 16:43:00 +090014 model = "UniPhier LD4 Reference Board";
15 compatible = "socionext,uniphier-ld4-ref", "socionext,uniphier-ld4";
Masahiro Yamada509eb672014-11-26 18:33:59 +090016
Masahiro Yamada509eb672014-11-26 18:33:59 +090017 chosen {
Masahiro Yamadab00543e2015-12-17 15:05:01 +090018 stdout-path = "serial0:115200n8";
Masahiro Yamada509eb672014-11-26 18:33:59 +090019 };
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090020
21 aliases {
Masahiro Yamadad243c182015-08-28 22:33:13 +090022 serial0 = &serial0;
23 serial1 = &serial1;
24 serial2 = &serial2;
25 serial3 = &serial3;
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090026 i2c0 = &i2c0;
27 i2c1 = &i2c1;
28 i2c2 = &i2c2;
29 i2c3 = &i2c3;
30 };
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090031
Masahiro Yamada7ad79c12017-03-13 00:16:40 +090032 memory@80000000 {
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090033 device_type = "memory";
34 reg = <0x80000000 0x20000000>;
35 };
Masahiro Yamada509eb672014-11-26 18:33:59 +090036};
Masahiro Yamada625177d2014-11-26 18:34:00 +090037
Masahiro Yamada60634982016-03-18 16:41:40 +090038&ethsc {
Masahiro Yamadab443fb42017-11-25 00:25:35 +090039 interrupts = <1 8>;
Masahiro Yamada60634982016-03-18 16:41:40 +090040};
41
Masahiro Yamadad243c182015-08-28 22:33:13 +090042&serial0 {
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090043 status = "okay";
Masahiro Yamada625177d2014-11-26 18:34:00 +090044};
45
Masahiro Yamadad243c182015-08-28 22:33:13 +090046&serial2 {
47 status = "okay";
48};
49
50&serial3 {
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090051 status = "okay";
52};
53
Masahiro Yamadab443fb42017-11-25 00:25:35 +090054&gpio {
55 xirq1 {
56 gpio-hog;
57 gpios = <UNIPHIER_GPIO_IRQ(1) 0>;
58 input;
59 };
60};
61
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090062&i2c0 {
63 status = "okay";
Masahiro Yamada625177d2014-11-26 18:34:00 +090064};
Masahiro Yamada149c7512014-11-26 18:34:01 +090065
Masahiro Yamadac7f94ee2016-02-18 19:52:50 +090066&sd {
67 status = "okay";
68};
69
Masahiro Yamada149c7512014-11-26 18:34:01 +090070&usb0 {
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090071 status = "okay";
Masahiro Yamada149c7512014-11-26 18:34:01 +090072};
73
74&usb1 {
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090075 status = "okay";
Masahiro Yamada149c7512014-11-26 18:34:01 +090076};
Masahiro Yamada27287482017-10-17 21:19:43 +090077
78&nand {
79 status = "okay";
80};