From 3e32a4fc4bc81175c2736ea9dd1ddc5dc8d1562f Mon Sep 17 00:00:00 2001 From: suyuan168 <175338101@qq.com> Date: Fri, 3 Jun 2022 17:19:05 +0800 Subject: [PATCH] Revert "Update 950-0785-ARM-dts-Add-bcm2711-rpi-cm4.dts.patch" This reverts commit b98199ed76eaacc079de9fd96bc0777d159b9e41. --- ...0785-ARM-dts-Add-bcm2711-rpi-cm4.dts.patch | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) 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 aa700b5b..6c79351f 100755 --- 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 @@ -299,12 +299,33 @@ Signed-off-by: Phil Elwell + brcm,function = ; + }; + ++ spi3_pins: spi3_pins { ++ brcm,pins = <1 2>; ++ brcm,function = ; ++ }; ++ ++ spi4_pins: spi4_pins { ++ brcm,pins = <5 7>; ++ brcm,function = ; ++ }; ++ ++ spi4_cs_pins: spi4_cs_pins { ++ brcm,pins = <4 25>; ++ brcm,function = ; ++ }; ++ + i2c0_pins: i2c0 { + brcm,pins = <0 1>; + brcm,function = ; + brcm,pull = ; + }; + ++ i2c4_pins: i2c4 { ++ brcm,pins = <8>; ++ brcm,function = ; ++ brcm,pull = ; ++ }; ++ + sdio_pins: sdio_pins { + brcm,pins = <34 35 36 37 38 39>; + brcm,function = ; // alt3 = SD1 @@ -342,6 +363,11 @@ Signed-off-by: Phil Elwell + brcm,pull = <0 2>; + }; + ++ uart4_pins: uart4_pins { ++ brcm,pins = <8>; ++ brcm,function = ; ++ brcm,pull = <0 2>; ++ }; +}; + +&i2c0if { @@ -351,6 +377,18 @@ Signed-off-by: Phil Elwell +// ============================================= +// Board specific stuff here + ++/ { ++ sd_vcc_reg: sd_vcc_reg { ++ compatible = "regulator-fixed"; ++ regulator-name = "vcc-sd"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-boot-on; ++ enable-active-high; ++ ++ }; ++}; ++ +&sdhost { + status = "disabled"; +};