From cb3a5b54e71f25b71bd94b5ae11248b204b3acc8 Mon Sep 17 00:00:00 2001 From: suyuan <175338101@qq.com> Date: Fri, 12 Nov 2021 22:27:33 +0800 Subject: [PATCH] Update 950-0785-ARM-dts-Add-bcm2711-rpi-cm4.dts.patch --- ...0785-ARM-dts-Add-bcm2711-rpi-cm4.dts.patch | 125 +++++++++--------- 1 file changed, 64 insertions(+), 61 deletions(-) diff --git a/root/target/linux/bcm27xx/patches-5.4/950-0785-ARM-dts-Add-bcm2711-rpi-cm4.dts.patch b/root/target/linux/bcm27xx/patches-5.4/950-0785-ARM-dts-Add-bcm2711-rpi-cm4.dts.patch index fa6837b4..60658136 100644 --- a/root/target/linux/bcm27xx/patches-5.4/950-0785-ARM-dts-Add-bcm2711-rpi-cm4.dts.patch +++ b/root/target/linux/bcm27xx/patches-5.4/950-0785-ARM-dts-Add-bcm2711-rpi-cm4.dts.patch @@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell alpine-db.dtb --- /dev/null +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4.dts -@@ -0,0 +1,586 @@ +@@ -0,0 +1,589 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "bcm2711.dtsi" @@ -61,6 +61,69 @@ Signed-off-by: Phil Elwell + label = "PWR"; + gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; + }; ++ ++ wlan2g { ++ label = "blue:wlan2g"; ++ gpios = <&gpio 17 GPIO_ACTIVE_LOW>; ++ }; ++ ++ wlan5g { ++ label = "bule:wlan5g"; ++ gpios = <&gpio 3 GPIO_ACTIVE_LOW>; ++ }; ++ ++ wan { ++ label = "bule:wan"; ++ gpios = <&gpio 27 GPIO_ACTIVE_LOW>; ++ }; ++ 5g1 { ++ label = "bule:5g1"; ++ gpios = <&gpio 21 GPIO_ACTIVE_LOW>; ++ }; ++ 5g2 { ++ label = "bule:5g2"; ++ gpios = <&gpio 20 GPIO_ACTIVE_LOW>; ++ }; ++ 5g3 { ++ label = "bule:5g3"; ++ gpios = <&gpio 16 GPIO_ACTIVE_LOW>; ++ }; ++ 5g4 { ++ label = "bule:5g4"; ++ gpios = <&gpio 12 GPIO_ACTIVE_LOW>; ++ }; ++ 5g5 { ++ label = "bule:5g5"; ++ gpios = <&gpio 10 GPIO_ACTIVE_LOW>; ++ }; ++ 5g6 { ++ label = "bule:5g6"; ++ gpios = <&gpio 22 GPIO_ACTIVE_LOW>; ++ }; ++ 5gpwr1 { ++ label = "bule:5gpwr1"; ++ gpios = <&gpio 26 GPIO_ACTIVE_LOW>; ++ }; ++ 5gpwr2 { ++ label = "bule:5gpwr2"; ++ gpios = <&gpio 19 GPIO_ACTIVE_LOW>; ++ }; ++ 5gpwr3 { ++ label = "bule:5gpwr3"; ++ gpios = <&gpio 13 GPIO_ACTIVE_LOW>; ++ }; ++ 5gpwr4 { ++ label = "bule:5gpwr4"; ++ gpios = <&gpio 24 GPIO_ACTIVE_LOW>; ++ }; ++ 5gpwr5 { ++ label = "bule:5gpwr5"; ++ gpios = <&gpio 23 GPIO_ACTIVE_LOW>; ++ }; ++ 5gpwr6 { ++ label = "bule:5gpwr6"; ++ gpios = <&gpio 18 GPIO_ACTIVE_LOW>; ++ }; + }; + + wifi_pwrseq: wifi-pwrseq { @@ -323,11 +386,6 @@ Signed-off-by: Phil Elwell +}; + +&gpio { -+ spi0_pins: spi0_pins { -+ brcm,pins = <9 10 11>; -+ brcm,function = ; -+ }; -+ + spi0_cs_pins: spi0_cs_pins { + brcm,pins = <8 7>; + brcm,function = ; @@ -338,11 +396,6 @@ Signed-off-by: Phil Elwell + brcm,function = ; + }; + -+ spi3_cs_pins: spi3_cs_pins { -+ brcm,pins = <0 24>; -+ brcm,function = ; -+ }; -+ + spi4_pins: spi4_pins { + brcm,pins = <5 6 7>; + brcm,function = ; @@ -358,62 +411,18 @@ Signed-off-by: Phil Elwell + brcm,function = ; + }; + -+ spi5_cs_pins: spi5_cs_pins { -+ brcm,pins = <12 26>; -+ brcm,function = ; -+ }; -+ -+ spi6_pins: spi6_pins { -+ brcm,pins = <19 20 21>; -+ brcm,function = ; -+ }; -+ -+ spi6_cs_pins: spi6_cs_pins { -+ brcm,pins = <18 27>; -+ brcm,function = ; -+ }; -+ + i2c0_pins: i2c0 { + brcm,pins = <0 1>; + brcm,function = ; + brcm,pull = ; + }; + -+ i2c1_pins: i2c1 { -+ brcm,pins = <2 3>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c3_pins: i2c3 { -+ brcm,pins = <4 5>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ + i2c4_pins: i2c4 { + brcm,pins = <8 9>; + brcm,function = ; + brcm,pull = ; + }; + -+ i2c5_pins: i2c5 { -+ brcm,pins = <12 13>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c6_pins: i2c6 { -+ brcm,pins = <22 23>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2s_pins: i2s { -+ brcm,pins = <18 19 20 21>; -+ brcm,function = ; -+ }; -+ + sdio_pins: sdio_pins { + brcm,pins = <34 35 36 37 38 39>; + brcm,function = ; // alt3 = SD1 @@ -456,12 +465,6 @@ Signed-off-by: Phil Elwell + brcm,function = ; + brcm,pull = <0 2>; + }; -+ -+ uart5_pins: uart5_pins { -+ brcm,pins = <12 13>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; +}; + +&i2c0if {