]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - src/arm/uniphier-ld6b-ref.dts
Import DTS from Linux 5.8
[FreeBSD/FreeBSD.git] / src / arm / uniphier-ld6b-ref.dts
1 // 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>
7
8 /dts-v1/;
9 #include "uniphier-ld6b.dtsi"
10 #include "uniphier-ref-daughter.dtsi"
11 #include "uniphier-support-card.dtsi"
12
13 / {
14         model = "UniPhier LD6b Reference Board";
15         compatible = "socionext,uniphier-ld6b-ref", "socionext,uniphier-ld6b";
16
17         chosen {
18                 stdout-path = "serial0:115200n8";
19         };
20
21         aliases {
22                 serial0 = &serial0;
23                 serial1 = &serial1;
24                 serial2 = &serial2;
25                 i2c0 = &i2c0;
26                 i2c1 = &i2c1;
27                 i2c2 = &i2c2;
28                 i2c3 = &i2c3;
29                 i2c4 = &i2c4;
30                 i2c5 = &i2c5;
31                 i2c6 = &i2c6;
32                 ethernet0 = &eth;
33         };
34
35         memory@80000000 {
36                 device_type = "memory";
37                 reg = <0x80000000 0x80000000>;
38         };
39 };
40
41 &ethsc {
42         interrupts = <4 8>;
43 };
44
45 &serial0 {
46         status = "okay";
47 };
48
49 &serial1 {
50         status = "okay";
51 };
52
53 &serial2 {
54         status = "okay";
55 };
56
57 &gpio {
58         xirq4 {
59                 gpio-hog;
60                 gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
61                 input;
62         };
63 };
64
65 &i2c0 {
66         status = "okay";
67 };
68
69 &sd {
70         status = "okay";
71 };
72
73 &eth {
74         status = "okay";
75         phy-handle = <&ethphy>;
76 };
77
78 &mdio {
79         ethphy: ethphy@0 {
80                 reg = <0>;
81         };
82 };
83
84 &usb0 {
85         status = "okay";
86 };
87
88 &usb1 {
89         status = "okay";
90 };
91
92 &nand {
93         status = "okay";
94
95         nand@0 {
96                 reg = <0>;
97         };
98 };