mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
up 20
This commit is contained in:
parent
c9ba96c494
commit
28a84e2b3d
179 changed files with 347 additions and 12649 deletions
0
root/target/linux/mediatek/patches-5.4/0004-mediatek-fix-packet-corruption-on-bridged-interface.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0004-mediatek-fix-packet-corruption-on-bridged-interface.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0006-dts-fix-bpi2-console.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0006-dts-fix-bpi2-console.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0103-net-support-net-labels.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0103-net-support-net-labels.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0110-rtc-mt6397.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0110-rtc-mt6397.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0111-mt6323-poweroff.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0111-mt6323-poweroff.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0112-dts-mt6323-add-key-rtc-power.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0112-dts-mt6323-add-key-rtc-power.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0170-dts-mt7623-add-display.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0170-dts-mt7623-add-display.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0171-dts-mt7623-add-mali450.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0171-dts-mt7623-add-mali450.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0180-lima-power-on-off.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0180-lima-power-on-off.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0181-drm-Add-get_possible_crtc.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0181-drm-Add-get_possible_crtc.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0182-drm-change-possible_crtc.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0182-drm-change-possible_crtc.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0183-drm-fix-DRM_INFO.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0183-drm-fix-DRM_INFO.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0184-drm-config-component-output.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0184-drm-config-component-output.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0185-drm-fix-boot-up.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0185-drm-fix-boot-up.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0190-thermal-add-sensor.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0190-thermal-add-sensor.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0191-thermal.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0191-thermal.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0999-lan-to-wan.patch
Normal file → Executable file
0
root/target/linux/mediatek/patches-5.4/0999-lan-to-wan.patch
Normal file → Executable file
|
|
@ -1,80 +0,0 @@
|
|||
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
||||
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
||||
@@ -279,14 +279,14 @@
|
||||
&pcie1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcie1_pins>;
|
||||
- status = "okay";
|
||||
+ status = "disabled";
|
||||
};
|
||||
|
||||
&pio {
|
||||
/* Attention: GPIO 90 is used to switch between PCIe@1,0 and
|
||||
* SATA functions. i.e. output-high: PCIe, output-low: SATA
|
||||
*/
|
||||
- asm_sel {
|
||||
+ asmsel: asm_sel {
|
||||
gpio-hog;
|
||||
gpios = <90 GPIO_ACTIVE_HIGH>;
|
||||
output-high;
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64-sata.dts
|
||||
@@ -0,0 +1,31 @@
|
||||
+/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
|
||||
+
|
||||
+#include <dt-bindings/gpio/gpio.h>
|
||||
+
|
||||
+/dts-v1/;
|
||||
+/plugin/;
|
||||
+
|
||||
+/ {
|
||||
+ compatible = "bananapi,bpi-r64", "mediatek,mt7622";
|
||||
+
|
||||
+ fragment@0 {
|
||||
+ target = <&asmsel>;
|
||||
+ __overlay__ {
|
||||
+ gpios = <90 GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ fragment@1 {
|
||||
+ target = <&sata>;
|
||||
+ __overlay__ {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ fragment@2 {
|
||||
+ target = <&sata_phy>;
|
||||
+ __overlay__ {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64-pcie1.dts
|
||||
@@ -0,0 +1,24 @@
|
||||
+/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
|
||||
+
|
||||
+#include <dt-bindings/gpio/gpio.h>
|
||||
+
|
||||
+/dts-v1/;
|
||||
+/plugin/;
|
||||
+
|
||||
+/ {
|
||||
+ compatible = "bananapi,bpi-r64", "mediatek,mt7622";
|
||||
+
|
||||
+ fragment@0 {
|
||||
+ target = <&asmsel>;
|
||||
+ __overlay__ {
|
||||
+ gpios = <90 GPIO_ACTIVE_HIGH>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ fragment@1 {
|
||||
+ target = <&pcie1>;
|
||||
+ __overlay__ {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
Loading…
Add table
Add a link
Reference in a new issue