diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-05 14:56:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-05 14:56:38 -0400 |
commit | 878fb5dc96b9dfae1de45be1b85aba40aca3356e (patch) | |
tree | 13dc5608989d399cd3ad7053ec24e7ca54a14949 /Documentation/devicetree/bindings/net | |
parent | 6a497e9d5828120cf55c2aea508176d94cf7f5ba (diff) | |
parent | 87e5fc99b0280b492724cc7f2d8d9ad37b980087 (diff) |
Merge tag 'devicetree-for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull DeviceTree updates from Rob Herring:
- update changeset documentation on locking to reflect current code
- fix alphabetizing of vendor-prefixes.txt
- add various vendor prefixes
- add ESP8089 WiFi binding
- add new variable sized array parsing functions
* tag 'devicetree-for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (21 commits)
DT: irqchip: renesas-irqc: document R8A7743/5 support
dt-bindings: Add Keith&Koep vendor prefix
dt-bindings: add vendor prefix for Auvidea GmbH
of: Add vendor prefix for Engicam s.r.l company
devicetree: Add vendor-prefix for Silead Inc.
devicetree: bindings: Add vendor prefix for Topeet.
dt-bindings: Add summit vendor id
of/platform: Initialise dev->fwnode appropriately
of: Add array read functions with min/max size limits
of: Make of_find_property_value_of_size take a length range
dt: net: enhance DWC EQoS binding to support Tegra186
bindings: PCI: artpec: correct pci binding example
Documentation: devicetree: Fix max77693 spelling errors
dt: bindings: Add binding for ESP8089 wifi chips
PCI: Xilinx NWL PCIe: Updating device tree documentation with prefetchable memory space
Documentation: devicetree: spi: fix wrong spi-bus documentation
dt-bindings: Add Japan Display Inc vendor id
dt-bindings: vendor-prefixes: Add Sierra Wireless
devicetree: Add vendor prefix for Shenzhen Sunchip Technology Co., Ltd
devicetree: Sort vendor prefixes in alphabetical order
...
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r-- | Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.txt | 99 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/wireless/esp,esp8089.txt | 31 |
2 files changed, 126 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.txt b/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.txt index 51f8d2eba8d8..d93f71ce8346 100644 --- a/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.txt +++ b/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.txt | |||
@@ -1,21 +1,111 @@ | |||
1 | * Synopsys DWC Ethernet QoS IP version 4.10 driver (GMAC) | 1 | * Synopsys DWC Ethernet QoS IP version 4.10 driver (GMAC) |
2 | 2 | ||
3 | This binding supports the Synopsys Designware Ethernet QoS (Quality Of Service) | ||
4 | IP block. The IP supports multiple options for bus type, clocking and reset | ||
5 | structure, and feature list. Consequently, a number of properties and list | ||
6 | entries in properties are marked as optional, or only required in specific HW | ||
7 | configurations. | ||
3 | 8 | ||
4 | Required properties: | 9 | Required properties: |
5 | - compatible: Should be "snps,dwc-qos-ethernet-4.10" | 10 | - compatible: One of: |
11 | - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10" | ||
12 | Represents the IP core when integrated into the Axis ARTPEC-6 SoC. | ||
13 | - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10" | ||
14 | Represents the IP core when integrated into the NVIDIA Tegra186 SoC. | ||
15 | - "snps,dwc-qos-ethernet-4.10" | ||
16 | This combination is deprecated. It should be treated as equivalent to | ||
17 | "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10". It is supported to be | ||
18 | compatible with earlier revisions of this binding. | ||
6 | - reg: Address and length of the register set for the device | 19 | - reg: Address and length of the register set for the device |
7 | - clocks: Phandles to the reference clock and the bus clock | 20 | - clocks: Phandle and clock specifiers for each entry in clock-names, in the |
8 | - clock-names: Should be "phy_ref_clk" for the reference clock and "apb_pclk" | 21 | same order. See ../clock/clock-bindings.txt. |
9 | for the bus clock. | 22 | - clock-names: May contain any/all of the following depending on the IP |
23 | configuration, in any order: | ||
24 | - "tx" | ||
25 | The EQOS transmit path clock. The HW signal name is clk_tx_i. | ||
26 | In some configurations (e.g. GMII/RGMII), this clock also drives the PHY TX | ||
27 | path. In other configurations, other clocks (such as tx_125, rmii) may | ||
28 | drive the PHY TX path. | ||
29 | - "rx" | ||
30 | The EQOS receive path clock. The HW signal name is clk_rx_i. | ||
31 | In some configurations (e.g. GMII/RGMII), this clock is derived from the | ||
32 | PHY's RX clock output. In other configurations, other clocks (such as | ||
33 | rx_125, rmii) may drive the EQOS RX path. | ||
34 | In cases where the PHY clock is directly fed into the EQOS receive path | ||
35 | without intervening logic, the DT need not represent this clock, since it | ||
36 | is assumed to be fully under the control of the PHY device/driver. In | ||
37 | cases where SoC integration adds additional logic to this path, such as a | ||
38 | SW-controlled clock gate, this clock should be represented in DT. | ||
39 | - "slave_bus" | ||
40 | The CPU/slave-bus (CSR) interface clock. This applies to any bus type; | ||
41 | APB, AHB, AXI, etc. The HW signal name is hclk_i (AHB) or clk_csr_i (other | ||
42 | buses). | ||
43 | - "master_bus" | ||
44 | The master bus interface clock. Only required in configurations that use a | ||
45 | separate clock for the master and slave bus interfaces. The HW signal name | ||
46 | is hclk_i (AHB) or aclk_i (AXI). | ||
47 | - "ptp_ref" | ||
48 | The PTP reference clock. The HW signal name is clk_ptp_ref_i. | ||
49 | - "phy_ref_clk" | ||
50 | This clock is deprecated and should not be used by new compatible values. | ||
51 | It is equivalent to "tx". | ||
52 | - "apb_pclk" | ||
53 | This clock is deprecated and should not be used by new compatible values. | ||
54 | It is equivalent to "slave_bus". | ||
55 | |||
56 | Note: Support for additional IP configurations may require adding the | ||
57 | following clocks to this list in the future: clk_rx_125_i, clk_tx_125_i, | ||
58 | clk_pmarx_0_i, clk_pmarx1_i, clk_rmii_i, clk_revmii_rx_i, clk_revmii_tx_i. | ||
59 | Configurations exist where multiple similar clocks are used at once, e.g. all | ||
60 | of clk_rx_125_i, clk_pmarx_0_i, clk_pmarx1_i. For this reason it is best to | ||
61 | extend the binding with a separate clock-names entry for each of those RX | ||
62 | clocks, rather than repurposing the existing "rx" clock-names entry as a | ||
63 | generic/logical clock in a similar fashion to "master_bus" and "slave_bus". | ||
64 | This will allow easy support for configurations that support multiple PHY | ||
65 | interfaces using a mux, and hence need to have explicit control over | ||
66 | specific RX clocks. | ||
67 | |||
68 | The following compatible values require the following set of clocks: | ||
69 | - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10": | ||
70 | - "slave_bus" | ||
71 | - "master_bus" | ||
72 | - "rx" | ||
73 | - "tx" | ||
74 | - "ptp_ref" | ||
75 | - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10": | ||
76 | - "slave_bus" | ||
77 | - "master_bus" | ||
78 | - "tx" | ||
79 | - "ptp_ref" | ||
80 | - "snps,dwc-qos-ethernet-4.10" (deprecated): | ||
81 | - "phy_ref_clk" | ||
82 | - "apb_clk" | ||
10 | - interrupt-parent: Should be the phandle for the interrupt controller | 83 | - interrupt-parent: Should be the phandle for the interrupt controller |
11 | that services interrupts for this device | 84 | that services interrupts for this device |
12 | - interrupts: Should contain the core's combined interrupt signal | 85 | - interrupts: Should contain the core's combined interrupt signal |
13 | - phy-mode: See ethernet.txt file in the same directory | 86 | - phy-mode: See ethernet.txt file in the same directory |
87 | - resets: Phandle and reset specifiers for each entry in reset-names, in the | ||
88 | same order. See ../reset/reset.txt. | ||
89 | - reset-names: May contain any/all of the following depending on the IP | ||
90 | configuration, in any order: | ||
91 | - "eqos". The reset to the entire module. The HW signal name is hreset_n | ||
92 | (AHB) or aresetn_i (AXI). | ||
93 | |||
94 | The following compatible values require the following set of resets: | ||
95 | (the reset properties may be omitted if empty) | ||
96 | - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10": | ||
97 | - "eqos". | ||
98 | - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10": | ||
99 | - None. | ||
100 | - "snps,dwc-qos-ethernet-4.10" (deprecated): | ||
101 | - None. | ||
14 | 102 | ||
15 | Optional properties: | 103 | Optional properties: |
16 | - dma-coherent: Present if dma operations are coherent | 104 | - dma-coherent: Present if dma operations are coherent |
17 | - mac-address: See ethernet.txt in the same directory | 105 | - mac-address: See ethernet.txt in the same directory |
18 | - local-mac-address: See ethernet.txt in the same directory | 106 | - local-mac-address: See ethernet.txt in the same directory |
107 | - phy-reset-gpios: Phandle and specifier for any GPIO used to reset the PHY. | ||
108 | See ../gpio/gpio.txt. | ||
19 | - snps,en-lpi: If present it enables use of the AXI low-power interface | 109 | - snps,en-lpi: If present it enables use of the AXI low-power interface |
20 | - snps,write-requests: Number of write requests that the AXI port can issue. | 110 | - snps,write-requests: Number of write requests that the AXI port can issue. |
21 | It depends on the SoC configuration. | 111 | It depends on the SoC configuration. |
@@ -52,6 +142,7 @@ ethernet2@40010000 { | |||
52 | reg = <0x40010000 0x4000>; | 142 | reg = <0x40010000 0x4000>; |
53 | phy-handle = <&phy2>; | 143 | phy-handle = <&phy2>; |
54 | phy-mode = "gmii"; | 144 | phy-mode = "gmii"; |
145 | phy-reset-gpios = <&gpioctlr 43 GPIO_ACTIVE_LOW>; | ||
55 | 146 | ||
56 | snps,en-tx-lpi-clockgating; | 147 | snps,en-tx-lpi-clockgating; |
57 | snps,en-lpi; | 148 | snps,en-lpi; |
diff --git a/Documentation/devicetree/bindings/net/wireless/esp,esp8089.txt b/Documentation/devicetree/bindings/net/wireless/esp,esp8089.txt new file mode 100644 index 000000000000..19331bb4ff6e --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/esp,esp8089.txt | |||
@@ -0,0 +1,31 @@ | |||
1 | Espressif ESP8089 wireless SDIO devices | ||
2 | |||
3 | This node provides properties for controlling the ESP8089 wireless device. | ||
4 | The node is expected to be specified as a child node to the SDIO controller | ||
5 | that connects the device to the system. | ||
6 | |||
7 | Required properties: | ||
8 | |||
9 | - compatible : Should be "esp,esp8089". | ||
10 | |||
11 | Optional properties: | ||
12 | - esp,crystal-26M-en: Integer value for the crystal_26M_en firmware parameter | ||
13 | |||
14 | Example: | ||
15 | |||
16 | &mmc1 { | ||
17 | #address-cells = <1>; | ||
18 | #size-cells = <0>; | ||
19 | |||
20 | vmmc-supply = <®_dldo1>; | ||
21 | mmc-pwrseq = <&wifi_pwrseq>; | ||
22 | bus-width = <4>; | ||
23 | non-removable; | ||
24 | status = "okay"; | ||
25 | |||
26 | esp8089: sdio_wifi@1 { | ||
27 | compatible = "esp,esp8089"; | ||
28 | reg = <1>; | ||
29 | esp,crystal-26M-en = <2>; | ||
30 | }; | ||
31 | }; | ||