summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/net/brcm,bgmac-nsp.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/net/brcm,bgmac-nsp.txt')
-rw-r--r--dts/Bindings/net/brcm,bgmac-nsp.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/dts/Bindings/net/brcm,bgmac-nsp.txt b/dts/Bindings/net/brcm,bgmac-nsp.txt
new file mode 100644
index 0000000000..022946caa7
--- /dev/null
+++ b/dts/Bindings/net/brcm,bgmac-nsp.txt
@@ -0,0 +1,24 @@
+Broadcom GMAC Ethernet Controller Device Tree Bindings
+-------------------------------------------------------------
+
+Required properties:
+ - compatible: "brcm,bgmac-nsp"
+ - reg: Address and length of the GMAC registers,
+ Address and length of the GMAC IDM registers
+ - reg-names: Names of the registers. Must have both "gmac_base" and
+ "idm_base"
+ - interrupts: Interrupt number
+
+Optional properties:
+- mac-address: See ethernet.txt file in the same directory
+
+Examples:
+
+gmac0: ethernet@18022000 {
+ compatible = "brcm,bgmac-nsp";
+ reg = <0x18022000 0x1000>,
+ <0x18110000 0x1000>;
+ reg-names = "gmac_base", "idm_base";
+ interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+};