xref: /linux/scripts/dtc/include-prefixes/arm64/socionext/uniphier-ld20-ref.dts (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
105f7e3d1SMasahiro Yamada// SPDX-License-Identifier: GPL-2.0+ OR MIT
205f7e3d1SMasahiro Yamada//
305f7e3d1SMasahiro Yamada// Device Tree Source for UniPhier LD20 Reference Board
405f7e3d1SMasahiro Yamada//
505f7e3d1SMasahiro Yamada// Copyright (C) 2015-2016 Socionext Inc.
605f7e3d1SMasahiro Yamada//   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
7cea59bd0SMasahiro Yamada
8cea59bd0SMasahiro Yamada/dts-v1/;
95740ea4eSMasahiro Yamada#include "uniphier-ld20.dtsi"
105740ea4eSMasahiro Yamada#include "uniphier-ref-daughter.dtsi"
115740ea4eSMasahiro Yamada#include "uniphier-support-card.dtsi"
12cea59bd0SMasahiro Yamada
13cea59bd0SMasahiro Yamada/ {
14cea59bd0SMasahiro Yamada	model = "UniPhier LD20 Reference Board";
15cea59bd0SMasahiro Yamada	compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20";
16cea59bd0SMasahiro Yamada
17cea59bd0SMasahiro Yamada	chosen {
18cea59bd0SMasahiro Yamada		stdout-path = "serial0:115200n8";
19cea59bd0SMasahiro Yamada	};
20cea59bd0SMasahiro Yamada
21cea59bd0SMasahiro Yamada	aliases {
22cea59bd0SMasahiro Yamada		serial0 = &serial0;
23cde5a9ebSMasahiro Yamada		serial1 = &serialsc;
24cea59bd0SMasahiro Yamada		serial2 = &serial2;
25cea59bd0SMasahiro Yamada		serial3 = &serial3;
26cea59bd0SMasahiro Yamada		i2c0 = &i2c0;
27cea59bd0SMasahiro Yamada		i2c1 = &i2c1;
28cea59bd0SMasahiro Yamada		i2c2 = &i2c2;
29cea59bd0SMasahiro Yamada		i2c3 = &i2c3;
30cea59bd0SMasahiro Yamada		i2c4 = &i2c4;
31cea59bd0SMasahiro Yamada		i2c5 = &i2c5;
3244f0746dSKunihiko Hayashi		ethernet0 = &eth;
33cea59bd0SMasahiro Yamada	};
34b9f2fc38SMasahiro Yamada
35b9f2fc38SMasahiro Yamada	memory@80000000 {
36b9f2fc38SMasahiro Yamada		device_type = "memory";
37b9f2fc38SMasahiro Yamada		reg = <0 0x80000000 0 0xc0000000>;
38b9f2fc38SMasahiro Yamada	};
39cea59bd0SMasahiro Yamada};
40cea59bd0SMasahiro Yamada
41cea59bd0SMasahiro Yamada&ethsc {
42*5ba95e8eSKunihiko Hayashi	interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
43cea59bd0SMasahiro Yamada};
44cea59bd0SMasahiro Yamada
452b1b1267SMasahiro Yamada&serialsc {
46*5ba95e8eSKunihiko Hayashi	interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
472b1b1267SMasahiro Yamada};
482b1b1267SMasahiro Yamada
49cea59bd0SMasahiro Yamada&serial0 {
50cea59bd0SMasahiro Yamada	status = "okay";
51cea59bd0SMasahiro Yamada};
52cea59bd0SMasahiro Yamada
5315e85695SMasahiro Yamada&gpio {
54173b9b8eSKunihiko Hayashi	xirq0-hog {
5515e85695SMasahiro Yamada		gpio-hog;
568311ca57SMasahiro Yamada		gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
5715e85695SMasahiro Yamada		input;
5815e85695SMasahiro Yamada	};
5915e85695SMasahiro Yamada};
6015e85695SMasahiro Yamada
61cea59bd0SMasahiro Yamada&i2c0 {
62cea59bd0SMasahiro Yamada	status = "okay";
63cea59bd0SMasahiro Yamada};
64c73730eeSKunihiko Hayashi
65c73730eeSKunihiko Hayashi&eth {
66c73730eeSKunihiko Hayashi	status = "okay";
67c73730eeSKunihiko Hayashi	phy-handle = <&ethphy>;
68c73730eeSKunihiko Hayashi};
69c73730eeSKunihiko Hayashi
70c73730eeSKunihiko Hayashi&mdio {
71dcd54fa8SKunihiko Hayashi	ethphy: ethernet-phy@0 {
72c73730eeSKunihiko Hayashi		reg = <0>;
73c73730eeSKunihiko Hayashi	};
74c73730eeSKunihiko Hayashi};
758b82b66eSMasahiro Yamada
768b82b66eSMasahiro Yamada&pinctrl_ether_rgmii {
778b82b66eSMasahiro Yamada	tx {
788b82b66eSMasahiro Yamada		pins = "RGMII_TXCLK", "RGMII_TXD0", "RGMII_TXD1",
798b82b66eSMasahiro Yamada		       "RGMII_TXD2", "RGMII_TXD3", "RGMII_TXCTL";
808b82b66eSMasahiro Yamada		drive-strength = <9>;
818b82b66eSMasahiro Yamada	};
828b82b66eSMasahiro Yamada};
83d7b9beb8SKunihiko Hayashi
84d7b9beb8SKunihiko Hayashi&usb {
85d7b9beb8SKunihiko Hayashi	status = "okay";
86d7b9beb8SKunihiko Hayashi};
87