.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
1 | 2 | /* |
---|
2 | 3 | * DTS File for HiSilicon Poplar Development Board |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd. |
---|
5 | | - * |
---|
6 | | - * Released under the GPLv2 only. |
---|
7 | | - * SPDX-License-Identifier: GPL-2.0 |
---|
8 | 6 | */ |
---|
9 | 7 | |
---|
10 | 8 | /dts-v1/; |
---|
.. | .. |
---|
35 | 33 | compatible = "gpio-leds"; |
---|
36 | 34 | |
---|
37 | 35 | user-led0 { |
---|
38 | | - label = "USER-LED0"; |
---|
| 36 | + label = "green:user1"; |
---|
39 | 37 | gpios = <&gpio6 3 GPIO_ACTIVE_LOW>; |
---|
40 | 38 | linux,default-trigger = "heartbeat"; |
---|
41 | 39 | default-state = "off"; |
---|
42 | 40 | }; |
---|
43 | 41 | |
---|
44 | 42 | user-led1 { |
---|
45 | | - label = "USER-LED1"; |
---|
| 43 | + label = "green:user2"; |
---|
46 | 44 | gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; |
---|
47 | 45 | linux,default-trigger = "mmc0"; |
---|
48 | 46 | default-state = "off"; |
---|
49 | 47 | }; |
---|
50 | 48 | |
---|
51 | 49 | user-led2 { |
---|
52 | | - label = "USER-LED2"; |
---|
| 50 | + label = "green:user3"; |
---|
53 | 51 | gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; |
---|
54 | | - linux,default-trigger = "none"; |
---|
| 52 | + linux,default-trigger = "mmc1"; |
---|
55 | 53 | default-state = "off"; |
---|
56 | 54 | }; |
---|
57 | 55 | |
---|
58 | 56 | user-led3 { |
---|
59 | | - label = "USER-LED3"; |
---|
| 57 | + label = "green:user4"; |
---|
60 | 58 | gpios = <&gpio10 6 GPIO_ACTIVE_LOW>; |
---|
61 | | - linux,default-trigger = "cpu0"; |
---|
| 59 | + linux,default-trigger = "none"; |
---|
| 60 | + panic-indicator; |
---|
62 | 61 | default-state = "off"; |
---|
63 | 62 | }; |
---|
64 | 63 | }; |
---|
.. | .. |
---|
171 | 170 | }; |
---|
172 | 171 | |
---|
173 | 172 | &ir { |
---|
| 173 | + linux,rc-map-name = "rc-hisi-poplar"; |
---|
174 | 174 | status = "okay"; |
---|
175 | 175 | }; |
---|
176 | 176 | |
---|