567052f0fb4420b7c175ea95cbc7895c89511a11
[oweals/openwrt.git] /
1 From 120cbbc17c917790fe523ee67a32e877e5592b93 Mon Sep 17 00:00:00 2001
2 From: Steve Pavao <stevep@korgrd.com>
3 Date: Fri, 10 Aug 2018 17:09:50 -0400
4 Subject: [PATCH] devicetree: add RPi CM3 dts to arm64; mimic the RPi
5  3B arm64 dts implementation, by referring to the actual dts file in the arm
6  directory
7
8 ---
9  arch/arm64/boot/dts/broadcom/Makefile            | 2 ++
10  arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts | 3 +++
11  2 files changed, 5 insertions(+)
12  create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts
13
14 --- a/arch/arm64/boot/dts/broadcom/Makefile
15 +++ b/arch/arm64/boot/dts/broadcom/Makefile
16 @@ -4,6 +4,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rp
17  dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-3-b.dtb
18  dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb
19  dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b-plus.dtb
20 +dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-cm3.dtb
21 +dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-cm3.dtb
22  
23  subdir-y       += northstar2
24  subdir-y       += stingray
25 --- /dev/null
26 +++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts
27 @@ -0,0 +1,3 @@
28 +#define RPI364
29 +
30 +#include "../../../../arm/boot/dts/bcm2710-rpi-cm3.dts"