forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/rk3288-firefly.dtsi
....@@ -62,20 +62,20 @@
6262 leds {
6363 compatible = "gpio-leds";
6464
65
- work {
65
+ work_led: led-0 {
6666 gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>;
6767 label = "firefly:blue:user";
6868 linux,default-trigger = "rc-feedback";
6969 pinctrl-names = "default";
70
- pinctrl-0 = <&work_led>;
70
+ pinctrl-0 = <&work_led_pin>;
7171 };
7272
73
- power {
73
+ power_led: led-1 {
7474 gpios = <&gpio8 RK_PA2 GPIO_ACTIVE_LOW>;
7575 label = "firefly:green:power";
7676 linux,default-trigger = "default-on";
7777 pinctrl-names = "default";
78
- pinctrl-0 = <&power_led>;
78
+ pinctrl-0 = <&power_led_pin>;
7979 };
8080 };
8181
....@@ -191,7 +191,7 @@
191191 snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
192192 tx_delay = <0x30>;
193193 rx_delay = <0x10>;
194
- status = "ok";
194
+ status = "okay";
195195 };
196196
197197 &gpu {
....@@ -233,7 +233,7 @@
233233 vin-supply = <&vcc_sys>;
234234 };
235235
236
- hym8563: hym8563@51 {
236
+ hym8563: rtc@51 {
237237 compatible = "haoyu,hym8563";
238238 reg = <0x51>;
239239 #clock-cells = <0>;
....@@ -429,11 +429,11 @@
429429 };
430430
431431 leds {
432
- power_led: power-led {
432
+ power_led_pin: power-led-pin {
433433 rockchip,pins = <8 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
434434 };
435435
436
- work_led: work-led {
436
+ work_led_pin: work-led-pin {
437437 rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
438438 };
439439 };