xref: /linux/scripts/dtc/include-prefixes/arm64/socionext/uniphier-ld20-ref.dts (revision 15e85695e5009f6ba7aef05306d69f1ffc021df2)
1cea59bd0SMasahiro Yamada/*
2cea59bd0SMasahiro Yamada * Device Tree Source for UniPhier LD20 Reference Board
3cea59bd0SMasahiro Yamada *
4cea59bd0SMasahiro Yamada * Copyright (C) 2015-2016 Socionext Inc.
5cea59bd0SMasahiro Yamada *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
6cea59bd0SMasahiro Yamada *
712301cffSMasahiro Yamada * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8cea59bd0SMasahiro Yamada */
9cea59bd0SMasahiro Yamada
10cea59bd0SMasahiro Yamada/dts-v1/;
115740ea4eSMasahiro Yamada#include "uniphier-ld20.dtsi"
125740ea4eSMasahiro Yamada#include "uniphier-ref-daughter.dtsi"
135740ea4eSMasahiro Yamada#include "uniphier-support-card.dtsi"
14cea59bd0SMasahiro Yamada
15cea59bd0SMasahiro Yamada/ {
16cea59bd0SMasahiro Yamada	model = "UniPhier LD20 Reference Board";
17cea59bd0SMasahiro Yamada	compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20";
18cea59bd0SMasahiro Yamada
19cea59bd0SMasahiro Yamada	chosen {
20cea59bd0SMasahiro Yamada		stdout-path = "serial0:115200n8";
21cea59bd0SMasahiro Yamada	};
22cea59bd0SMasahiro Yamada
23cea59bd0SMasahiro Yamada	aliases {
24cea59bd0SMasahiro Yamada		serial0 = &serial0;
25cea59bd0SMasahiro Yamada		serial1 = &serial1;
26cea59bd0SMasahiro Yamada		serial2 = &serial2;
27cea59bd0SMasahiro Yamada		serial3 = &serial3;
28cea59bd0SMasahiro Yamada		i2c0 = &i2c0;
29cea59bd0SMasahiro Yamada		i2c1 = &i2c1;
30cea59bd0SMasahiro Yamada		i2c2 = &i2c2;
31cea59bd0SMasahiro Yamada		i2c3 = &i2c3;
32cea59bd0SMasahiro Yamada		i2c4 = &i2c4;
33cea59bd0SMasahiro Yamada		i2c5 = &i2c5;
34cea59bd0SMasahiro Yamada	};
35b9f2fc38SMasahiro Yamada
36b9f2fc38SMasahiro Yamada	memory@80000000 {
37b9f2fc38SMasahiro Yamada		device_type = "memory";
38b9f2fc38SMasahiro Yamada		reg = <0 0x80000000 0 0xc0000000>;
39b9f2fc38SMasahiro Yamada	};
40cea59bd0SMasahiro Yamada};
41cea59bd0SMasahiro Yamada
42cea59bd0SMasahiro Yamada&ethsc {
43429f203eSMasahiro Yamada	interrupt-parent = <&gpio>;
44429f203eSMasahiro Yamada	interrupts = <0 8>;
45cea59bd0SMasahiro Yamada};
46cea59bd0SMasahiro Yamada
47cea59bd0SMasahiro Yamada&serial0 {
48cea59bd0SMasahiro Yamada	status = "okay";
49cea59bd0SMasahiro Yamada};
50cea59bd0SMasahiro Yamada
51*15e85695SMasahiro Yamada&gpio {
52*15e85695SMasahiro Yamada	xirq0 {
53*15e85695SMasahiro Yamada		gpio-hog;
54*15e85695SMasahiro Yamada		gpios = <120 0>;
55*15e85695SMasahiro Yamada		input;
56*15e85695SMasahiro Yamada	};
57*15e85695SMasahiro Yamada};
58*15e85695SMasahiro Yamada
59cea59bd0SMasahiro Yamada&i2c0 {
60cea59bd0SMasahiro Yamada	status = "okay";
61cea59bd0SMasahiro Yamada};
62