diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-03 15:00:58 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-06 16:21:15 +0200 |
commit | ed761344d2fb013f9a44fefc6a37e2d073144cf4 (patch) | |
tree | 9db3abeedc05961302e921345468a6321d38b8c4 /target/linux/ramips | |
parent | 19c8f11d92f386a5237a21ec257da7f961c17aca (diff) | |
download | upstream-ed761344d2fb013f9a44fefc6a37e2d073144cf4.tar.gz upstream-ed761344d2fb013f9a44fefc6a37e2d073144cf4.tar.bz2 upstream-ed761344d2fb013f9a44fefc6a37e2d073144cf4.zip |
ipq806x: disentangle and clean up SoC DTSI files
So far, the DTSI files on ipq806x had a linear inheritance:
qcom-ipq8064.dtsi
v
qcom-ipq8064-v1.0.dtsi
v
qcom-ipq8064-v2.0.dtsi
v
qcom-ipq8065.dtsi
This poses problems when one wants to set something that is specific
to an architecture closer to the top of the tree.
In this patch, we remove the chain-like inheritance and have all
other files derived from qcom-ipq8064.dtsi (changing this name to
something more generic is not possible due to upstream use).
The removal of inheritance will require a few entries to be copied
from qcom-ipq8064-v2.0.dtsi to qcom-ipq8065.dtsi. However, it also
opens an opportunity for some clean-up:
- Many definitions can be improved by just using the innermost labels.
- Instead of disabling the CPU_SPC node for ipq8065, it is now off by
default and enabled where needed.
- Instead of patching phy-tx0-term-offset into qcom-ipq8064.dtsi and
then having it changed for qcom-ipq8064-v2.0/qcom-ipq8065, just have
the appropriate settings done in the lower DTSI files directly.
- For the opp_table0 adjustments for ipq8065, just redefine what's
changed, but don't add all the untouched properties again.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips')
0 files changed, 0 insertions, 0 deletions