Part Number: AM62L
Other Parts Discussed in Thread: CC3351, CC3351MOD
Hello
I am configuring an AM62Lx platform and bringing up the mmc2 interface to connect with an SDIO WiFi module.
There is a requirement for a 32KHz clock, which I would like to use Y23 WKUP_CLKOUT0 to provide the signal:
The pinmux is configuring mode 0 to enable the clockout mode;
wifi_32k_clk: wkup-clk-out-default-pins {
pinctrl-single,pins = <
AM62LX_IOPAD(0x0018, PIN_OUTPUT, 0) /* (Y23) WKUP_CLKOUT0 */
>;
};
&sdhci2 {
bootph-all;
vmmc-supply = <&wlan_en>;
pinctrl-names = "default";
pinctrl-0 = <&wifi_pins_default>, <&wifi_32k_clk>;
bus-width = <4>;
non-removable;
ti,fails-without-test-cd;
cap-power-off-card;
keep-power-in-suspend;
assigned-clocks = <&scmi_clk 142 144>;
assigned-clock-parents = <&scmi_clk 142 160>;
ti,driver-strength-ohm = <50>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
wlcore: wlcore@2 {
compatible = "ti,cc3300";
reg = <2>;
pinctrl-names = "default";
pinctrl-0 = <&main_wlirq_pins_default>,<&wlan_reset_pins_default>;
interrupt-parent = <&main_gpio0>;
interrupts = <51 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&main_gpio0 52 GPIO_ACTIVE_LOW>;
};
};
The part that is unclear is which clock ids to use?
I have purely taken a guess with using 142 and 144 by referencing the FreeRTOS definitions.
There is really good documentation around this area for the AM62x where the clock IDs are documented and it is relatively easy to identify the required number:
https://downloads.ti.com/tisci/esd/latest/5_soc_doc/am62x/clocks.html#clocks-for-board0-device
Where can I find the relevant documentation that is relevant to the AM62Lx please?
Thank you
Marc