Skip to content

Commit

Permalink
Test alternative settings for PMW3360
Browse files Browse the repository at this point in the history
  • Loading branch information
trentrand committed May 8, 2024
1 parent 04de794 commit edebc79
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
};
};

&spi0 {
&spi1 {
status = "okay";
compatible = "nordic,nrf-spim";
pinctrl-0 = <&spi0_default>;
Expand All @@ -53,12 +53,12 @@
trackball: trackball@0 {
status = "okay";
compatible = "pixart,pmw33xx";
reg = <0>;
reg = <0x0>;
spi-max-frequency = <2000000>;
label = "TRACKBALL";
cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
cpi = <1000>;
motswk-gpios = <&gpio0 17 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
cpi = <1600>;
motswk-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
};
};

Expand Down

0 comments on commit edebc79

Please sign in to comment.