1 From 0c6baed942a4eab2d4af3625e58db03998dece60 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 7 Mar 2018 08:21:29 +0000
4 Subject: [PATCH 244/454] ARM: dts: Add model-specific compatible strings
6 The upstream Pi DTs are model-specific, with both the model and
7 compatible strings identifying the model. Downstream groups the
8 closely-related models, with only the chip name in the compatible
9 strings and a model string patched by the firmware.
11 Bring the downstream model-specific DTs closer to upstream by
12 adding model-specific compatible strings.
14 See: https://github.com/raspberrypi/firmware/issues/943
16 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
18 arch/arm/boot/dts/bcm2708-rpi-0-w.dts | 1 +
19 arch/arm/boot/dts/bcm2709-rpi-2-b.dts | 1 +
20 arch/arm/boot/dts/bcm2710-rpi-3-b.dts | 1 +
21 3 files changed, 3 insertions(+)
23 --- a/arch/arm/boot/dts/bcm2708-rpi-0-w.dts
24 +++ b/arch/arm/boot/dts/bcm2708-rpi-0-w.dts
26 #include "bcm2708.dtsi"
29 + compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
30 model = "Raspberry Pi Zero W";
33 --- a/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
34 +++ b/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
36 #include "bcm283x-rpi-smsc9514.dtsi"
39 + compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
40 model = "Raspberry Pi 2 Model B";
43 --- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
44 +++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
46 #include "bcm283x-rpi-smsc9514.dtsi"
49 + compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
50 model = "Raspberry Pi 3 Model B";