openwrt/target/linux/brcm2708/patches-4.19/950-0775-arm-dts-add-missing-Raspberry-Pi-model-names.patch
Álvaro Fernández Rojas 662394fb30 brcm2708: update to latest patches from RPi foundation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2019-09-04 19:02:48 +02:00

59 lines
1.7 KiB
Diff

From 88a6d7ef75a5f52a7a116d04d23f508f85375884 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
Date: Thu, 29 Aug 2019 16:26:22 +0200
Subject: [PATCH 775/782] arm: dts: add missing Raspberry Pi model names
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This is needed to identify the different models on distributions like OpenWrt.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 1 +
arch/arm/boot/dts/bcm2708-rpi-b.dts | 1 +
arch/arm/boot/dts/bcm2708-rpi-cm.dts | 1 +
arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 1 +
4 files changed, 4 insertions(+)
--- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
@@ -6,6 +6,7 @@
#include "bcm283x-rpi-csi1-2lane.dtsi"
/ {
+ compatible = "raspberrypi,model-b-plus", "brcm,bcm2835";
model = "Raspberry Pi Model B+";
};
--- a/arch/arm/boot/dts/bcm2708-rpi-b.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts
@@ -6,6 +6,7 @@
#include "bcm283x-rpi-csi1-2lane.dtsi"
/ {
+ compatible = "raspberrypi,model-b", "brcm,bcm2835";
model = "Raspberry Pi Model B";
};
--- a/arch/arm/boot/dts/bcm2708-rpi-cm.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dts
@@ -5,6 +5,7 @@
#include "bcm283x-rpi-csi1-4lane.dtsi"
/ {
+ compatible = "raspberrypi,compute-module", "brcm,bcm2835";
model = "Raspberry Pi Compute Module";
};
--- a/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
+++ b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
@@ -6,6 +6,7 @@
#include "bcm283x-rpi-csi1-4lane.dtsi"
/ {
+ compatible = "raspberrypi,3-compute-module", "brcm,bcm2837";
model = "Raspberry Pi Compute Module 3";
};