~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/st/stm32mp157a-iot-box.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Copyright (C) 2020 Manivannan Sadhasivam
  4  */
  5 
  6 /dts-v1/;
  7 #include "stm32mp157a-stinger96.dtsi"
  8 
  9 / {
 10         model = "Shiratech STM32MP157A IoT Box";
 11         compatible = "shiratech,stm32mp157a-iot-box", "st,stm32mp157";
 12 
 13         wlan_pwr: regulator-wlan {
 14                 compatible = "regulator-fixed";
 15 
 16                 regulator-name = "wl-reg";
 17                 regulator-min-microvolt = <3300000>;
 18                 regulator-max-microvolt = <3300000>;
 19 
 20                 gpios = <&gpiog 3 GPIO_ACTIVE_HIGH>;
 21                 enable-active-high;
 22         };
 23 };
 24 
 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         };
 32 };
 33 
 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";
 46 
 47         #address-cells = <1>;
 48         #size-cells = <0>;
 49         brcmf: bcrmf@1 {
 50                 reg = <1>;
 51                 compatible = "brcm,bcm4329-fmac";
 52         };
 53 };
 54 
 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         /delete-property/dmas;
 62         /delete-property/dma-names;
 63         status = "okay";
 64 
 65         bluetooth {
 66                 shutdown-gpios = <&gpiog 2 GPIO_ACTIVE_HIGH>;
 67                 compatible = "brcm,bcm43438-bt";
 68                 max-speed = <115200>;
 69         };
 70 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php