stm32mp157a-iot-box.dts 1.5 KB

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