Other Parts Discussed in Thread: AM62P
Tool/software:
Hello
I'm trying to configure the WKUP_CLKOUT0 pin to output 32KHz instead of 25MHz. This is for an external WiFi module connected via an M.2 interface. The processor on our board is an AM6232A.
I have the following device tree section...
&sdhci2 { boot-ph-all; pinctrl-names = "default"; pinctrl-0 = <&wifi_pins_default &wifi_32k_clk_pins_default>; status = "okay"; vmmc-supply = <&vdd_3v3>; vqmmc-supply = <&buck2_reg>; mmc-pwrseq = <&wifi_pwrseq>; bus-width = <4>; non-removable; ti,fails-without-test-cd; keep-power-in-suspend; ti,driver-strength-ohm = <50>; max-frequency = <50000000>; cap-power-off-card; #address-cells = <1>; #size-cells = <0>; wlcore: wlcore@2 { compatible = "ti,cc33xx"; reg = <2>; pinctrl-names = "default"; pinctrl-0 = <&wifi_irq_pins_default>; interrupt-parent = <&main_gpio0>; interrupts = <71 IRQ_TYPE_EDGE_FALLING>; }; };
...but can't work out what I need to add for 'assigned-clocks'.
I've found this in the TRM...
and this from software-dl.ti.com/.../clocks.html
We have a 32.768KHz crystal connected externally across the WKUP_LFOSC0_X... pins.
How do I configure my DTS file to route the LFOSC0 clock to the WKUP_CLKOUT0 pin?
Thanks
Mark