Skip to content

Commit d938a6a

Browse files
author
phuc
committed
Display ok
1 parent c7c1ff3 commit d938a6a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

boards/m5stack/m5stickc_plus2/m5stickc_plus2_procpu.dts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#include <espressif/partitions_0x1000_amp.dtsi>
1414

1515
/ {
16-
model = "M5StickC Plus PROCPU";
17-
compatible = "m5stack,m5stickc-plus";
16+
model = "M5StickC Plus 2 PROCPU";
17+
compatible = "m5stack,m5stickc-plus2";
1818

1919
aliases {
2020
led0 = &red_led;
@@ -65,8 +65,8 @@
6565
mipi_dbi {
6666
compatible = "zephyr,mipi-dbi-spi";
6767
spi-dev = <&spi3>;
68-
dc-gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
69-
reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
68+
dc-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; // G14
69+
reset-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; // G12
7070
write-only;
7171
#address-cells = <1>;
7272
#size-cells = <0>;
@@ -76,6 +76,8 @@
7676
reg = <0>;
7777
mipi-max-frequency = <20000000>;
7878

79+
supply-gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>; // G27
80+
7981
width = <135>;
8082
height = <240>;
8183
x-offset = <53>;

0 commit comments

Comments
 (0)