]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: omap4: panda: fix resources needed for Wifi
authorAndreas Kemnade <andreas@kemnade.info>
Sun, 27 Apr 2025 05:27:34 +0000 (07:27 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 1 May 2025 18:09:37 +0000 (11:09 -0700)
The Pandaboard needs a 32k clock in the TWL6030 to be enabled
for Wifi to work.
With some luck, it is enabled by some U-Boot fork.
Do not rely on it and properly specify the requirement.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20250427052735.88133-2-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/ti/omap/omap4-panda-common.dtsi

index 97706d6296a68f9943ecd769a4e55a2503e75ea2..c860b590142aeb2c8995898813872a7153049cb2 100644 (file)
                clock-frequency = <19200000>;
        };
 
+       wl12xx_pwrseq: wl12xx-pwrseq {
+               compatible = "mmc-pwrseq-simple";
+               clocks = <&twl 0>;
+               clock-names = "ext_clock";
+       };
+
        /* regulator for wl12xx on sdio5 */
        wl12xx_vmmc: wl12xx_vmmc {
                pinctrl-names = "default";
                reg = <0x48>;
                /* IRQ# = 7 */
                interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
+               #clock-cells = <1>;
                system-power-controller;
        };
 
        non-removable;
        bus-width = <4>;
        cap-power-off-card;
+       mmc-pwrseq = <&wl12xx_pwrseq>;
 
        #address-cells = <1>;
        #size-cells = <0>;