diff options
Diffstat (limited to 'Documentation/devicetree/bindings')
10 files changed, 194 insertions, 11 deletions
diff --git a/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt b/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt index d01ed63d3ebb..42409bfe04c4 100644 --- a/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt +++ b/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt | |||
@@ -8,10 +8,16 @@ Required properties: | |||
8 | - SerDes integration registers (1/2) | 8 | - SerDes integration registers (1/2) |
9 | - SerDes integration registers (2/2) | 9 | - SerDes integration registers (2/2) |
10 | 10 | ||
11 | Optional properties: | ||
12 | - amd,speed-set: Speed capabilities of the device | ||
13 | 0 - 1GbE and 10GbE (default) | ||
14 | 1 - 2.5GbE and 10GbE | ||
15 | |||
11 | Example: | 16 | Example: |
12 | xgbe_phy@e1240800 { | 17 | xgbe_phy@e1240800 { |
13 | compatible = "amd,xgbe-phy-seattle-v1a", "ethernet-phy-ieee802.3-c45"; | 18 | compatible = "amd,xgbe-phy-seattle-v1a", "ethernet-phy-ieee802.3-c45"; |
14 | reg = <0 0xe1240800 0 0x00400>, | 19 | reg = <0 0xe1240800 0 0x00400>, |
15 | <0 0xe1250000 0 0x00060>, | 20 | <0 0xe1250000 0 0x00060>, |
16 | <0 0xe1250080 0 0x00004>; | 21 | <0 0xe1250080 0 0x00004>; |
22 | amd,speed-set = <0>; | ||
17 | }; | 23 | }; |
diff --git a/Documentation/devicetree/bindings/net/amd-xgbe.txt b/Documentation/devicetree/bindings/net/amd-xgbe.txt index ea0c7908a3b8..41354f730beb 100644 --- a/Documentation/devicetree/bindings/net/amd-xgbe.txt +++ b/Documentation/devicetree/bindings/net/amd-xgbe.txt | |||
@@ -8,16 +8,21 @@ Required properties: | |||
8 | - interrupt-parent: Should be the phandle for the interrupt controller | 8 | - interrupt-parent: Should be the phandle for the interrupt controller |
9 | that services interrupts for this device | 9 | that services interrupts for this device |
10 | - interrupts: Should contain the amd-xgbe interrupt | 10 | - interrupts: Should contain the amd-xgbe interrupt |
11 | - clocks: Should be the DMA clock for the amd-xgbe device (used for | 11 | - clocks: |
12 | calculating the correct Rx interrupt watchdog timer value on a DMA | 12 | - DMA clock for the amd-xgbe device (used for calculating the |
13 | channel for coalescing) | 13 | correct Rx interrupt watchdog timer value on a DMA channel |
14 | - clock-names: Should be the name of the DMA clock, "dma_clk" | 14 | for coalescing) |
15 | - PTP clock for the amd-xgbe device | ||
16 | - clock-names: Should be the names of the clocks | ||
17 | - "dma_clk" for the DMA clock | ||
18 | - "ptp_clk" for the PTP clock | ||
15 | - phy-handle: See ethernet.txt file in the same directory | 19 | - phy-handle: See ethernet.txt file in the same directory |
16 | - phy-mode: See ethernet.txt file in the same directory | 20 | - phy-mode: See ethernet.txt file in the same directory |
17 | 21 | ||
18 | Optional properties: | 22 | Optional properties: |
19 | - mac-address: mac address to be assigned to the device. Can be overridden | 23 | - mac-address: mac address to be assigned to the device. Can be overridden |
20 | by UEFI. | 24 | by UEFI. |
25 | - dma-coherent: Present if dma operations are coherent | ||
21 | 26 | ||
22 | Example: | 27 | Example: |
23 | xgbe@e0700000 { | 28 | xgbe@e0700000 { |
@@ -26,8 +31,8 @@ Example: | |||
26 | <0 0xe0780000 0 0x80000>; | 31 | <0 0xe0780000 0 0x80000>; |
27 | interrupt-parent = <&gic>; | 32 | interrupt-parent = <&gic>; |
28 | interrupts = <0 325 4>; | 33 | interrupts = <0 325 4>; |
29 | clocks = <&xgbe_clk>; | 34 | clocks = <&xgbe_dma_clk>, <&xgbe_ptp_clk>; |
30 | clock-names = "dma_clk"; | 35 | clock-names = "dma_clk", "ptp_clk"; |
31 | phy-handle = <&phy>; | 36 | phy-handle = <&phy>; |
32 | phy-mode = "xgmii"; | 37 | phy-mode = "xgmii"; |
33 | mac-address = [ 02 a1 a2 a3 a4 a5 ]; | 38 | mac-address = [ 02 a1 a2 a3 a4 a5 ]; |
diff --git a/Documentation/devicetree/bindings/net/broadcom-systemport.txt b/Documentation/devicetree/bindings/net/broadcom-systemport.txt index c183ea90d9bc..aa7ad622259d 100644 --- a/Documentation/devicetree/bindings/net/broadcom-systemport.txt +++ b/Documentation/devicetree/bindings/net/broadcom-systemport.txt | |||
@@ -4,7 +4,8 @@ Required properties: | |||
4 | - compatible: should be one of "brcm,systemport-v1.00" or "brcm,systemport" | 4 | - compatible: should be one of "brcm,systemport-v1.00" or "brcm,systemport" |
5 | - reg: address and length of the register set for the device. | 5 | - reg: address and length of the register set for the device. |
6 | - interrupts: interrupts for the device, first cell must be for the the rx | 6 | - interrupts: interrupts for the device, first cell must be for the the rx |
7 | interrupts, and the second cell should be for the transmit queues | 7 | interrupts, and the second cell should be for the transmit queues. An |
8 | optional third interrupt cell for Wake-on-LAN can be specified | ||
8 | - local-mac-address: Ethernet MAC address (48 bits) of this adapter | 9 | - local-mac-address: Ethernet MAC address (48 bits) of this adapter |
9 | - phy-mode: Should be a string describing the PHY interface to the | 10 | - phy-mode: Should be a string describing the PHY interface to the |
10 | Ethernet switch/PHY, see Documentation/devicetree/bindings/net/ethernet.txt | 11 | Ethernet switch/PHY, see Documentation/devicetree/bindings/net/ethernet.txt |
diff --git a/Documentation/devicetree/bindings/net/davinci-mdio.txt b/Documentation/devicetree/bindings/net/davinci-mdio.txt index 72efaaf764f7..0369e25aabd2 100644 --- a/Documentation/devicetree/bindings/net/davinci-mdio.txt +++ b/Documentation/devicetree/bindings/net/davinci-mdio.txt | |||
@@ -1,8 +1,8 @@ | |||
1 | TI SoC Davinci MDIO Controller Device Tree Bindings | 1 | TI SoC Davinci/Keystone2 MDIO Controller Device Tree Bindings |
2 | --------------------------------------------------- | 2 | --------------------------------------------------- |
3 | 3 | ||
4 | Required properties: | 4 | Required properties: |
5 | - compatible : Should be "ti,davinci_mdio" | 5 | - compatible : Should be "ti,davinci_mdio" or "ti,keystone_mdio" |
6 | - reg : physical base address and size of the davinci mdio | 6 | - reg : physical base address and size of the davinci mdio |
7 | registers map | 7 | registers map |
8 | - bus_freq : Mdio Bus frequency | 8 | - bus_freq : Mdio Bus frequency |
@@ -19,7 +19,7 @@ file. | |||
19 | Examples: | 19 | Examples: |
20 | 20 | ||
21 | mdio: davinci_mdio@4A101000 { | 21 | mdio: davinci_mdio@4A101000 { |
22 | compatible = "ti,cpsw"; | 22 | compatible = "ti,davinci_mdio"; |
23 | reg = <0x4A101000 0x1000>; | 23 | reg = <0x4A101000 0x1000>; |
24 | bus_freq = <1000000>; | 24 | bus_freq = <1000000>; |
25 | }; | 25 | }; |
@@ -27,7 +27,7 @@ Examples: | |||
27 | (or) | 27 | (or) |
28 | 28 | ||
29 | mdio: davinci_mdio@4A101000 { | 29 | mdio: davinci_mdio@4A101000 { |
30 | compatible = "ti,cpsw"; | 30 | compatible = "ti,davinci_mdio"; |
31 | ti,hwmods = "davinci_mdio"; | 31 | ti,hwmods = "davinci_mdio"; |
32 | bus_freq = <1000000>; | 32 | bus_freq = <1000000>; |
33 | }; | 33 | }; |
diff --git a/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt b/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt new file mode 100644 index 000000000000..0071883c08d8 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | *CC2520 IEEE 802.15.4 Compatible Radio* | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "ti,cc2520" | ||
5 | - spi-max-frequency: maximal bus speed (8000000), should be set to 4000000 depends | ||
6 | sync or async operation mode | ||
7 | - reg: the chipselect index | ||
8 | - pinctrl-0: pin control group to be used for this controller. | ||
9 | - pinctrl-names: must contain a "default" entry. | ||
10 | - fifo-gpio: GPIO spec for the FIFO pin | ||
11 | - fifop-gpio: GPIO spec for the FIFOP pin | ||
12 | - sfd-gpio: GPIO spec for the SFD pin | ||
13 | - cca-gpio: GPIO spec for the CCA pin | ||
14 | - vreg-gpio: GPIO spec for the VREG pin | ||
15 | - reset-gpio: GPIO spec for the RESET pin | ||
16 | Example: | ||
17 | cc2520@0 { | ||
18 | compatible = "ti,cc2520"; | ||
19 | reg = <0>; | ||
20 | spi-max-frequency = <4000000>; | ||
21 | pinctrl-names = "default"; | ||
22 | pinctrl-0 = <&cc2520_cape_pins>; | ||
23 | fifo-gpio = <&gpio1 18 0>; | ||
24 | fifop-gpio = <&gpio1 19 0>; | ||
25 | sfd-gpio = <&gpio1 13 0>; | ||
26 | cca-gpio = <&gpio1 16 0>; | ||
27 | vreg-gpio = <&gpio0 31 0>; | ||
28 | reset-gpio = <&gpio1 12 0>; | ||
29 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/marvell-pp2.txt b/Documentation/devicetree/bindings/net/marvell-pp2.txt new file mode 100644 index 000000000000..aa4f4230bfd7 --- /dev/null +++ b/Documentation/devicetree/bindings/net/marvell-pp2.txt | |||
@@ -0,0 +1,61 @@ | |||
1 | * Marvell Armada 375 Ethernet Controller (PPv2) | ||
2 | |||
3 | Required properties: | ||
4 | |||
5 | - compatible: should be "marvell,armada-375-pp2" | ||
6 | - reg: addresses and length of the register sets for the device. | ||
7 | Must contain the following register sets: | ||
8 | - common controller registers | ||
9 | - LMS registers | ||
10 | In addition, at least one port register set is required. | ||
11 | - clocks: a pointer to the reference clocks for this device, consequently: | ||
12 | - main controller clock | ||
13 | - GOP clock | ||
14 | - clock-names: names of used clocks, must be "pp_clk" and "gop_clk". | ||
15 | |||
16 | The ethernet ports are represented by subnodes. At least one port is | ||
17 | required. | ||
18 | |||
19 | Required properties (port): | ||
20 | |||
21 | - interrupts: interrupt for the port | ||
22 | - port-id: should be '0' or '1' for ethernet ports, and '2' for the | ||
23 | loopback port | ||
24 | - phy-mode: See ethernet.txt file in the same directory | ||
25 | |||
26 | Optional properties (port): | ||
27 | |||
28 | - marvell,loopback: port is loopback mode | ||
29 | - phy: a phandle to a phy node defining the PHY address (as the reg | ||
30 | property, a single integer). Note: if this property isn't present, | ||
31 | then fixed link is assumed, and the 'fixed-link' property is | ||
32 | mandatory. | ||
33 | |||
34 | Example: | ||
35 | |||
36 | ethernet@f0000 { | ||
37 | compatible = "marvell,armada-375-pp2"; | ||
38 | reg = <0xf0000 0xa000>, | ||
39 | <0xc0000 0x3060>, | ||
40 | <0xc4000 0x100>, | ||
41 | <0xc5000 0x100>; | ||
42 | clocks = <&gateclk 3>, <&gateclk 19>; | ||
43 | clock-names = "pp_clk", "gop_clk"; | ||
44 | status = "okay"; | ||
45 | |||
46 | eth0: eth0@c4000 { | ||
47 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; | ||
48 | port-id = <0>; | ||
49 | status = "okay"; | ||
50 | phy = <&phy0>; | ||
51 | phy-mode = "gmii"; | ||
52 | }; | ||
53 | |||
54 | eth1: eth1@c5000 { | ||
55 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; | ||
56 | port-id = <1>; | ||
57 | status = "okay"; | ||
58 | phy = <&phy3>; | ||
59 | phy-mode = "gmii"; | ||
60 | }; | ||
61 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/nfc/st21nfcb.txt b/Documentation/devicetree/bindings/net/nfc/st21nfcb.txt new file mode 100644 index 000000000000..3b58ae480344 --- /dev/null +++ b/Documentation/devicetree/bindings/net/nfc/st21nfcb.txt | |||
@@ -0,0 +1,33 @@ | |||
1 | * STMicroelectronics SAS. ST21NFCB NFC Controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "st,st21nfcb_i2c". | ||
5 | - clock-frequency: I²C work frequency. | ||
6 | - reg: address on the bus | ||
7 | - interrupt-parent: phandle for the interrupt gpio controller | ||
8 | - interrupts: GPIO interrupt to which the chip is connected | ||
9 | - reset-gpios: Output GPIO pin used to reset the ST21NFCB | ||
10 | |||
11 | Optional SoC Specific Properties: | ||
12 | - pinctrl-names: Contains only one value - "default". | ||
13 | - pintctrl-0: Specifies the pin control groups used for this controller. | ||
14 | |||
15 | Example (for ARM-based BeagleBoard xM with ST21NFCB on I2C2): | ||
16 | |||
17 | &i2c2 { | ||
18 | |||
19 | status = "okay"; | ||
20 | |||
21 | st21nfcb: st21nfcb@8 { | ||
22 | |||
23 | compatible = "st,st21nfcb_i2c"; | ||
24 | |||
25 | reg = <0x08>; | ||
26 | clock-frequency = <400000>; | ||
27 | |||
28 | interrupt-parent = <&gpio5>; | ||
29 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; | ||
30 | |||
31 | reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; | ||
32 | }; | ||
33 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/sh_eth.txt b/Documentation/devicetree/bindings/net/sh_eth.txt index e7106b50dbdc..34d4db1a4e25 100644 --- a/Documentation/devicetree/bindings/net/sh_eth.txt +++ b/Documentation/devicetree/bindings/net/sh_eth.txt | |||
@@ -9,6 +9,7 @@ Required properties: | |||
9 | "renesas,ether-r8a7779" if the device is a part of R8A7779 SoC. | 9 | "renesas,ether-r8a7779" if the device is a part of R8A7779 SoC. |
10 | "renesas,ether-r8a7790" if the device is a part of R8A7790 SoC. | 10 | "renesas,ether-r8a7790" if the device is a part of R8A7790 SoC. |
11 | "renesas,ether-r8a7791" if the device is a part of R8A7791 SoC. | 11 | "renesas,ether-r8a7791" if the device is a part of R8A7791 SoC. |
12 | "renesas,ether-r8a7794" if the device is a part of R8A7794 SoC. | ||
12 | "renesas,ether-r7s72100" if the device is a part of R7S72100 SoC. | 13 | "renesas,ether-r7s72100" if the device is a part of R7S72100 SoC. |
13 | - reg: offset and length of (1) the E-DMAC/feLic register block (required), | 14 | - reg: offset and length of (1) the E-DMAC/feLic register block (required), |
14 | (2) the TSU register block (optional). | 15 | (2) the TSU register block (optional). |
diff --git a/Documentation/devicetree/bindings/net/stmmac.txt b/Documentation/devicetree/bindings/net/stmmac.txt index a2acd2b26baf..9b03c57563a4 100644 --- a/Documentation/devicetree/bindings/net/stmmac.txt +++ b/Documentation/devicetree/bindings/net/stmmac.txt | |||
@@ -25,6 +25,10 @@ Required properties: | |||
25 | - snps,force_sf_dma_mode Force DMA to use the Store and Forward | 25 | - snps,force_sf_dma_mode Force DMA to use the Store and Forward |
26 | mode for both tx and rx. This flag is | 26 | mode for both tx and rx. This flag is |
27 | ignored if force_thresh_dma_mode is set. | 27 | ignored if force_thresh_dma_mode is set. |
28 | - snps,multicast-filter-bins: Number of multicast filter hash bins | ||
29 | supported by this device instance | ||
30 | - snps,perfect-filter-entries: Number of perfect filter entries supported | ||
31 | by this device instance | ||
28 | 32 | ||
29 | Optional properties: | 33 | Optional properties: |
30 | - resets: Should contain a phandle to the STMMAC reset signal, if any | 34 | - resets: Should contain a phandle to the STMMAC reset signal, if any |
@@ -47,6 +51,8 @@ Examples: | |||
47 | mac-address = [000000000000]; /* Filled in by U-Boot */ | 51 | mac-address = [000000000000]; /* Filled in by U-Boot */ |
48 | max-frame-size = <3800>; | 52 | max-frame-size = <3800>; |
49 | phy-mode = "gmii"; | 53 | phy-mode = "gmii"; |
54 | snps,multicast-filter-bins = <256>; | ||
55 | snps,perfect-filter-entries = <128>; | ||
50 | clocks = <&clock>; | 56 | clocks = <&clock>; |
51 | clock-names = "stmmaceth">; | 57 | clock-names = "stmmaceth">; |
52 | }; | 58 | }; |
diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt b/Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt new file mode 100644 index 000000000000..5dbf169cd81c --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt | |||
@@ -0,0 +1,41 @@ | |||
1 | Broadcom BCM43xx Fullmac wireless SDIO devices | ||
2 | |||
3 | This node provides properties for controlling the Broadcom wireless device. The | ||
4 | node is expected to be specified as a child node to the SDIO controller that | ||
5 | connects the device to the system. | ||
6 | |||
7 | Required properties: | ||
8 | |||
9 | - compatible : Should be "brcm,bcm4329-fmac". | ||
10 | |||
11 | Optional properties: | ||
12 | - brcm,drive-strength : drive strength used for SDIO pins on device in mA | ||
13 | (default = 6). | ||
14 | - interrupt-parent : the phandle for the interrupt controller to which the | ||
15 | device interrupts are connected. | ||
16 | - interrupts : specifies attributes for the out-of-band interrupt (host-wake). | ||
17 | When not specified the device will use in-band SDIO interrupts. | ||
18 | - interrupt-names : name of the out-of-band interrupt, which must be set | ||
19 | to "host-wake". | ||
20 | |||
21 | Example: | ||
22 | |||
23 | mmc3: mmc@01c12000 { | ||
24 | #address-cells = <1>; | ||
25 | #size-cells = <0>; | ||
26 | |||
27 | pinctrl-names = "default"; | ||
28 | pinctrl-0 = <&mmc3_pins_a>; | ||
29 | vmmc-supply = <®_vmmc3>; | ||
30 | bus-width = <4>; | ||
31 | non-removable; | ||
32 | status = "okay"; | ||
33 | |||
34 | brcmf: bcrmf@1 { | ||
35 | reg = <1>; | ||
36 | compatible = "brcm,bcm4329-fmac"; | ||
37 | interrupt-parent = <&pio>; | ||
38 | interrupts = <10 8>; /* PH10 / EINT10 */ | ||
39 | interrupt-names = "host-wake"; | ||
40 | }; | ||
41 | }; | ||