blob: 414aeb99e68f9b70f0ab5971626be0667b1f84db [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 LD11 Reference Board
4//
5// Copyright (C) 2016 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadaf0c34fc2016-03-18 16:41:49 +09007
8/dts-v1/;
Masahiro Yamada1a420bd2017-08-29 12:20:52 +09009#include "uniphier-ld11.dtsi"
10#include "uniphier-ref-daughter.dtsi"
11#include "uniphier-support-card.dtsi"
Masahiro Yamadaf0c34fc2016-03-18 16:41:49 +090012
13/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090014 model = "UniPhier LD11 Reference Board";
15 compatible = "socionext,uniphier-ld11-ref", "socionext,uniphier-ld11";
Masahiro Yamadaf0c34fc2016-03-18 16:41:49 +090016
Masahiro Yamadace6ca3c2017-03-13 00:16:40 +090017 chosen {
18 stdout-path = "serial0:115200n8";
19 };
20
Masahiro Yamadaf0c34fc2016-03-18 16:41:49 +090021 aliases {
22 serial0 = &serial0;
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090023 serial1 = &serialsc;
Masahiro Yamadaf0c34fc2016-03-18 16:41:49 +090024 serial2 = &serial2;
25 serial3 = &serial3;
26 i2c0 = &i2c0;
27 i2c1 = &i2c1;
28 i2c2 = &i2c2;
29 i2c3 = &i2c3;
30 i2c4 = &i2c4;
31 i2c5 = &i2c5;
Masahiro Yamada423471f2020-07-09 15:08:14 +090032 ethernet0 = &eth;
Masahiro Yamadaf0c34fc2016-03-18 16:41:49 +090033 };
Masahiro Yamada79b06c82016-04-21 14:43:14 +090034
Masahiro Yamadace6ca3c2017-03-13 00:16:40 +090035 memory@80000000 {
Masahiro Yamada79b06c82016-04-21 14:43:14 +090036 device_type = "memory";
37 reg = <0 0x80000000 0 0x40000000>;
38 };
Masahiro Yamadaf0c34fc2016-03-18 16:41:49 +090039};
40
41&ethsc {
Kunihiko Hayashic13863f2023-02-28 11:37:09 +090042 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
Masahiro Yamadaf0c34fc2016-03-18 16:41:49 +090043};
44
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090045&serialsc {
Kunihiko Hayashic13863f2023-02-28 11:37:09 +090046 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090047};
48
Masahiro Yamadaf0c34fc2016-03-18 16:41:49 +090049&serial0 {
50 status = "okay";
51};
52
Masahiro Yamada6c086d02017-11-25 00:25:35 +090053&gpio {
Kunihiko Hayashic13863f2023-02-28 11:37:09 +090054 xirq0-hog {
Masahiro Yamada6c086d02017-11-25 00:25:35 +090055 gpio-hog;
56 gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
57 input;
58 };
59};
60
Masahiro Yamadaf0c34fc2016-03-18 16:41:49 +090061&i2c0 {
62 status = "okay";
63};
64
Masahiro Yamada09b02752016-05-24 21:14:03 +090065&usb0 {
66 status = "okay";
67};
68
69&usb1 {
70 status = "okay";
71};
72
73&usb2 {
74 status = "okay";
75};
Masahiro Yamada0bc56842018-04-16 12:35:33 +090076
77&eth {
78 status = "okay";
79 phy-handle = <&ethphy>;
80};
81
82&mdio {
Masahiro Yamada5e8f4ad2020-08-04 14:41:09 +090083 ethphy: ethernet-phy@1 {
Masahiro Yamada0bc56842018-04-16 12:35:33 +090084 reg = <1>;
85 };
86};