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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4.dtsi

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /dts-v1/;
  3 #include "bcm2711.dtsi"
  4 #include "bcm2711-rpi.dtsi"
  5 #include "bcm283x-rpi-wifi-bt.dtsi"
  6 
  7 / {
  8         compatible = "raspberrypi,4-compute-module", "brcm,bcm2711";
  9 
 10         chosen {
 11                 /* 8250 auxiliary UART instead of pl011 */
 12                 stdout-path = "serial1:115200n8";
 13         };
 14 
 15         sd_io_1v8_reg: regulator-sd-io-1v8 {
 16                 compatible = "regulator-gpio";
 17                 regulator-name = "vdd-sd-io";
 18                 regulator-min-microvolt = <1800000>;
 19                 regulator-max-microvolt = <3300000>;
 20                 regulator-boot-on;
 21                 regulator-always-on;
 22                 regulator-settling-time-us = <5000>;
 23                 gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>;
 24                 states = <1800000 0x1>,
 25                          <3300000 0x0>;
 26                 status = "okay";
 27         };
 28 
 29         sd_vcc_reg: regulator-sd-vcc {
 30                 compatible = "regulator-fixed";
 31                 regulator-name = "vcc-sd";
 32                 regulator-min-microvolt = <3300000>;
 33                 regulator-max-microvolt = <3300000>;
 34                 regulator-boot-on;
 35                 enable-active-high;
 36                 gpio = <&expgpio 6 GPIO_ACTIVE_HIGH>;
 37         };
 38 };
 39 
 40 &bt {
 41         shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
 42 };
 43 
 44 /* EMMC2 is used to drive the eMMC */
 45 &emmc2 {
 46         bus-width = <8>;
 47         vqmmc-supply = <&sd_io_1v8_reg>;
 48         vmmc-supply = <&sd_vcc_reg>;
 49         broken-cd;
 50         /* Even the IP block is limited to 100 MHz
 51          * this provides a throughput gain
 52          */
 53         mmc-hs200-1_8v;
 54         status = "okay";
 55 };
 56 
 57 &expgpio {
 58         gpio-line-names = "BT_ON",
 59                           "WL_ON",
 60                           "PWR_LED_OFF",
 61                           "ANT1",
 62                           "VDD_SD_IO_SEL",
 63                           "CAM_GPIO",
 64                           "SD_PWR_ON",
 65                           "ANT2";
 66 
 67         ant1: ant1-hog {
 68                 gpio-hog;
 69                 gpios = <3 GPIO_ACTIVE_HIGH>;
 70                 /* internal antenna enabled */
 71                 output-high;
 72                 line-name = "ant1";
 73         };
 74 
 75         ant2: ant2-hog {
 76                 gpio-hog;
 77                 gpios = <7 GPIO_ACTIVE_HIGH>;
 78                 /* external antenna disabled */
 79                 output-low;
 80                 line-name = "ant2";
 81         };
 82 };
 83 
 84 &genet {
 85         phy-handle = <&phy1>;
 86         phy-mode = "rgmii-rxid";
 87         status = "okay";
 88 };
 89 
 90 &genet_mdio {
 91         phy1: ethernet-phy@0 {
 92                 /* No PHY interrupt */
 93                 reg = <0x0>;
 94         };
 95 };
 96 
 97 /* uart0 communicates with the BT module */
 98 &uart0 {
 99         pinctrl-names = "default";
100         pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>;
101         uart-has-rtscts;
102 };
103 
104 /* uart1 is mapped to the pin header */
105 &uart1 {
106         pinctrl-names = "default";
107         pinctrl-0 = <&uart1_gpio14>;
108         status = "okay";
109 };
110 
111 &wifi_pwrseq {
112         reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
113 };

~ [ 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