blob: d99e3731358c4aed8f7933fb49a8ba4db7a290b0 [file] [log] [blame]
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +09001/*
Masahiro Yamadacea59bd2016-08-30 07:13:09 +09002 * Device Tree Source for UniPhier LD20 Reference Board
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +09003 *
Masahiro Yamadacea59bd2016-08-30 07:13:09 +09004 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +09006 *
Masahiro Yamada12301cf2017-06-05 12:57:59 +09007 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +09008 */
9
10/dts-v1/;
Masahiro Yamada5740ea42017-08-10 01:43:28 +090011#include "uniphier-ld20.dtsi"
12#include "uniphier-ref-daughter.dtsi"
13#include "uniphier-support-card.dtsi"
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +090014
15/ {
Masahiro Yamadacea59bd2016-08-30 07:13:09 +090016 model = "UniPhier LD20 Reference Board";
17 compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20";
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +090018
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +090019 chosen {
20 stdout-path = "serial0:115200n8";
21 };
22
23 aliases {
24 serial0 = &serial0;
25 serial1 = &serial1;
26 serial2 = &serial2;
27 serial3 = &serial3;
28 i2c0 = &i2c0;
29 i2c1 = &i2c1;
30 i2c2 = &i2c2;
31 i2c3 = &i2c3;
32 i2c4 = &i2c4;
33 i2c5 = &i2c5;
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +090034 };
Masahiro Yamadab9f2fc32017-03-11 22:58:59 +090035
36 memory@80000000 {
37 device_type = "memory";
38 reg = <0 0x80000000 0 0xc0000000>;
39 };
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +090040};
41
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +090042&ethsc {
Masahiro Yamada429f2032017-10-18 13:24:35 +090043 interrupt-parent = <&gpio>;
44 interrupts = <0 8>;
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +090045};
46
47&serial0 {
48 status = "okay";
49};
50
Masahiro Yamada15e85692017-10-18 13:24:37 +090051&gpio {
52 xirq0 {
53 gpio-hog;
54 gpios = <120 0>;
55 input;
56 };
57};
58
Masahiro Yamadae1a0ebc2015-11-28 02:22:31 +090059&i2c0 {
60 status = "okay";
61};