diff mbox series

[1/1] devicetree: add RPi CM3 dts to arm64; mimic the RPi 3B arm64 dts implementation, by referring to the actual dts file in the arm directory

Message ID 1548775181-15889-2-git-send-email-paolo.pisati@canonical.com
State New
Headers show
Series build CM3 dtb if (arch=arm64) | expand

Commit Message

Paolo Pisati Jan. 29, 2019, 3:19 p.m. UTC
From: Steve Pavao <stevep@korgrd.com>

BugLink: https://bugs.launchpad.net/bugs/1813133

(cherry picked from commit 248e0f711ec517aff69b815bac7b884bd3a04679
https://github.com/raspberrypi/linux rpi-4.14.y)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
---
 arch/arm64/boot/dts/broadcom/Makefile            | 2 ++
 arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts | 3 +++
 2 files changed, 5 insertions(+)
 create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts

Comments

Stefan Bader Jan. 30, 2019, 2:30 p.m. UTC | #1
On 29.01.19 16:19, Paolo Pisati wrote:
> From: Steve Pavao <stevep@korgrd.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1813133
> 
> (cherry picked from commit 248e0f711ec517aff69b815bac7b884bd3a04679
> https://github.com/raspberrypi/linux rpi-4.14.y)
> Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
> ---
>  arch/arm64/boot/dts/broadcom/Makefile            | 2 ++
>  arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts | 3 +++
>  2 files changed, 5 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts
> 
> diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile
> index 217a0dc28ed8..d26e328824bd 100644
> --- a/arch/arm64/boot/dts/broadcom/Makefile
> +++ b/arch/arm64/boot/dts/broadcom/Makefile
> @@ -3,6 +3,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rpi-3-b.dtb
>  dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-3-b.dtb
>  dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb
>  dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b-plus.dtb
> +dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-cm3.dtb
> +dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-cm3.dtb
>  
>  # Enable fixups to support overlays on BCM2835 platforms
>  ifeq ($(CONFIG_ARCH_BCM2835),y)
> diff --git a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts
> new file mode 100644
> index 000000000000..1c2560017c02
> --- /dev/null
> +++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts
> @@ -0,0 +1,3 @@
> +#define RPI364
> +
> +#include "../../../../arm/boot/dts/bcm2710-rpi-cm3.dts"
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile
index 217a0dc28ed8..d26e328824bd 100644
--- a/arch/arm64/boot/dts/broadcom/Makefile
+++ b/arch/arm64/boot/dts/broadcom/Makefile
@@ -3,6 +3,8 @@  dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rpi-3-b.dtb
 dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-3-b.dtb
 dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb
 dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b-plus.dtb
+dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-cm3.dtb
+dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-cm3.dtb
 
 # Enable fixups to support overlays on BCM2835 platforms
 ifeq ($(CONFIG_ARCH_BCM2835),y)
diff --git a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts
new file mode 100644
index 000000000000..1c2560017c02
--- /dev/null
+++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts
@@ -0,0 +1,3 @@ 
+#define RPI364
+
+#include "../../../../arm/boot/dts/bcm2710-rpi-cm3.dts"