blob: f1a3b29bacd575f8e8768a03cbefe7499287d408 [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 LD6b Reference Board
4//
5// Copyright (C) 2015-2016 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadaedbecf52015-08-28 22:33:15 +09007
8/dts-v1/;
Masahiro Yamada1a420bd2017-08-29 12:20:52 +09009#include "uniphier-ld6b.dtsi"
10#include "uniphier-ref-daughter.dtsi"
11#include "uniphier-support-card.dtsi"
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090012
13/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090014 model = "UniPhier LD6b Reference Board";
15 compatible = "socionext,uniphier-ld6b-ref", "socionext,uniphier-ld6b";
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090016
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090017 chosen {
Masahiro Yamada3b35c292015-12-17 15:05:01 +090018 stdout-path = "serial0:115200n8";
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090019 };
20
21 aliases {
22 serial0 = &serial0;
23 serial1 = &serial1;
24 serial2 = &serial2;
25 i2c0 = &i2c0;
26 i2c1 = &i2c1;
27 i2c2 = &i2c2;
28 i2c3 = &i2c3;
29 i2c4 = &i2c4;
30 i2c5 = &i2c5;
31 i2c6 = &i2c6;
Masahiro Yamada423471f2020-07-09 15:08:14 +090032 ethernet0 = &eth;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090033 };
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090034
Masahiro Yamadace6ca3c2017-03-13 00:16:40 +090035 memory@80000000 {
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090036 device_type = "memory";
37 reg = <0x80000000 0x80000000>;
38 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090039};
40
Masahiro Yamada32b1cd92016-03-18 16:41:40 +090041&ethsc {
Masahiro Yamada6c086d02017-11-25 00:25:35 +090042 interrupts = <4 8>;
Masahiro Yamada32b1cd92016-03-18 16:41:40 +090043};
44
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090045&serial0 {
46 status = "okay";
47};
48
49&serial1 {
50 status = "okay";
51};
52
53&serial2 {
54 status = "okay";
55};
56
Masahiro Yamada6c086d02017-11-25 00:25:35 +090057&gpio {
58 xirq4 {
59 gpio-hog;
60 gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
61 input;
62 };
63};
64
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090065&i2c0 {
66 status = "okay";
67};
68
Masahiro Yamada299307d2016-02-18 19:52:50 +090069&sd {
70 status = "okay";
71};
72
Masahiro Yamada0bc56842018-04-16 12:35:33 +090073&eth {
74 status = "okay";
75 phy-handle = <&ethphy>;
76};
77
78&mdio {
79 ethphy: ethphy@0 {
80 reg = <0>;
81 };
82};
83
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +090084&usb0 {
85 status = "okay";
86};
87
88&usb1 {
89 status = "okay";
90};
Masahiro Yamadaa0a95bb2017-10-17 21:19:43 +090091
92&nand {
93 status = "okay";
94};