1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Update 950-0785-ARM-dts-Add-bcm2711-rpi-cm4antrouter5g.dts.patch

This commit is contained in:
suyuan168 2022-01-05 02:14:31 +08:00
parent 16859cda61
commit 051e61d2ab

View file

@ -1,21 +1,6 @@
--- a/arch/arm/boot/dts/bcm2711-rpi-cm4.dts 2022-01-04 02:51:16.000000000 +0800
+++ b/arch/arm/boot/dts/bcm2711-rpi-cm41.dts 2022-01-04 03:10:34.000000000 +0800
@@ -6,7 +6,7 @@
/ {
compatible = "raspberrypi,4-compute-module", "brcm,bcm2711";
- model = "Raspberry Pi Compute Module 4";
+ model = "openmptcprouter5G_M4";
chosen {
/* 8250 auxiliary UART instead of pl011 */
@@ -68,18 +68,11 @@
gpio-line-names = "BT_ON",
"WL_ON",
"PWR_LED_OFF",
- "ANT1",
"VDD_SD_IO_SEL",
"CAM_GPIO",
@@ -74,12 +74,6 @@
"SD_PWR_ON",
"ANT2";
@ -28,7 +13,7 @@
ant2: ant2 {
gpio-hog;
gpios = <7 GPIO_ACTIVE_HIGH>;
@@ -108,23 +101,10 @@
@@ -108,23 +102,10 @@
"SPI_MISO",
"SPI_MOSI",
"SPI_SCLK",
@ -52,7 +37,7 @@
"RGMII_MDIO",
"RGMIO_MDC",
/* Used by BT module */
@@ -311,14 +291,9 @@
@@ -311,14 +292,9 @@
mmc2 = &sdhost;
i2c3 = &i2c3;
i2c4 = &i2c4;
@ -67,7 +52,7 @@
/delete-property/ intc;
};
@@ -341,49 +316,7 @@
@@ -341,49 +317,7 @@
pinctrl-0 = <&uart1_pins>;
};
@ -117,7 +102,7 @@
spi4_pins: spi4_pins {
brcm,pins = <5 6 7>;
brcm,function = <BCM2835_FSEL_ALT3>;
@@ -394,38 +327,12 @@
@@ -394,38 +328,12 @@
brcm,function = <BCM2835_FSEL_GPIO_OUT>;
};
@ -156,7 +141,7 @@
i2c3_pins: i2c3 {
brcm,pins = <4 5>;
brcm,function = <BCM2835_FSEL_ALT5>;
@@ -438,23 +345,6 @@
@@ -438,23 +346,6 @@
brcm,pull = <BCM2835_PUD_UP>;
};
@ -180,10 +165,11 @@
sdio_pins: sdio_pins {
brcm,pins = <34 35 36 37 38 39>;
brcm,function = <BCM2835_FSEL_ALT3>; // alt3 = SD1
@@ -498,28 +388,12 @@
@@ -497,29 +388,12 @@
brcm,function = <BCM2835_FSEL_ALT4>;
brcm,pull = <0 2>;
};
-
- uart5_pins: uart5_pins {
- brcm,pins = <12 13>;
- brcm,function = <BCM2835_FSEL_ALT4>;
@ -209,11 +195,10 @@
// =============================================
// Board specific stuff here
@@ -554,6 +428,81 @@
@@ -554,6 +428,80 @@
linux,default-trigger = "default-on";
gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
};
+
+ wlan2g {
+ label = "wlan2g";
+ gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
@ -291,7 +276,7 @@
};
&pwm1 {
@@ -583,21 +532,6 @@
@@ -583,21 +531,6 @@
eth_led0 = <&phy1>,"led-modes:0";
eth_led1 = <&phy1>,"led-modes:4";