blob: eeb976e7892d5a6c8a4dd16642378c9e7220fd50 [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 LD20 Reference Board
4//
5// Copyright (C) 2015-2016 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadad89bcf22016-03-18 16:41:48 +09007
8/dts-v1/;
Masahiro Yamada1a420bd2017-08-29 12:20:52 +09009#include "uniphier-ld20.dtsi"
10#include "uniphier-ref-daughter.dtsi"
11#include "uniphier-support-card.dtsi"
Masahiro Yamadad89bcf22016-03-18 16:41:48 +090012
13/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090014 model = "UniPhier LD20 Reference Board";
15 compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20";
Masahiro Yamadad89bcf22016-03-18 16:41:48 +090016
Masahiro Yamadace6ca3c2017-03-13 00:16:40 +090017 chosen {
18 stdout-path = "serial0:115200n8";
19 };
20
Masahiro Yamadad89bcf22016-03-18 16:41:48 +090021 aliases {
22 serial0 = &serial0;
23 serial1 = &serial1;
24 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 Yamadad89bcf22016-03-18 16:41:48 +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 0xc0000000>;
38 };
Masahiro Yamadad89bcf22016-03-18 16:41:48 +090039};
40
41&ethsc {
Masahiro Yamada6c086d02017-11-25 00:25:35 +090042 interrupts = <0 8>;
Masahiro Yamadad89bcf22016-03-18 16:41:48 +090043};
44
45&serial0 {
46 status = "okay";
47};
48
Masahiro Yamada6c086d02017-11-25 00:25:35 +090049&gpio {
50 xirq0 {
51 gpio-hog;
52 gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
53 input;
54 };
55};
56
Masahiro Yamadad89bcf22016-03-18 16:41:48 +090057&i2c0 {
58 status = "okay";
59};
Masahiro Yamada0bc56842018-04-16 12:35:33 +090060
61&eth {
62 status = "okay";
63 phy-handle = <&ethphy>;
64};
65
66&mdio {
67 ethphy: ethphy@0 {
68 reg = <0>;
69 };
70};
Masahiro Yamada76b37e72018-05-23 00:30:54 +090071
72&pinctrl_ether_rgmii {
73 tx {
74 pins = "RGMII_TXCLK", "RGMII_TXD0", "RGMII_TXD1",
75 "RGMII_TXD2", "RGMII_TXD3", "RGMII_TXCTL";
76 drive-strength = <9>;
77 };
78};
Masahiro Yamada6bd84d72018-12-19 20:03:21 +090079
80&usb {
81 status = "okay";
82};