From f2d9a004fb28bde2b5522ec647c8483e814f65d9 Mon Sep 17 00:00:00 2001 From: Marcin Wojtas Date: Wed, 9 Aug 2017 00:51:45 +0000 Subject: [PATCH] Restore original /soc ranges on Marvell Armada 38x boards Because fdt_get_ranges can process now multiple 'ranges' entries, restoring the ranges from original Linux device trees is possible. Submitted by: Patryk Duda Reviewed by: cognet (mentor) Approved by: cognet (mentor) Obtained from: Semihalf Differential Revision: https://reviews.freebsd.org/D11877 --- sys/boot/fdt/dts/arm/armada-385-db-ap.dts | 6 +++++- sys/boot/fdt/dts/arm/armada-388-gp.dts | 6 +++++- sys/boot/fdt/dts/arm/armada-38x-solidrun-microsom.dtsi | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/sys/boot/fdt/dts/arm/armada-385-db-ap.dts b/sys/boot/fdt/dts/arm/armada-385-db-ap.dts index 503a439b82ea..77bd350ca479 100644 --- a/sys/boot/fdt/dts/arm/armada-385-db-ap.dts +++ b/sys/boot/fdt/dts/arm/armada-385-db-ap.dts @@ -60,7 +60,11 @@ }; soc { - ranges = ; + ranges = ; internal-regs { i2c0: i2c@11000 { diff --git a/sys/boot/fdt/dts/arm/armada-388-gp.dts b/sys/boot/fdt/dts/arm/armada-388-gp.dts index 4a7d4bb7ac87..207924761039 100644 --- a/sys/boot/fdt/dts/arm/armada-388-gp.dts +++ b/sys/boot/fdt/dts/arm/armada-388-gp.dts @@ -59,7 +59,11 @@ }; soc { - ranges = ; + ranges = ; internal-regs { crypto@90000 { diff --git a/sys/boot/fdt/dts/arm/armada-38x-solidrun-microsom.dtsi b/sys/boot/fdt/dts/arm/armada-38x-solidrun-microsom.dtsi index bc82f4f0d627..2595eaeefdea 100644 --- a/sys/boot/fdt/dts/arm/armada-38x-solidrun-microsom.dtsi +++ b/sys/boot/fdt/dts/arm/armada-38x-solidrun-microsom.dtsi @@ -57,7 +57,11 @@ }; soc { - ranges = ; + ranges = ; internal-regs { ethernet@70000 {