Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / arm64 / boot / dts / hisilicon / hi3798cv200-poplar.dts
blob4d5d644abb126a9c4bc7e602b04ae82d80c050c0
1 /*
2  * DTS File for HiSilicon Poplar Development Board
3  *
4  * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd.
5  *
6  * Released under the GPLv2 only.
7  * SPDX-License-Identifier: GPL-2.0
8  */
10 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include "hi3798cv200.dtsi"
15 / {
16         model = "HiSilicon Poplar Development Board";
17         compatible = "hisilicon,hi3798cv200-poplar", "hisilicon,hi3798cv200";
19         aliases {
20                 serial0 = &uart0;
21                 serial2 = &uart2;
22         };
24         chosen {
25                 stdout-path = "serial0:115200n8";
26         };
28         memory@0 {
29                 device_type = "memory";
30                 reg = <0x0 0x0 0x0 0x80000000>;
31         };
33         leds {
34                 compatible = "gpio-leds";
36                 user-led0 {
37                         label = "USER-LED0";
38                         gpios = <&gpio6 3 GPIO_ACTIVE_LOW>;
39                         linux,default-trigger = "heartbeat";
40                         default-state = "off";
41                 };
43                 user-led1 {
44                         label = "USER-LED1";
45                         gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
46                         linux,default-trigger = "mmc0";
47                         default-state = "off";
48                 };
50                 user-led2 {
51                         label = "USER-LED2";
52                         gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
53                         linux,default-trigger = "none";
54                         default-state = "off";
55                 };
57                 user-led3 {
58                         label = "USER-LED3";
59                         gpios = <&gpio10 6 GPIO_ACTIVE_LOW>;
60                         linux,default-trigger = "cpu0";
61                         default-state = "off";
62                 };
63         };
66 &gmac1 {
67         status = "okay";
68         #address-cells = <1>;
69         #size-cells = <0>;
70         phy-handle = <&eth_phy1>;
71         phy-mode = "rgmii";
72         hisilicon,phy-reset-delays-us = <10000 10000 30000>;
74         eth_phy1: phy@3 {
75                 reg = <3>;
76         };
79 &gpio1 {
80         status = "okay";
81         gpio-line-names = "GPIO-E",     "",
82                           "",           "",
83                           "",           "GPIO-F",
84                           "",           "GPIO-J";
87 &gpio2 {
88         status = "okay";
89         gpio-line-names = "GPIO-H",     "GPIO-I",
90                           "GPIO-L",     "GPIO-G",
91                           "GPIO-K",     "",
92                           "",           "";
95 &gpio3 {
96         status = "okay";
97         gpio-line-names = "",           "",
98                           "",           "",
99                           "GPIO-C",     "",
100                           "",           "GPIO-B";
103 &gpio4 {
104         status = "okay";
105         gpio-line-names = "",           "",
106                           "",           "",
107                           "",           "GPIO-D",
108                           "",           "";
111 &gpio5 {
112         status = "okay";
113         gpio-line-names = "",           "USER-LED-1",
114                           "USER-LED-2", "",
115                           "",           "GPIO-A",
116                           "",           "";
119 &gpio6 {
120         status = "okay";
121         gpio-line-names = "",           "",
122                           "",           "USER-LED-0",
123                           "",           "",
124                           "",           "";
127 &gpio10 {
128         status = "okay";
129         gpio-line-names = "",           "",
130                           "",           "",
131                           "",           "",
132                           "USER-LED-3", "";
135 &i2c0 {
136         status = "okay";
137         label = "LS-I2C0";
140 &i2c2 {
141         status = "okay";
142         label = "LS-I2C1";
145 &ir {
146         status = "okay";
149 &sd0 {
150         bus-width = <4>;
151         cap-sd-highspeed;
152         status = "okay";
155 &spi0 {
156         status = "okay";
157         label = "LS-SPI0";
160 &uart0 {
161         status = "okay";
164 &uart2 {
165         status = "okay";
166         label = "LS-UART0";
168 /* No optional LS-UART1 on Low Speed Expansion Connector. */