xref: /freebsd-src/sys/contrib/device-tree/src/arm/socionext/uniphier-ld6b-ref.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT
2*f126890aSEmmanuel Vadot//
3*f126890aSEmmanuel Vadot// Device Tree Source for UniPhier LD6b Reference Board
4*f126890aSEmmanuel Vadot//
5*f126890aSEmmanuel Vadot// Copyright (C) 2015-2016 Socionext Inc.
6*f126890aSEmmanuel Vadot//   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/dts-v1/;
9*f126890aSEmmanuel Vadot#include "uniphier-ld6b.dtsi"
10*f126890aSEmmanuel Vadot#include "uniphier-ref-daughter.dtsi"
11*f126890aSEmmanuel Vadot#include "uniphier-support-card.dtsi"
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot/ {
14*f126890aSEmmanuel Vadot	model = "UniPhier LD6b Reference Board";
15*f126890aSEmmanuel Vadot	compatible = "socionext,uniphier-ld6b-ref", "socionext,uniphier-ld6b";
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	chosen {
18*f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
19*f126890aSEmmanuel Vadot	};
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot	aliases {
22*f126890aSEmmanuel Vadot		serial0 = &serial0;
23*f126890aSEmmanuel Vadot		serial1 = &serial1;
24*f126890aSEmmanuel Vadot		serial2 = &serial2;
25*f126890aSEmmanuel Vadot		serial3 = &serialsc;
26*f126890aSEmmanuel Vadot		i2c0 = &i2c0;
27*f126890aSEmmanuel Vadot		i2c1 = &i2c1;
28*f126890aSEmmanuel Vadot		i2c2 = &i2c2;
29*f126890aSEmmanuel Vadot		i2c3 = &i2c3;
30*f126890aSEmmanuel Vadot		i2c4 = &i2c4;
31*f126890aSEmmanuel Vadot		i2c5 = &i2c5;
32*f126890aSEmmanuel Vadot		i2c6 = &i2c6;
33*f126890aSEmmanuel Vadot		ethernet0 = &eth;
34*f126890aSEmmanuel Vadot	};
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot	memory@80000000 {
37*f126890aSEmmanuel Vadot		device_type = "memory";
38*f126890aSEmmanuel Vadot		reg = <0x80000000 0x80000000>;
39*f126890aSEmmanuel Vadot	};
40*f126890aSEmmanuel Vadot};
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot&ethsc {
43*f126890aSEmmanuel Vadot	interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
44*f126890aSEmmanuel Vadot};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot&serialsc {
47*f126890aSEmmanuel Vadot	interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
48*f126890aSEmmanuel Vadot};
49*f126890aSEmmanuel Vadot
50*f126890aSEmmanuel Vadot&serial0 {
51*f126890aSEmmanuel Vadot	status = "okay";
52*f126890aSEmmanuel Vadot};
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot&serial1 {
55*f126890aSEmmanuel Vadot	status = "okay";
56*f126890aSEmmanuel Vadot};
57*f126890aSEmmanuel Vadot
58*f126890aSEmmanuel Vadot&serial2 {
59*f126890aSEmmanuel Vadot	status = "okay";
60*f126890aSEmmanuel Vadot};
61*f126890aSEmmanuel Vadot
62*f126890aSEmmanuel Vadot&gpio {
63*f126890aSEmmanuel Vadot	xirq4-hog {
64*f126890aSEmmanuel Vadot		gpio-hog;
65*f126890aSEmmanuel Vadot		gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
66*f126890aSEmmanuel Vadot		input;
67*f126890aSEmmanuel Vadot	};
68*f126890aSEmmanuel Vadot};
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot&i2c0 {
71*f126890aSEmmanuel Vadot	status = "okay";
72*f126890aSEmmanuel Vadot};
73*f126890aSEmmanuel Vadot
74*f126890aSEmmanuel Vadot&sd {
75*f126890aSEmmanuel Vadot	status = "okay";
76*f126890aSEmmanuel Vadot};
77*f126890aSEmmanuel Vadot
78*f126890aSEmmanuel Vadot&eth {
79*f126890aSEmmanuel Vadot	status = "okay";
80*f126890aSEmmanuel Vadot	phy-handle = <&ethphy>;
81*f126890aSEmmanuel Vadot};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot&mdio {
84*f126890aSEmmanuel Vadot	ethphy: ethernet-phy@0 {
85*f126890aSEmmanuel Vadot		reg = <0>;
86*f126890aSEmmanuel Vadot	};
87*f126890aSEmmanuel Vadot};
88*f126890aSEmmanuel Vadot
89*f126890aSEmmanuel Vadot&usb0 {
90*f126890aSEmmanuel Vadot	status = "okay";
91*f126890aSEmmanuel Vadot};
92*f126890aSEmmanuel Vadot
93*f126890aSEmmanuel Vadot&usb1 {
94*f126890aSEmmanuel Vadot	status = "okay";
95*f126890aSEmmanuel Vadot};
96*f126890aSEmmanuel Vadot
97*f126890aSEmmanuel Vadot&nand {
98*f126890aSEmmanuel Vadot	status = "okay";
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot	nand@0 {
101*f126890aSEmmanuel Vadot		reg = <0>;
102*f126890aSEmmanuel Vadot	};
103*f126890aSEmmanuel Vadot};
104