rgb10max3: swap L and L2, and R and R2 in dts so they are correct
This commit is contained in:
parent
9d0b0507b8
commit
67a404aa09
1 changed files with 33 additions and 0 deletions
|
@ -0,0 +1,33 @@
|
|||
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb10max3.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb10max3.dts
|
||||
index e5a474e681dd..dc140a862592 100644
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb10max3.dts
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb10max3.dts
|
||||
@@ -85,3 +85,28 @@ &red_led {
|
||||
default-state = "off";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
};
|
||||
+
|
||||
+&joypad {
|
||||
+ sw12 {
|
||||
+ gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>;
|
||||
+ label = "GPIO BTN_TL";
|
||||
+ linux,code = <BTN_TL>;
|
||||
+ };
|
||||
+ sw13 {
|
||||
+ gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>;
|
||||
+ label = "GPIO BTN_TR";
|
||||
+ linux,code = <BTN_TR>;
|
||||
+ };
|
||||
+ sw14 {
|
||||
+ gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_LOW>;
|
||||
+ label = "GPIO BTN_TL2";
|
||||
+ linux,code = <BTN_TL2>;
|
||||
+ };
|
||||
+ sw15 {
|
||||
+ gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
+ label = "GPIO BTN_TR2";
|
||||
+ linux,code = <BTN_TR2>;
|
||||
+ };
|
||||
+
|
||||
+
|
||||
+};
|
Loading…
Reference in a new issue