apm821xx: dts: append SoC compatible to DTS

This patch appends the "apm,bluestone" or "amcc,apollo3g"
machine compatible string to the current device tree source.

Please note that unlike other archs the PPC DT code does
not regard the machine's compatible string as a priority
list. This is explained in the kernel's usage-model.txt as follows:
"PowerPC uses a slightly different scheme where it calls the .probe()
hook from each machine_desc, and the first one returning TRUE is used.
However, this approach does not take into account the priority of the
compatible list, and probably should be avoided for new architecture
support."

For this reason, the "apm,bluestone" compatible string can't be
added to the WNDR4700. As otherwise the target specific pci
fix-up code will get ignored and this causes the ath9k WIFI
to not get initialized.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
v19.07.3_mercusys_ac12_duma
Christian Lamparter 7 years ago committed by Mathias Kresin
parent e4a50d115f
commit 64b36fee8e

@ -16,7 +16,7 @@
/ {
model = "Meraki MR24 Access Point";
compatible = "meraki,ikarem";
compatible = "meraki,ikarem", "apm,bluestone";
aliases {
serial0 = &UART1;

@ -16,7 +16,7 @@
/ {
model = "Meraki MX60/MX60W Security Appliance";
compatible = "meraki,buckminster";
compatible = "meraki,buckminster", "apm,bluestone";
aliases {
serial0 = &UART1;

@ -14,6 +14,7 @@
#include "apollo3g.dtsi"
/ {
compatible = "wd,mybooklive-duo", "amcc,apollo3g";
model = "MyBook Live Duo";
};

@ -12,5 +12,6 @@
#include "apollo3g.dtsi"
/ {
compatible = "wd,mybooklive", "amcc,apollo3g";
model = "MyBook Live";
};

Loading…
Cancel
Save