diff --git a/config/boards/shields/totem/totem.dtsi b/config/boards/shields/totem/totem.dtsi index 2ce157c..73c4f93 100644 --- a/config/boards/shields/totem/totem.dtsi +++ b/config/boards/shields/totem/totem.dtsi @@ -30,10 +30,10 @@ label = "KSCAN"; diode-direction = "col2row"; row-gpios - = <&xiao_d 0 GPIO_ACTIVE_HIGH> - , <&xiao_d 1 GPIO_ACTIVE_HIGH> - , <&xiao_d 2 GPIO_ACTIVE_HIGH> - , <&xiao_d 3 GPIO_ACTIVE_HIGH> + = <&xiao_d 0 GPIO_ACTIVE_DOWN> + , <&xiao_d 1 GPIO_ACTIVE_DOWN> + , <&xiao_d 2 GPIO_ACTIVE_DOWN> + , <&xiao_d 3 GPIO_ACTIVE_DOWN> ; }; }; \ No newline at end of file diff --git a/config/boards/shields/totem/totem_left.overlay b/config/boards/shields/totem/totem_left.overlay index e9d9fb2..ae4d4c9 100644 --- a/config/boards/shields/totem/totem_left.overlay +++ b/config/boards/shields/totem/totem_left.overlay @@ -8,10 +8,10 @@ &kscan0 { col-gpios - = <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + = <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> ; }; diff --git a/config/boards/shields/totem/totem_right.overlay b/config/boards/shields/totem/totem_right.overlay index d91d699..4ea0c22 100644 --- a/config/boards/shields/totem/totem_right.overlay +++ b/config/boards/shields/totem/totem_right.overlay @@ -12,10 +12,10 @@ &kscan0 { col-gpios - = <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + = <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> ; };