summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2017-05-29 13:24:58 -0500
committerLuiz Souza <luiz@netgate.com>2017-09-06 14:14:25 -0500
commitea94ded1aaa73f986b5c26594a49f1f3d0dd6ff7 (patch)
treed2e0b571399fd167bccc017f7e1a58c1ac0d0d66 /sys/boot
parent581d4fdd7f43d631b0ebcc014eec53e546140dff (diff)
downloadFreeBSD-src-ea94ded1aaa73f986b5c26594a49f1f3d0dd6ff7.zip
FreeBSD-src-ea94ded1aaa73f986b5c26594a49f1f3d0dd6ff7.tar.gz
Make the rogue-1 DTS compatible with FreeBSD.
(cherry picked from commit dbefc7dead9e6e00b54c8f5f0c6b0e2c4bb498ab)
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/fdt/dts/arm/armada-385-80300-0148-G00-X100.dts21
1 files changed, 8 insertions, 13 deletions
diff --git a/sys/boot/fdt/dts/arm/armada-385-80300-0148-G00-X100.dts b/sys/boot/fdt/dts/arm/armada-385-80300-0148-G00-X100.dts
index e0ef189..f7f7328 100644
--- a/sys/boot/fdt/dts/arm/armada-385-80300-0148-G00-X100.dts
+++ b/sys/boot/fdt/dts/arm/armada-385-80300-0148-G00-X100.dts
@@ -1,4 +1,3 @@
-
/*
* Device Tree file for Marvell Armada 385 Access Point Development board
* (DB-88F6820-AP)
@@ -57,16 +56,11 @@
#include <dt-bindings/gpio/gpio.h>
/ {
- model = "Marvell Armada 385 Access Point Development Board";
+ model = "Netgate Rogue-1";
compatible = "marvell,a385-db-ap", "marvell,armada385", "marvell,armada380";
- aliases {
- serial0 = &uart1;
- serial1 = &uart0;
- };
-
chosen {
- stdout-path = "serial1:115200n8";
+ stdout-path = "serial0:115200n8";
};
/* This needs to be defined per variant depending on memory population */
@@ -87,12 +81,13 @@
* <0 MBUS_ID(0x09, 0x15) 0 0x800> crypto-sram1
* <0 MBUS_ID(0x0c, 0x04) 0 0x100000> bm_bppi
*
+ * ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
+ * MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
+ * MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
+ * MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000
+ * MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>;
*/
- ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
- MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
- MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
- MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000
- MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>;
+ ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
internal-regs {
/* Rogue one uses the following pin mapping:
OpenPOWER on IntegriCloud