mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
659f4a13dd
With Linux 6.1 many of our downstream patches and out-of-tree files can be removed or at least replaced by backported upstream commits. Signed-off-by: Daniel Golle <daniel@makrotopia.org> [fix CMDLINE_OVERRIDE for arm64] Signed-off-by: Bjørn Mork <bjorn@mork.no>
62 lines
1.8 KiB
Diff
62 lines
1.8 KiB
Diff
From 2cd6022800d6da7822e169f3e6f7f790c1431445 Mon Sep 17 00:00:00 2001
|
|
From: Matthias Brugger <mbrugger@suse.com>
|
|
Date: Mon, 14 Nov 2022 13:16:53 +0100
|
|
Subject: [PATCH 05/19] arm64: dts: mediatek: mt7986: Add SoC compatible
|
|
|
|
Missing SoC compatible in the board file causes dt bindings check.
|
|
|
|
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
|
|
Link: https://lore.kernel.org/r/20221114121653.14739-1-matthias.bgg@kernel.org
|
|
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 2 +-
|
|
arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 1 +
|
|
arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts | 2 +-
|
|
arch/arm64/boot/dts/mediatek/mt7986b.dtsi | 3 +++
|
|
4 files changed, 6 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
|
|
@@ -9,7 +9,7 @@
|
|
|
|
/ {
|
|
model = "MediaTek MT7986a RFB";
|
|
- compatible = "mediatek,mt7986a-rfb";
|
|
+ compatible = "mediatek,mt7986a-rfb", "mediatek,mt7986a";
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
|
|
@@ -10,6 +10,7 @@
|
|
#include <dt-bindings/reset/mt7986-resets.h>
|
|
|
|
/ {
|
|
+ compatible = "mediatek,mt7986a";
|
|
interrupt-parent = <&gic>;
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
|
|
@@ -9,7 +9,7 @@
|
|
|
|
/ {
|
|
model = "MediaTek MT7986b RFB";
|
|
- compatible = "mediatek,mt7986b-rfb";
|
|
+ compatible = "mediatek,mt7986b-rfb", "mediatek,mt7986b";
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7986b.dtsi
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986b.dtsi
|
|
@@ -5,6 +5,9 @@
|
|
*/
|
|
|
|
#include "mt7986a.dtsi"
|
|
+/ {
|
|
+ compatible = "mediatek,mt7986b";
|
|
+};
|
|
|
|
&pio {
|
|
compatible = "mediatek,mt7986b-pinctrl";
|