The upstream Pi DTs are model-specific, with both the model and
compatible strings identifying the model. Downstream groups the
closely-related models, with only the chip name in the compatible
strings and a model string patched by the firmware.
Bring the downstream model-specific DTs closer to upstream by
adding model-specific compatible strings.
See: https://github.com/raspberrypi/firmware/issues/943
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
(cherry picked from commit
d90929181836e8a049275d8407cff70fb93b7f17
https://github.com/raspberrypi/linux raspi/rpi-4.15.y)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
#include "bcm2708.dtsi"
/ {
+ compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
model = "Raspberry Pi Zero W";
chosen {
#include "bcm283x-rpi-smsc9514.dtsi"
/ {
+ compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
model = "Raspberry Pi 2 Model B";
};
#include "bcm283x-rpi-smsc9514.dtsi"
/ {
+ compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
model = "Raspberry Pi 3 Model B";
chosen {