File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Default Zephyr Peripheral Mapping:
53
53
- LD3 : PD4
54
54
- User Button: PC13
55
55
- I2C1 SCL/SDA : PG14/PG13
56
- - I2C2 SCL/SDA : PB10/PB11
56
+ - I2C2 SCL/SDA : PF1/PF0
57
57
- SPI1 SCK/MISO/MOSI/CS : PA5/PA6/PB5/PA3
58
58
- ADC1 : channel5 PA0, channel12 PA7
59
59
- ADC4 : channel4 PC3
Original file line number Diff line number Diff line change 21
21
zephyr,flash = &flash0;
22
22
zephyr,code-partition = &slot0_partition;
23
23
zephyr,display = <dc;
24
+ zephyr,touch = >911;
24
25
};
25
26
26
27
leds {
175
176
};
176
177
177
178
&i2c2 {
178
- pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb11>;
179
179
pinctrl-names = "default";
180
+ pinctrl-0 = <&i2c2_scl_pf1 &i2c2_sda_pf0>;
180
181
status = "okay";
181
- clock-frequency = <I2C_BITRATE_STANDARD>;
182
+ clock-frequency = <I2C_BITRATE_FAST>;
183
+
184
+ gt911: gt911@5d {
185
+ compatible = "goodix,gt911";
186
+ reg = <0x5d>;
187
+ irq-gpios = <&gpioe 5 GPIO_ACTIVE_HIGH>;
188
+ reset-gpios = <&gpiod 2 GPIO_ACTIVE_LOW>;
189
+ };
182
190
};
183
191
184
192
&spi1 {
You can’t perform that action at this time.
0 commit comments