forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt
....@@ -9,11 +9,12 @@
99 - spi-max-frequency : Maximum SPI clocking speed of device in Hz
1010 - interrupts : Should contain interrupt line
1111 - vio-supply : phandle to regulator providing VIO
12
-- ti,power-gpio : GPIO connected to chip's PMEN pin
1312
1413 Optional properties:
1514 - ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which
1615 provides configuration data (calibration, MAC, ...)
16
+- ti,power-gpio : GPIO connected to chip's PMEN pin if operated in
17
+ SPI mode
1718 - Please consult Documentation/devicetree/bindings/spi/spi-bus.txt
1819 for optional SPI connection related properties,
1920
....@@ -35,3 +36,29 @@
3536 ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
3637 };
3738 };
39
+
40
+&mmc3 {
41
+ vmmc-supply = <&wlan_en>;
42
+
43
+ bus-width = <4>;
44
+ non-removable;
45
+ ti,non-removable;
46
+ cap-power-off-card;
47
+
48
+ pinctrl-names = "default";
49
+ pinctrl-0 = <&mmc3_pins>;
50
+
51
+ #address-cells = <1>;
52
+ #size-cells = <0>;
53
+
54
+ wlan: wifi@1 {
55
+ compatible = "ti,wl1251";
56
+
57
+ reg = <1>;
58
+
59
+ interrupt-parent = <&gpio1>;
60
+ interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_21 */
61
+
62
+ ti,wl1251-has-eeprom;
63
+ };
64
+};