Here's what I tried based on your instructions, this doesn't configure the GPIO nor get a clock signal through :/
At some point while messing around with this I got something somewhat promising pop up in dmesg from clk stating something couldn't be reparented but I'm still getting nowhere.
Code:
/dts-v1/;/plugin/;/ { compatible = "brcm,bcm2712"; fragment@0 { target-path = "/"; __overlay__ { leds: leds { gpclk_dummy_led: gpclk-dummy-led { label = "GPCLK0_OUT"; gpios = <&rp1_gpio 4 0>; default-state = "off"; pinctrl-names = "default"; pinctrl-0 = <&gpclk0_pin>; assigned-clocks = <&rp1_clocks 33>; // RP1_CLK_GP0 assigned-clock-parents = <&clk_osc>; // 24MHz oscillator assigned-clock-rates = <12288000>; // 12.288 MHz }; }; }; }; fragment@1 { target = <&rp1_gpio>; __overlay__ { gpclk0_pin: gpclk0_pin { brcm,pins = <4>; // GPIO4 / Pin 7 brcm,function = <4>; // ALT0 / GPCLK0 brcm,pull = <0>; }; }; };};Statistics: Posted by petercs — Wed Jun 25, 2025 12:51 pm