forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts
....@@ -1,10 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * DTS File for HiSilicon Poplar Development Board
34 *
45 * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd.
5
- *
6
- * Released under the GPLv2 only.
7
- * SPDX-License-Identifier: GPL-2.0
86 */
97
108 /dts-v1/;
....@@ -35,30 +33,31 @@
3533 compatible = "gpio-leds";
3634
3735 user-led0 {
38
- label = "USER-LED0";
36
+ label = "green:user1";
3937 gpios = <&gpio6 3 GPIO_ACTIVE_LOW>;
4038 linux,default-trigger = "heartbeat";
4139 default-state = "off";
4240 };
4341
4442 user-led1 {
45
- label = "USER-LED1";
43
+ label = "green:user2";
4644 gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
4745 linux,default-trigger = "mmc0";
4846 default-state = "off";
4947 };
5048
5149 user-led2 {
52
- label = "USER-LED2";
50
+ label = "green:user3";
5351 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
54
- linux,default-trigger = "none";
52
+ linux,default-trigger = "mmc1";
5553 default-state = "off";
5654 };
5755
5856 user-led3 {
59
- label = "USER-LED3";
57
+ label = "green:user4";
6058 gpios = <&gpio10 6 GPIO_ACTIVE_LOW>;
61
- linux,default-trigger = "cpu0";
59
+ linux,default-trigger = "none";
60
+ panic-indicator;
6261 default-state = "off";
6362 };
6463 };
....@@ -171,6 +170,7 @@
171170 };
172171
173172 &ir {
173
+ linux,rc-map-name = "rc-hisi-poplar";
174174 status = "okay";
175175 };
176176