Author: zbb
Date: Thu Jan  5 17:12:53 2017
New Revision: 311450
URL: https://svnweb.freebsd.org/changeset/base/311450

Log:
  Add buffer management entries to armada-38x.dtsi
  
  Hardware buffer management entries are not used yet by FreeBSD.
  They were added for compliance with Linux Armada 38x device tree
  representation and will be used in future network support.
  
  Submitted by:  Bartosz Szczepanek <b...@semihalf.com>
  Obtained from: Semihalf
  Sponsored by:  Stormshield
  Differential revision: https://reviews.freebsd.org/D8179

Modified:
  head/sys/boot/fdt/dts/arm/armada-38x.dtsi

Modified: head/sys/boot/fdt/dts/arm/armada-38x.dtsi
==============================================================================
--- head/sys/boot/fdt/dts/arm/armada-38x.dtsi   Thu Jan  5 17:10:52 2017        
(r311449)
+++ head/sys/boot/fdt/dts/arm/armada-38x.dtsi   Thu Jan  5 17:12:53 2017        
(r311450)
@@ -562,6 +562,14 @@
                                status = "disabled";
                        };
 
+                       bm: bm@c8000 {
+                               compatible = "marvell,armada-380-neta-bm";
+                               reg = <0xc8000 0xac>;
+                               clocks = <&gateclk 13>;
+                               internal-mem = <&bm_bppi>;
+                               status = "disabled";
+                       };
+
                        sata@e0000 {
                                compatible = "marvell,armada-380-ahci";
                                reg = <0xe0000 0x2000>;
@@ -622,6 +630,17 @@
                                status = "disabled";
                        };
                };
+
+               bm_bppi: bm-bppi {
+                       compatible = "mmio-sram";
+                       reg = <MBUS_ID(0x0c, 0x04) 0 0x100000>;
+                       ranges = <0 MBUS_ID(0x0c, 0x04) 0 0x100000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       clocks = <&gateclk 13>;
+                       no-memory-wc;
+                       status = "disabled";
+               };
        };
 
        pci0: pcie@f1080000 {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to