Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / stm32mp157a-iot-box.dts
blob70f394b4d3c0739c087fa73688a8124e18e57770
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright (C) 2020 Manivannan Sadhasivam
4  */
6 /dts-v1/;
7 #include "stm32mp157a-stinger96.dtsi"
9 / {
10         model = "Shiratech STM32MP157A IoT Box";
11         compatible = "shiratech,stm32mp157a-iot-box", "st,stm32mp157";
13         wlan_pwr: regulator-wlan {
14                 compatible = "regulator-fixed";
16                 regulator-name = "wl-reg";
17                 regulator-min-microvolt = <3300000>;
18                 regulator-max-microvolt = <3300000>;
20                 gpios = <&gpiog 3 GPIO_ACTIVE_HIGH>;
21                 enable-active-high;
22         };
25 &i2c2 {
26         ccs811@5b {
27                 compatible = "ams,ccs811";
28                 reg = <0x5b>;
29                 wakeup-gpios = <&gpioa 12 GPIO_ACTIVE_LOW>;
30                 reset-gpios = <&gpioa 11 GPIO_ACTIVE_LOW>;
31         };
34 /* WiFi */
35 &sdmmc2 {
36         pinctrl-names = "default", "opendrain", "sleep";
37         pinctrl-0 = <&sdmmc2_b4_pins_a>;
38         pinctrl-1 = <&sdmmc2_b4_od_pins_b>;
39         pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>;
40         broken-cd;
41         non-removable;
42         st,neg-edge;
43         bus-width = <1>;
44         vmmc-supply = <&wlan_pwr>;
45         status = "okay";
47         #address-cells = <1>;
48         #size-cells = <0>;
49         brcmf: bcrmf@1 {
50                 reg = <1>;
51                 compatible = "brcm,bcm4329-fmac";
52         };
55 /* Bluetooth */
56 &uart4 {
57         /* Note: HW flow control is broken, hence using custom CTS/RTS gpios */
58         /delete-property/st,hw-flow-ctrl;
59         cts-gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
60         rts-gpios = <&gpiob 0 GPIO_ACTIVE_LOW>;
61         status = "okay";
63         bluetooth {
64                 shutdown-gpios = <&gpiog 2 GPIO_ACTIVE_HIGH>;
65                 compatible = "brcm,bcm43438-bt";
66                 max-speed = <115200>;
67         };