arm64: dts: qcom: sc7280: Factor out Chrome common fragment
authorDouglas Anderson <dianders@chromium.org>
Tue, 25 Jan 2022 22:44:20 +0000 (14:44 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 Jan 2022 20:47:31 +0000 (14:47 -0600)
commit90c856602e0346ce9ff234062e86a198d71fa723
tree15bae7f40767379ef8476cb7740310f74bdf3f24
parent61a6262f95e0c400baee59ced0721f49ffca604c
arm64: dts: qcom: sc7280: Factor out Chrome common fragment

This factors out a device tree fragment from some sc7280 device
trees. It represents the device tree bits that should be included for
"Chrome" based sc7280 boards. On these boards the bootloader (Coreboot
+ Depthcharge) configures things slightly different than the
bootloader that Qualcomm provides. The modem firmware on these boards
also works differently than on other Qulacomm products and thus the
reserved memory map needs to be adjusted.

NOTES:
- This is _not_ quite a no-op change. The "herobrine" and "idp"
  fragments here were different and it looks like someone simply
  forgot to update the herobrine version. This updates a few numbers
  to match IDP. This will also cause the `pmk8350_pon` to be disabled
  on idp/crd, which I belive is a correct change.
- At the moment this assumes LTE skus. Once it's clearer how WiFi SKUs
  will work (how much of the memory map they can reclaim) we may add
  an extra fragment that will rejigger one way or the other.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220125144316.v2.3.Iac012fa8d727be46448d47027a1813ea716423ce@changeid
arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi