[source] ramips: fix Omega2 compatible string

LEDE Commits lede-commits at lists.infradead.org
Fri Dec 29 13:38:41 PST 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/4dd51788dd2fad52dc328ea08ff118a42f6dfa54

commit 4dd51788dd2fad52dc328ea08ff118a42f6dfa54
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Wed Dec 27 21:56:07 2017 +0100

    ramips: fix Omega2 compatible string
    
    Change the compatibel from Omega to Omega2 and add the compatible string
    where missing.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/ramips/dts/OMEGA2.dts  | 1 +
 target/linux/ramips/dts/OMEGA2.dtsi | 2 +-
 target/linux/ramips/dts/OMEGA2P.dts | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/target/linux/ramips/dts/OMEGA2.dts b/target/linux/ramips/dts/OMEGA2.dts
index f419dc9..25cc818 100644
--- a/target/linux/ramips/dts/OMEGA2.dts
+++ b/target/linux/ramips/dts/OMEGA2.dts
@@ -3,6 +3,7 @@
 #include "OMEGA2.dtsi"
 
 / {
+	compatible = "onion,omega2", "mediatek,mt7628an-soc";
 	model = "Onion Omega2";
 
 	memory at 0 {
diff --git a/target/linux/ramips/dts/OMEGA2.dtsi b/target/linux/ramips/dts/OMEGA2.dtsi
index 132df58..73a6908 100644
--- a/target/linux/ramips/dts/OMEGA2.dtsi
+++ b/target/linux/ramips/dts/OMEGA2.dtsi
@@ -4,7 +4,7 @@
 #include <dt-bindings/input/input.h>
 
 / {
-	compatible = "onion,omega", "mediatek,mt7628an-soc";
+	compatible = "onion,omega2", "mediatek,mt7628an-soc";
 
 	chosen {
 		bootargs = "console=ttyS0,115200";
diff --git a/target/linux/ramips/dts/OMEGA2P.dts b/target/linux/ramips/dts/OMEGA2P.dts
index a49d94c..53e8377 100644
--- a/target/linux/ramips/dts/OMEGA2P.dts
+++ b/target/linux/ramips/dts/OMEGA2P.dts
@@ -3,6 +3,7 @@
 #include "OMEGA2.dtsi"
 
 / {
+	compatible = "onion,omega2p", "onion,omega2", "mediatek,mt7628an-soc";
 	model = "Onion Omega2+";
 
 	memory at 0 {



More information about the lede-commits mailing list