Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8023

Device Tree • CM5 overlay pull up config not correct, or ignored?

$
0
0
Hi all,

I'm having problems with the CM5 GPIO pull-up on 26 not being enabled when using this overlay.
It's actually setup as a pull-down (tested with dso, and pinctrl shows pd).

Is there something wrong with the overlay config below, or is something else causing this?

Code:

fragment@4 {target = <&gpio>;__dormant__ {gt928intpins: gt928intpins {brcm,pins = <26>; //gpio pinbrcm,function = <0>; //inputbrcm,pull = <2>; //2=pull-up};};};frag5: fragment@5 {target = <&i2c_csi_dsi>;__dormant__ {#address-cells = <1>;#size-cells = <0>;status = "okay";gt928: gt928@5d {compatible = "goodix,gt928";reg = <0x5d>;interrupt-parent = <&gpio>;interrupts = <26 2>; //gpio 26, 2=high-to-low triggerirq-gpios = <&gpio 26 0>; //gpio 26reset-gpios = <&pcf8574a 1 1>;touchscreen-inverted-x;touchscreen-inverted-y;};};};
Thanks.

Statistics: Posted by MWP — Thu Nov 13, 2025 5:04 am



Viewing all articles
Browse latest Browse all 8023

Trending Articles