blob: 2446f9e153608b88d6579b211e9141800efec4bb [file] [log] [blame]
Masahiro Yamada0bc56842018-04-16 12:35:33 +09001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2//
3// Device Tree Source for UniPhier sLD8 Reference Board
4//
5// Copyright (C) 2015-2016 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada53f6ec62014-11-26 18:33:59 +09007
8/dts-v1/;
Masahiro Yamada1a420bd2017-08-29 12:20:52 +09009#include "uniphier-sld8.dtsi"
10#include "uniphier-ref-daughter.dtsi"
11#include "uniphier-support-card.dtsi"
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090012
13/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090014 model = "UniPhier sLD8 Reference Board";
15 compatible = "socionext,uniphier-sld8-ref", "socionext,uniphier-sld8";
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090016
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090017 chosen {
Masahiro Yamada3b35c292015-12-17 15:05:01 +090018 stdout-path = "serial0:115200n8";
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090019 };
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090020
21 aliases {
Masahiro Yamada37649af2015-08-28 22:33:13 +090022 serial0 = &serial0;
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090023 serial1 = &serialsc;
Masahiro Yamada37649af2015-08-28 22:33:13 +090024 serial2 = &serial2;
25 serial3 = &serial3;
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090026 i2c0 = &i2c0;
27 i2c1 = &i2c1;
28 i2c2 = &i2c2;
29 i2c3 = &i2c3;
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 0x20000000>;
35 };
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090036};
Masahiro Yamadaf8cd9b02014-11-26 18:34:00 +090037
Masahiro Yamada32b1cd92016-03-18 16:41:40 +090038&ethsc {
Kunihiko Hayashic13863f2023-02-28 11:37:09 +090039 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
Masahiro Yamada32b1cd92016-03-18 16:41:40 +090040};
41
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090042&serialsc {
Kunihiko Hayashic13863f2023-02-28 11:37:09 +090043 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090044};
45
Masahiro Yamada37649af2015-08-28 22:33:13 +090046&serial0 {
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090047 status = "okay";
Masahiro Yamadaf8cd9b02014-11-26 18:34:00 +090048};
49
Masahiro Yamada37649af2015-08-28 22:33:13 +090050&serial2 {
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090051 status = "okay";
52};
53
Masahiro Yamada37649af2015-08-28 22:33:13 +090054&serial3 {
55 status = "okay";
56};
57
Masahiro Yamada6c086d02017-11-25 00:25:35 +090058&gpio {
Kunihiko Hayashic13863f2023-02-28 11:37:09 +090059 xirq0-hog {
Masahiro Yamada6c086d02017-11-25 00:25:35 +090060 gpio-hog;
61 gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
62 input;
63 };
64};
65
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090066&i2c0 {
67 status = "okay";
Masahiro Yamadaf8cd9b02014-11-26 18:34:00 +090068};
Masahiro Yamada9a724622014-11-26 18:34:01 +090069
Masahiro Yamada299307d2016-02-18 19:52:50 +090070&sd {
71 status = "okay";
72};
73
Masahiro Yamada9a724622014-11-26 18:34:01 +090074&usb0 {
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090075 status = "okay";
Masahiro Yamada9a724622014-11-26 18:34:01 +090076};
77
78&usb1 {
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090079 status = "okay";
Masahiro Yamada9a724622014-11-26 18:34:01 +090080};
Masahiro Yamada47eb9a82015-08-28 20:13:18 +090081
Masahiro Yamada37649af2015-08-28 22:33:13 +090082&usb2 {
83 status = "okay";
84};
Masahiro Yamadaa0a95bb2017-10-17 21:19:43 +090085
86&nand {
87 status = "okay";
Kunihiko Hayashic13863f2023-02-28 11:37:09 +090088
89 nand@0 {
90 reg = <0>;
91 };
Masahiro Yamadaa0a95bb2017-10-17 21:19:43 +090092};