blob: 08943aa376b1fbf5ec7f46f367393b8700cc85af [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;
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090025 serial3 = &serialsc;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090026 i2c0 = &i2c0;
27 i2c1 = &i2c1;
28 i2c2 = &i2c2;
29 i2c3 = &i2c3;
30 i2c4 = &i2c4;
31 i2c5 = &i2c5;
32 i2c6 = &i2c6;
Masahiro Yamada423471f2020-07-09 15:08:14 +090033 ethernet0 = &eth;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090034 };
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090035
Masahiro Yamadace6ca3c2017-03-13 00:16:40 +090036 memory@80000000 {
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090037 device_type = "memory";
38 reg = <0x80000000 0x80000000>;
39 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090040};
41
Masahiro Yamada32b1cd92016-03-18 16:41:40 +090042&ethsc {
Masahiro Yamada6c086d02017-11-25 00:25:35 +090043 interrupts = <4 8>;
Masahiro Yamada32b1cd92016-03-18 16:41:40 +090044};
45
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090046&serialsc {
47 interrupts = <4 8>;
48};
49
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090050&serial0 {
51 status = "okay";
52};
53
54&serial1 {
55 status = "okay";
56};
57
58&serial2 {
59 status = "okay";
60};
61
Masahiro Yamada6c086d02017-11-25 00:25:35 +090062&gpio {
63 xirq4 {
64 gpio-hog;
65 gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
66 input;
67 };
68};
69
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090070&i2c0 {
71 status = "okay";
72};
73
Masahiro Yamada299307d2016-02-18 19:52:50 +090074&sd {
75 status = "okay";
76};
77
Masahiro Yamada0bc56842018-04-16 12:35:33 +090078&eth {
79 status = "okay";
80 phy-handle = <&ethphy>;
81};
82
83&mdio {
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090084 ethphy: ethernet-phy@0 {
Masahiro Yamada0bc56842018-04-16 12:35:33 +090085 reg = <0>;
86 };
87};
88
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +090089&usb0 {
90 status = "okay";
91};
92
93&usb1 {
94 status = "okay";
95};
Masahiro Yamadaa0a95bb2017-10-17 21:19:43 +090096
97&nand {
98 status = "okay";
99};