mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-05 13:51:45 +00:00
Fix OPi Zero+2 MMC 0 configuration in DT
This commit is contained in:
parent
4fc19b3284
commit
66b088ff7e
1 changed files with 13 additions and 0 deletions
13
patch/kernel/sun50i-dev/fix-zeroplus2-mmc0-cd-polarity.patch
Normal file
13
patch/kernel/sun50i-dev/fix-zeroplus2-mmc0-cd-polarity.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
||||
index b6b7a561..a42fd79a 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
||||
@@ -71,7 +71,7 @@
|
||||
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
|
||||
vmmc-supply = <®_vcc3v3>;
|
||||
bus-width = <4>;
|
||||
- cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
|
||||
+ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
|
||||
status = "okay";
|
||||
};
|
||||
|
Loading…
Add table
Reference in a new issue