Skip to content

Commit

Permalink
ARM: dts: RK322x fixup led configs
Browse files Browse the repository at this point in the history
  • Loading branch information
knaerzche committed Mar 1, 2020
1 parent a42fc85 commit 99380a9
Showing 1 changed file with 5 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ new file mode 100644
index 0000000000..3ea6747ef0
--- /dev/null
+++ b/arch/arm/boot/dts/rk3229-box-d88.dts
@@ -0,0 +1,84 @@
@@ -0,0 +1,72 @@
+/*
+ * Copyright (C) 2020 knaerzche <knaerzche@gmail.com>
+ *
Expand All @@ -1076,24 +1076,12 @@ index 0000000000..3ea6747ef0
+ compatible = "gpio-leds";
+
+ led_red {
+ gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_LOW>;
+ default-state = "on";
+ };
+
+ };
+
+ wireless-bluetooth {
+ compatible = "bluetooth-platdata";
+ uart_rts_gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default", "rts_gpio";
+ pinctrl-0 = <&uart11_rts>;
+ pinctrl-1 = <&uart11_rts_gpio>;
+ BT,power_gpio = <&gpio2 29 GPIO_ACTIVE_HIGH>;
+ BT,wake_gpio = <&gpio3 27 GPIO_ACTIVE_HIGH>;
+ BT,wake_host_irq = <&gpio3 26 GPIO_ACTIVE_HIGH>;
+ status = "okay";
+ };
+
+};
+
+&bluetooth {
Expand Down Expand Up @@ -1166,13 +1154,13 @@ index 0000000000..9635c48b9d
+ compatible = "gpio-leds";
+
+ led_red {
+ gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ linux,default-trigger = "rc-feedback";
+ };
+
+ led_blue {
+ gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_LOW>;
+ default-state = "on";
+ };
+ };
Expand Down

0 comments on commit 99380a9

Please sign in to comment.