]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: omap2: add stlc4560 spi-wireless node
authorArnd Bergmann <arnd@arndb.de>
Thu, 7 May 2026 21:24:51 +0000 (23:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 May 2026 10:05:04 +0000 (12:05 +0200)
Converted from the platform_device creation in board-n8x0.c.

Link: https://lore.kernel.org/all/20230314163201.955689-1-arnd@kernel.org/
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260507212451.3333185-4-arnd@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/arm/boot/dts/ti/omap/omap2.dtsi
arch/arm/boot/dts/ti/omap/omap2420-n8x0-common.dtsi

index afabb36a8ac13716306c491adc6609a4084ae50f..fdc1790adf4379879df1c77fd9a39145e263de21 100644 (file)
                };
 
                mcspi1: spi@48098000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        compatible = "ti,omap2-mcspi";
                        ti,hwmods = "mcspi1";
                        reg = <0x48098000 0x100>;
                };
 
                mcspi2: spi@4809a000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        compatible = "ti,omap2-mcspi";
                        ti,hwmods = "mcspi2";
                        reg = <0x4809a000 0x100>;
index 63b0b4921e4e464892dcc49d231b5ad73f463d59..fe9dd8bbfc858d7a9e663f87424a7b081318c35f 100644 (file)
                };
        };
 };
+
+&mcspi2 {
+       status = "okay";
+
+       wifi@0 {
+               reg = <0>;
+               compatible = "st,stlc4560";
+               spi-max-frequency = <48000000>;
+               interrupts-extended = <&gpio3 23 IRQ_TYPE_EDGE_RISING>;
+               powerdown-gpios = <&gpio4 1 GPIO_ACTIVE_LOW>; /* gpio 97 */
+       };
+};