mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
53 lines
1.6 KiB
Diff
53 lines
1.6 KiB
Diff
|
From 0c6baed942a4eab2d4af3625e58db03998dece60 Mon Sep 17 00:00:00 2001
|
||
|
From: Phil Elwell <phil@raspberrypi.org>
|
||
|
Date: Wed, 7 Mar 2018 08:21:29 +0000
|
||
|
Subject: [PATCH 244/454] ARM: dts: Add model-specific compatible strings
|
||
|
|
||
|
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>
|
||
|
---
|
||
|
arch/arm/boot/dts/bcm2708-rpi-0-w.dts | 1 +
|
||
|
arch/arm/boot/dts/bcm2709-rpi-2-b.dts | 1 +
|
||
|
arch/arm/boot/dts/bcm2710-rpi-3-b.dts | 1 +
|
||
|
3 files changed, 3 insertions(+)
|
||
|
|
||
|
--- a/arch/arm/boot/dts/bcm2708-rpi-0-w.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm2708-rpi-0-w.dts
|
||
|
@@ -3,6 +3,7 @@
|
||
|
#include "bcm2708.dtsi"
|
||
|
|
||
|
/ {
|
||
|
+ compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
|
||
|
model = "Raspberry Pi Zero W";
|
||
|
|
||
|
chosen {
|
||
|
--- a/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
|
||
|
@@ -4,6 +4,7 @@
|
||
|
#include "bcm283x-rpi-smsc9514.dtsi"
|
||
|
|
||
|
/ {
|
||
|
+ compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
|
||
|
model = "Raspberry Pi 2 Model B";
|
||
|
};
|
||
|
|
||
|
--- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
|
||
|
@@ -8,6 +8,7 @@
|
||
|
#include "bcm283x-rpi-smsc9514.dtsi"
|
||
|
|
||
|
/ {
|
||
|
+ compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
|
||
|
model = "Raspberry Pi 3 Model B";
|
||
|
|
||
|
chosen {
|