1 // SPDX-License-Identifier: GPL-2.0
3 #include "bcm2711.dtsi"
4 #include "bcm2711-rpi.dtsi"
5 #include "bcm283x-rpi-wifi-bt.dtsi"
8 compatible = "raspberrypi,4-compute-module", "brcm,bcm2711";
11 /* 8250 auxiliary UART instead of pl011 */
12 stdout-path = "serial1:115200n8";
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>;
22 regulator-settling-time-us = <5000>;
23 gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>;
24 states = <1800000 0x1>,
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>;
36 gpio = <&expgpio 6 GPIO_ACTIVE_HIGH>;
41 shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
44 /* EMMC2 is used to drive the eMMC */
47 vqmmc-supply = <&sd_io_1v8_reg>;
48 vmmc-supply = <&sd_vcc_reg>;
50 /* Even the IP block is limited to 100 MHz
51 * this provides a throughput gain
58 gpio-line-names = "BT_ON",
69 gpios = <3 GPIO_ACTIVE_HIGH>;
70 /* internal antenna enabled */
77 gpios = <7 GPIO_ACTIVE_HIGH>;
78 /* external antenna disabled */
86 phy-mode = "rgmii-rxid";
91 phy1: ethernet-phy@0 {
92 /* No PHY interrupt */
97 /* uart0 communicates with the BT module */
99 pinctrl-names = "default";
100 pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>;
104 /* uart1 is mapped to the pin header */
106 pinctrl-names = "default";
107 pinctrl-0 = <&uart1_gpio14>;
112 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;