diff --git a/config/boards/shields/mlego_m66_rev4/st7735.overlay b/config/boards/shields/mlego_m66_rev4/st7735.overlay index 14a0785..8bd540b 100644 --- a/config/boards/shields/mlego_m66_rev4/st7735.overlay +++ b/config/boards/shields/mlego_m66_rev4/st7735.overlay @@ -14,18 +14,9 @@ board_spi: &spi0 { status = "okay"; pinctrl-0 = < &spi0_default >; pinctrl-names = "default"; - cs-gpios = <&gpio0 21 GPIO_ACTIVE_LOW> , - <&gpio0 6 GPIO_ACTIVE_HIGH>; + cs-gpios = <&gpio0 6 GPIO_ACTIVE_LOW> , + <&gpio0 21 GPIO_ACTIVE_HIGH>; - shift_reg: 595@0 { - compatible = "zmk,gpio-595"; - status = "okay"; - gpio-controller; - spi-max-frequency = <2000000>; - #gpio-cells = <2>; - reg = <1>; - ngpios = <16>; - }; st7735s160x80: st7735r@0 { compatible = "sitronix,st7735r"; spi-max-frequency = <1000000>; @@ -53,4 +44,14 @@ board_spi: &spi0 { gamctrp1 = [02 1c 07 12 37 32 29 2d 29 25 2b 39 00 01 03 10]; gamctrn1 = [03 1d 07 06 2e 2c 29 2d 2e 2e 37 3f 00 00 02 10]; }; + + shift_reg: 595@0 { + compatible = "zmk,gpio-595"; + status = "okay"; + gpio-controller; + spi-max-frequency = <2000000>; + #gpio-cells = <2>; + reg = <1>; + ngpios = <16>; + }; }; diff --git a/firmware/mlego_m66_rev4_rp2040-rpi_pico-zmk.uf2 b/firmware/mlego_m66_rev4_rp2040-rpi_pico-zmk.uf2 index 6140577..41ddde6 100644 Binary files a/firmware/mlego_m66_rev4_rp2040-rpi_pico-zmk.uf2 and b/firmware/mlego_m66_rev4_rp2040-rpi_pico-zmk.uf2 differ