mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Update bcm2711-rpi-cm4.dts
This commit is contained in:
parent
14dbfa1607
commit
334a3b1cb4
1 changed files with 23 additions and 80 deletions
|
@ -1,9 +1,8 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
#include "bcm2711.dtsi"
|
#include "bcm2711.dtsi"
|
||||||
#include "bcm2835-rpi.dtsi"
|
#include "bcm2711-rpi.dtsi"
|
||||||
|
//#include "bcm283x-rpi-usb-peripheral.dtsi"
|
||||||
#include <dt-bindings/reset/raspberrypi,firmware-reset.h>
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "raspberrypi,4-compute-module", "brcm,bcm2711";
|
compatible = "raspberrypi,4-compute-module", "brcm,bcm2711";
|
||||||
|
@ -14,19 +13,6 @@
|
||||||
stdout-path = "serial1:115200n8";
|
stdout-path = "serial1:115200n8";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Will be filled by the bootloader */
|
|
||||||
memory@0 {
|
|
||||||
device_type = "memory";
|
|
||||||
reg = <0 0 0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
aliases {
|
|
||||||
emmc2bus = &emmc2bus;
|
|
||||||
ethernet0 = &genet;
|
|
||||||
pcie0 = &pcie0;
|
|
||||||
blconfig = &blconfig;
|
|
||||||
};
|
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
led-act {
|
led-act {
|
||||||
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -54,8 +40,8 @@
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
regulator-settling-time-us = <5000>;
|
regulator-settling-time-us = <5000>;
|
||||||
gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>;
|
gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>;
|
||||||
states = <1800000 0x1
|
states = <1800000 0x1>,
|
||||||
3300000 0x0>;
|
<3300000 0x0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -78,16 +64,7 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&firmware {
|
&expgpio {
|
||||||
firmware_clocks: clocks {
|
|
||||||
compatible = "raspberrypi,firmware-clocks";
|
|
||||||
#clock-cells = <1>;
|
|
||||||
};
|
|
||||||
|
|
||||||
expgpio: gpio {
|
|
||||||
compatible = "raspberrypi,firmware-gpio";
|
|
||||||
gpio-controller;
|
|
||||||
#gpio-cells = <2>;
|
|
||||||
gpio-line-names = "BT_ON",
|
gpio-line-names = "BT_ON",
|
||||||
"WL_ON",
|
"WL_ON",
|
||||||
"PWR_LED_OFF",
|
"PWR_LED_OFF",
|
||||||
|
@ -96,7 +73,6 @@
|
||||||
"CAM_GPIO",
|
"CAM_GPIO",
|
||||||
"SD_PWR_ON",
|
"SD_PWR_ON",
|
||||||
"ANT2";
|
"ANT2";
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
ant1: ant1 {
|
ant1: ant1 {
|
||||||
gpio-hog;
|
gpio-hog;
|
||||||
|
@ -109,12 +85,6 @@
|
||||||
gpios = <7 GPIO_ACTIVE_HIGH>;
|
gpios = <7 GPIO_ACTIVE_HIGH>;
|
||||||
output-low;
|
output-low;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
reset: reset {
|
|
||||||
compatible = "raspberrypi,firmware-reset";
|
|
||||||
#reset-cells = <1>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&gpio {
|
&gpio {
|
||||||
|
@ -191,23 +161,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
&hdmi0 {
|
&hdmi0 {
|
||||||
clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 0>, <&clk_27MHz>;
|
|
||||||
clock-names = "hdmi", "bvb", "audio", "cec";
|
|
||||||
wifi-2.4ghz-coexistence;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&hdmi1 {
|
&hdmi1 {
|
||||||
clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>;
|
|
||||||
clock-names = "hdmi", "bvb", "audio", "cec";
|
|
||||||
wifi-2.4ghz-coexistence;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&hvs {
|
|
||||||
clocks = <&firmware_clocks 4>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&pixelvalve0 {
|
&pixelvalve0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -230,22 +190,6 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&rmem {
|
|
||||||
/*
|
|
||||||
* RPi4's co-processor will copy the board's bootloader configuration
|
|
||||||
* into memory for the OS to consume. It'll also update this node with
|
|
||||||
* its placement information.
|
|
||||||
*/
|
|
||||||
blconfig: nvram@0 {
|
|
||||||
compatible = "raspberrypi,bootloader-config", "nvmem-rmem";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
reg = <0x0 0x0 0x0>;
|
|
||||||
no-map;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
/* SDHCI is used to control the SDIO for wireless */
|
/* SDHCI is used to control the SDIO for wireless */
|
||||||
&sdhci {
|
&sdhci {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
@ -353,7 +297,6 @@
|
||||||
#include "bcm283x-rpi-csi0-2lane.dtsi"
|
#include "bcm283x-rpi-csi0-2lane.dtsi"
|
||||||
#include "bcm283x-rpi-csi1-4lane.dtsi"
|
#include "bcm283x-rpi-csi1-4lane.dtsi"
|
||||||
#include "bcm283x-rpi-i2c0mux_0_44.dtsi"
|
#include "bcm283x-rpi-i2c0mux_0_44.dtsi"
|
||||||
#include "bcm283x-rpi-cam1-regulator.dtsi"
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
chosen {
|
chosen {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue