1*3e98fc12SMasahiro Yamada// SPDX-License-Identifier: GPL-2.0+ OR MIT
2*3e98fc12SMasahiro Yamada//
3*3e98fc12SMasahiro Yamada// Device Tree Source for UniPhier LD4 Reference Board
4*3e98fc12SMasahiro Yamada//
5*3e98fc12SMasahiro Yamada// Copyright (C) 2015-2016 Socionext Inc.
6*3e98fc12SMasahiro Yamada//   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
752159d27SMasahiro Yamada
852159d27SMasahiro Yamada/dts-v1/;
96c9e46efSMasahiro Yamada#include "uniphier-ld4.dtsi"
106c9e46efSMasahiro Yamada#include "uniphier-ref-daughter.dtsi"
116c9e46efSMasahiro Yamada#include "uniphier-support-card.dtsi"
1252159d27SMasahiro Yamada
1352159d27SMasahiro Yamada/ {
1452159d27SMasahiro Yamada	model = "UniPhier LD4 Reference Board";
1552159d27SMasahiro Yamada	compatible = "socionext,uniphier-ld4-ref", "socionext,uniphier-ld4";
1652159d27SMasahiro Yamada
1752159d27SMasahiro Yamada	chosen {
1852159d27SMasahiro Yamada		stdout-path = "serial0:115200n8";
1952159d27SMasahiro Yamada	};
2052159d27SMasahiro Yamada
2152159d27SMasahiro Yamada	aliases {
2252159d27SMasahiro Yamada		serial0 = &serial0;
2352159d27SMasahiro Yamada		serial1 = &serial1;
2452159d27SMasahiro Yamada		serial2 = &serial2;
2552159d27SMasahiro Yamada		serial3 = &serial3;
2652159d27SMasahiro Yamada		i2c0 = &i2c0;
2752159d27SMasahiro Yamada		i2c1 = &i2c1;
2852159d27SMasahiro Yamada		i2c2 = &i2c2;
2952159d27SMasahiro Yamada		i2c3 = &i2c3;
3052159d27SMasahiro Yamada	};
31f16eda96SMasahiro Yamada
327ad79c12SMasahiro Yamada	memory@80000000 {
33f16eda96SMasahiro Yamada		device_type = "memory";
34f16eda96SMasahiro Yamada		reg = <0x80000000 0x20000000>;
35f16eda96SMasahiro Yamada	};
3652159d27SMasahiro Yamada};
3752159d27SMasahiro Yamada
3852159d27SMasahiro Yamada&ethsc {
39b443fb42SMasahiro Yamada	interrupts = <1 8>;
4052159d27SMasahiro Yamada};
4152159d27SMasahiro Yamada
4252159d27SMasahiro Yamada&serial0 {
4352159d27SMasahiro Yamada	status = "okay";
4452159d27SMasahiro Yamada};
4552159d27SMasahiro Yamada
4652159d27SMasahiro Yamada&serial2 {
4752159d27SMasahiro Yamada	status = "okay";
4852159d27SMasahiro Yamada};
4952159d27SMasahiro Yamada
5052159d27SMasahiro Yamada&serial3 {
5152159d27SMasahiro Yamada	status = "okay";
5252159d27SMasahiro Yamada};
5352159d27SMasahiro Yamada
54b443fb42SMasahiro Yamada&gpio {
55b443fb42SMasahiro Yamada	xirq1 {
56b443fb42SMasahiro Yamada		gpio-hog;
57b443fb42SMasahiro Yamada		gpios = <UNIPHIER_GPIO_IRQ(1) 0>;
58b443fb42SMasahiro Yamada		input;
59b443fb42SMasahiro Yamada	};
60b443fb42SMasahiro Yamada};
61b443fb42SMasahiro Yamada
6252159d27SMasahiro Yamada&i2c0 {
6352159d27SMasahiro Yamada	status = "okay";
6452159d27SMasahiro Yamada};
6552159d27SMasahiro Yamada
6652159d27SMasahiro Yamada&sd {
6752159d27SMasahiro Yamada	status = "okay";
6852159d27SMasahiro Yamada};
6952159d27SMasahiro Yamada
7052159d27SMasahiro Yamada&usb0 {
7152159d27SMasahiro Yamada	status = "okay";
7252159d27SMasahiro Yamada};
7352159d27SMasahiro Yamada
7452159d27SMasahiro Yamada&usb1 {
7552159d27SMasahiro Yamada	status = "okay";
7652159d27SMasahiro Yamada};
7727287487SMasahiro Yamada
7827287487SMasahiro Yamada&nand {
7927287487SMasahiro Yamada	status = "okay";
8027287487SMasahiro Yamada};
81