summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-01-03 18:36:19 +0000
committerian <ian@FreeBSD.org>2014-01-03 18:36:19 +0000
commitf99282cd01c94afd16d707b0d6d7bf873ef37f7d (patch)
treeb2e358fbbaac415313974eb18d64509148949d15
parent7402ef489749b9b9fc300d1219f14388caca38fe (diff)
downloadFreeBSD-src-f99282cd01c94afd16d707b0d6d7bf873ef37f7d.zip
FreeBSD-src-f99282cd01c94afd16d707b0d6d7bf873ef37f7d.tar.gz
Update the dockstar DTS to reflect just NAND flash (no SPI NOR flash, and
the LED specification was just misplaced). The rather odd memory mappings that were in place used an undocumented attribute value (0x0f) that caused problems with the system. Submitted by: Markus Pfeiffer <markus.pfeiffer@morphism.de>
-rw-r--r--sys/boot/fdt/dts/dockstar.dts35
1 files changed, 4 insertions, 31 deletions
diff --git a/sys/boot/fdt/dts/dockstar.dts b/sys/boot/fdt/dts/dockstar.dts
index 4698109..578fe57 100644
--- a/sys/boot/fdt/dts/dockstar.dts
+++ b/sys/boot/fdt/dts/dockstar.dts
@@ -76,44 +76,17 @@
#size-cells = <1>;
compatible = "mrvl,lbc";
- /* This reflects CPU decode windows setup. */
- ranges = <0x0 0x0f 0xf9300000 0x00100000
- 0x1 0x1e 0xfa000000 0x00100000
- 0x2 0x1d 0xfa100000 0x02000000
- 0x3 0x1b 0xfc100000 0x00000400>;
+ /* This reflects CPU decode windows setup for NAND access. */
+ ranges = <0x0 0x2f 0xf9300000 0x00100000>;
- nor@0,0 {
+ nand@0,0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "cfi-flash";
+ compatible = "mrvl,nfc";
reg = <0x0 0x0 0x00100000>;
bank-width = <2>;
device-width = <1>;
};
-
- led@1,0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "led";
- reg = <0x1 0x0 0x00100000>;
- };
-
- nor@2,0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "cfi-flash";
- reg = <0x2 0x0 0x02000000>;
- bank-width = <2>;
- device-width = <1>;
- };
-
- nand@3,0 {
- #address-cells = <1>;
- #size-cells = <1>;
- reg = <0x3 0x0 0x00100000>;
- bank-width = <2>;
- device-width = <1>;
- };
};
SOC: soc88f6281@f1000000 {
OpenPOWER on IntegriCloud