forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/arm/arm-soc Pull ARM SoC DT updates from Olof Johansson: "DT and DT-conversion-related changes for various ARM platforms. Most of these are to enable various devices on various boards, etc, and not necessarily worth enumerating. New boards and systems continue to come in as new devicetree files that don't require corresponding C changes any more, which is indicating that the system is starting to work fairly well. A few things worth pointing out: * ST Ericsson ux500 platforms have made the major push to move over to fully support the platform with DT * Renesas platforms continue their conversion over from legacy platform devices to DT-based for hardware description" * tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (327 commits) ARM: dts: SiRF: add pin group for USP0 with only RX or TX frame sync ARM: dts: SiRF: add lost usp1_uart_nostreamctrl pin group for atlas6 ARM: dts: sirf: add lost minigpsrtc device node ARM: dts: sirf: add clock, frequence-voltage table for CPU0 ARM: dts: sirf: add lost bus_width, clock and status for sdhci ARM: dts: sirf: add lost clocks for cphifbg ARM: dts: socfpga: add pl330 clock ARM: dts: socfpga: update L2 tag and data latency arm: sun7i: cubietruck: Enable the i2c controllers ARM: dts: add support for EXYNOS4412 based TINY4412 board ARM: dts: Add initial support for Arndale Octa board ARM: bcm2835: add USB controller to device tree ARM: dts: MSM8974: Add MMIO architected timer node ARM: dts: MSM8974: Add restart node ARM: dts: sun7i: external clock outputs ARM: dts: sun7i: Change 32768 Hz oscillator node name to clk@N style ARM: dts: sun7i: Add pin muxing options for clock outputs ARM: dts: sun7i: Add rtp controller node ARM: dts: sun5i: Add rtp controller node ARM: dts: sun4i: Add rtp controller node ...
- Loading branch information
Showing
238 changed files
with
12,679 additions
and
4,211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
MOXA ART device tree bindings | ||
|
||
Boards with the MOXA ART SoC shall have the following properties: | ||
|
||
Required root node property: | ||
|
||
compatible = "moxa,moxart"; | ||
|
||
Boards: | ||
|
||
- UC-7112-LX: embedded computer | ||
compatible = "moxa,moxart-uc-7112-lx", "moxa,moxart" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
SAMSUNG S5P/Exynos SoC series System Registers (SYSREG) | ||
|
||
Properties: | ||
- name : should be 'sysreg'; | ||
- compatible : should contain "samsung,<chip name>-sysreg", "syscon"; | ||
For Exynos4 SoC series it should be "samsung,exynos4-sysreg", "syscon"; | ||
- reg : offset and length of the register set. | ||
|
||
Example: | ||
syscon@10010000 { | ||
compatible = "samsung,exynos4-sysreg", "syscon"; | ||
reg = <0x10010000 0x400>; | ||
}; |
28 changes: 28 additions & 0 deletions
28
Documentation/devicetree/bindings/clock/renesas,cpg-div6-clocks.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
* Renesas CPG DIV6 Clock | ||
|
||
The CPG DIV6 clocks are variable factor clocks provided by the Clock Pulse | ||
Generator (CPG). They clock input is divided by a configurable factor from 1 | ||
to 64. | ||
|
||
Required Properties: | ||
|
||
- compatible: Must be one of the following | ||
- "renesas,r8a7790-div6-clock" for R8A7790 (R-Car H2) DIV6 clocks | ||
- "renesas,r8a7791-div6-clock" for R8A7791 (R-Car M2) DIV6 clocks | ||
- "renesas,cpg-div6-clock" for generic DIV6 clocks | ||
- reg: Base address and length of the memory resource used by the DIV6 clock | ||
- clocks: Reference to the parent clock | ||
- #clock-cells: Must be 0 | ||
- clock-output-names: The name of the clock as a free-form string | ||
|
||
|
||
Example | ||
------- | ||
|
||
sd2_clk: sd2_clk@e6150078 { | ||
compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; | ||
reg = <0 0xe6150078 0 4>; | ||
clocks = <&pll1_div2_clk>; | ||
#clock-cells = <0>; | ||
clock-output-names = "sd2"; | ||
}; |
51 changes: 51 additions & 0 deletions
51
Documentation/devicetree/bindings/clock/renesas,cpg-mstp-clocks.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
* Renesas CPG Module Stop (MSTP) Clocks | ||
|
||
The CPG can gate SoC device clocks. The gates are organized in groups of up to | ||
32 gates. | ||
|
||
This device tree binding describes a single 32 gate clocks group per node. | ||
Clocks are referenced by user nodes by the MSTP node phandle and the clock | ||
index in the group, from 0 to 31. | ||
|
||
Required Properties: | ||
|
||
- compatible: Must be one of the following | ||
- "renesas,r8a7790-mstp-clocks" for R8A7790 (R-Car H2) MSTP gate clocks | ||
- "renesas,r8a7791-mstp-clocks" for R8A7791 (R-Car M2) MSTP gate clocks | ||
- "renesas,cpg-mstp-clock" for generic MSTP gate clocks | ||
- reg: Base address and length of the I/O mapped registers used by the MSTP | ||
clocks. The first register is the clock control register and is mandatory. | ||
The second register is the clock status register and is optional when not | ||
implemented in hardware. | ||
- clocks: Reference to the parent clocks, one per output clock. The parents | ||
must appear in the same order as the output clocks. | ||
- #clock-cells: Must be 1 | ||
- clock-output-names: The name of the clocks as free-form strings | ||
- renesas,indices: Indices of the gate clocks into the group (0 to 31) | ||
|
||
The clocks, clock-output-names and renesas,indices properties contain one | ||
entry per gate clock. The MSTP groups are sparsely populated. Unimplemented | ||
gate clocks must not be declared. | ||
|
||
|
||
Example | ||
------- | ||
|
||
#include <dt-bindings/clock/r8a7790-clock.h> | ||
|
||
mstp3_clks: mstp3_clks@e615013c { | ||
compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; | ||
reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>; | ||
clocks = <&cp_clk>, <&mmc1_clk>, <&sd3_clk>, <&sd2_clk>, | ||
<&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, | ||
<&mmc0_clk>; | ||
#clock-cells = <1>; | ||
clock-output-names = | ||
"tpu0", "mmcif1", "sdhi3", "sdhi2", | ||
"sdhi1", "sdhi0", "mmcif0"; | ||
renesas,clock-indices = < | ||
R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SDHI3 | ||
R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 | ||
R8A7790_CLK_MMCIF0 | ||
>; | ||
}; |
32 changes: 32 additions & 0 deletions
32
Documentation/devicetree/bindings/clock/renesas,rcar-gen2-cpg-clocks.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
* Renesas R-Car Gen2 Clock Pulse Generator (CPG) | ||
|
||
The CPG generates core clocks for the R-Car Gen2 SoCs. It includes three PLLs | ||
and several fixed ratio dividers. | ||
|
||
Required Properties: | ||
|
||
- compatible: Must be one of | ||
- "renesas,r8a7790-cpg-clocks" for the r8a7790 CPG | ||
- "renesas,r8a7791-cpg-clocks" for the r8a7791 CPG | ||
- "renesas,rcar-gen2-cpg-clocks" for the generic R-Car Gen2 CPG | ||
|
||
- reg: Base address and length of the memory resource used by the CPG | ||
|
||
- clocks: Reference to the parent clock | ||
- #clock-cells: Must be 1 | ||
- clock-output-names: The names of the clocks. Supported clocks are "main", | ||
"pll0", "pll1", "pll3", "lb", "qspi", "sdh", "sd0", "sd1" and "z" | ||
|
||
|
||
Example | ||
------- | ||
|
||
cpg_clocks: cpg_clocks@e6150000 { | ||
compatible = "renesas,r8a7790-cpg-clocks", | ||
"renesas,rcar-gen2-cpg-clocks"; | ||
reg = <0 0xe6150000 0 0x1000>; | ||
clocks = <&extal_clk>; | ||
#clock-cells = <1>; | ||
clock-output-names = "main", "pll0, "pll1", "pll3", | ||
"lb", "qspi", "sdh", "sd0", "sd1", "z"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
TI Keystone USB PHY | ||
|
||
Required properties: | ||
- compatible: should be "ti,keystone-usbphy". | ||
- #address-cells, #size-cells : should be '1' if the device has sub-nodes | ||
with 'reg' property. | ||
- reg : Address and length of the usb phy control register set. | ||
|
||
The main purpose of this PHY driver is to enable the USB PHY reference clock | ||
gate on the Keystone SOC for both the USB2 and USB3 PHY. Otherwise it is just | ||
an NOP PHY driver. Hence this node is referenced as both the usb2 and usb3 | ||
phy node in the USB Glue layer driver node. | ||
|
||
usb_phy: usb_phy@2620738 { | ||
compatible = "ti,keystone-usbphy"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
reg = <0x2620738 32>; | ||
status = "disabled"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
TI Keystone Soc USB Controller | ||
|
||
DWC3 GLUE | ||
|
||
Required properties: | ||
- compatible: should be "ti,keystone-dwc3". | ||
- #address-cells, #size-cells : should be '1' if the device has sub-nodes | ||
with 'reg' property. | ||
- reg : Address and length of the register set for the USB subsystem on | ||
the SOC. | ||
- interrupts : The irq number of this device that is used to interrupt the | ||
MPU. | ||
- ranges: allows valid 1:1 translation between child's address space and | ||
parent's address space. | ||
- clocks: Clock IDs array as required by the controller. | ||
- clock-names: names of clocks correseponding to IDs in the clock property. | ||
|
||
Sub-nodes: | ||
The dwc3 core should be added as subnode to Keystone DWC3 glue. | ||
- dwc3 : | ||
The binding details of dwc3 can be found in: | ||
Documentation/devicetree/bindings/usb/dwc3.txt | ||
|
||
Example: | ||
usb: usb@2680000 { | ||
compatible = "ti,keystone-dwc3"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
reg = <0x2680000 0x10000>; | ||
clocks = <&clkusb>; | ||
clock-names = "usb"; | ||
interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>; | ||
ranges; | ||
status = "disabled"; | ||
|
||
dwc3@2690000 { | ||
compatible = "synopsys,dwc3"; | ||
reg = <0x2690000 0x70000>; | ||
interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>; | ||
usb-phy = <&usb_phy>, <&usb_phy>; | ||
}; | ||
}; |
Oops, something went wrong.