diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-06-17 08:36:41 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-06-17 08:37:31 -0400 |
commit | f0b1f6442b5090fed3529cb39f3acf8c91693d3d (patch) | |
tree | bc5f62b017a82161c9a7f892f464813f6efd5bf3 /Documentation/devicetree/bindings | |
parent | 4632a93f015caf6d7db4352f37aab74a39e60d7a (diff) | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) |
Merge tag 'v3.16-rc1' into i2c/for-next
Merge a stable base (Linux 3.16-rc1)
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/devicetree/bindings')
36 files changed, 745 insertions, 137 deletions
diff --git a/Documentation/devicetree/bindings/clock/sunxi.txt b/Documentation/devicetree/bindings/clock/sunxi.txt index a5160d8cbb5f..b9ec668bfe62 100644 --- a/Documentation/devicetree/bindings/clock/sunxi.txt +++ b/Documentation/devicetree/bindings/clock/sunxi.txt | |||
@@ -20,12 +20,15 @@ Required properties: | |||
20 | "allwinner,sun5i-a13-ahb-gates-clk" - for the AHB gates on A13 | 20 | "allwinner,sun5i-a13-ahb-gates-clk" - for the AHB gates on A13 |
21 | "allwinner,sun5i-a10s-ahb-gates-clk" - for the AHB gates on A10s | 21 | "allwinner,sun5i-a10s-ahb-gates-clk" - for the AHB gates on A10s |
22 | "allwinner,sun7i-a20-ahb-gates-clk" - for the AHB gates on A20 | 22 | "allwinner,sun7i-a20-ahb-gates-clk" - for the AHB gates on A20 |
23 | "allwinner,sun6i-a31-ar100-clk" - for the AR100 on A31 | ||
23 | "allwinner,sun6i-a31-ahb1-mux-clk" - for the AHB1 multiplexer on A31 | 24 | "allwinner,sun6i-a31-ahb1-mux-clk" - for the AHB1 multiplexer on A31 |
24 | "allwinner,sun6i-a31-ahb1-gates-clk" - for the AHB1 gates on A31 | 25 | "allwinner,sun6i-a31-ahb1-gates-clk" - for the AHB1 gates on A31 |
25 | "allwinner,sun4i-a10-apb0-clk" - for the APB0 clock | 26 | "allwinner,sun4i-a10-apb0-clk" - for the APB0 clock |
27 | "allwinner,sun6i-a31-apb0-clk" - for the APB0 clock on A31 | ||
26 | "allwinner,sun4i-a10-apb0-gates-clk" - for the APB0 gates on A10 | 28 | "allwinner,sun4i-a10-apb0-gates-clk" - for the APB0 gates on A10 |
27 | "allwinner,sun5i-a13-apb0-gates-clk" - for the APB0 gates on A13 | 29 | "allwinner,sun5i-a13-apb0-gates-clk" - for the APB0 gates on A13 |
28 | "allwinner,sun5i-a10s-apb0-gates-clk" - for the APB0 gates on A10s | 30 | "allwinner,sun5i-a10s-apb0-gates-clk" - for the APB0 gates on A10s |
31 | "allwinner,sun6i-a31-apb0-gates-clk" - for the APB0 gates on A31 | ||
29 | "allwinner,sun7i-a20-apb0-gates-clk" - for the APB0 gates on A20 | 32 | "allwinner,sun7i-a20-apb0-gates-clk" - for the APB0 gates on A20 |
30 | "allwinner,sun4i-a10-apb1-clk" - for the APB1 clock | 33 | "allwinner,sun4i-a10-apb1-clk" - for the APB1 clock |
31 | "allwinner,sun4i-a10-apb1-mux-clk" - for the APB1 clock muxing | 34 | "allwinner,sun4i-a10-apb1-mux-clk" - for the APB1 clock muxing |
@@ -41,6 +44,7 @@ Required properties: | |||
41 | "allwinner,sun7i-a20-gmac-clk" - for the GMAC clock module on A20/A31 | 44 | "allwinner,sun7i-a20-gmac-clk" - for the GMAC clock module on A20/A31 |
42 | "allwinner,sun4i-a10-usb-clk" - for usb gates + resets on A10 / A20 | 45 | "allwinner,sun4i-a10-usb-clk" - for usb gates + resets on A10 / A20 |
43 | "allwinner,sun5i-a13-usb-clk" - for usb gates + resets on A13 | 46 | "allwinner,sun5i-a13-usb-clk" - for usb gates + resets on A13 |
47 | "allwinner,sun6i-a31-usb-clk" - for usb gates + resets on A31 | ||
44 | 48 | ||
45 | Required properties for all clocks: | 49 | Required properties for all clocks: |
46 | - reg : shall be the control register address for the clock. | 50 | - reg : shall be the control register address for the clock. |
diff --git a/Documentation/devicetree/bindings/clock/ti/apll.txt b/Documentation/devicetree/bindings/clock/ti/apll.txt index 7faf5a68b3be..ade4dd4c30f0 100644 --- a/Documentation/devicetree/bindings/clock/ti/apll.txt +++ b/Documentation/devicetree/bindings/clock/ti/apll.txt | |||
@@ -14,18 +14,32 @@ a subtype of a DPLL [2], although a simplified one at that. | |||
14 | [2] Documentation/devicetree/bindings/clock/ti/dpll.txt | 14 | [2] Documentation/devicetree/bindings/clock/ti/dpll.txt |
15 | 15 | ||
16 | Required properties: | 16 | Required properties: |
17 | - compatible : shall be "ti,dra7-apll-clock" | 17 | - compatible : shall be "ti,dra7-apll-clock" or "ti,omap2-apll-clock" |
18 | - #clock-cells : from common clock binding; shall be set to 0. | 18 | - #clock-cells : from common clock binding; shall be set to 0. |
19 | - clocks : link phandles of parent clocks (clk-ref and clk-bypass) | 19 | - clocks : link phandles of parent clocks (clk-ref and clk-bypass) |
20 | - reg : address and length of the register set for controlling the APLL. | 20 | - reg : address and length of the register set for controlling the APLL. |
21 | It contains the information of registers in the following order: | 21 | It contains the information of registers in the following order: |
22 | "control" - contains the control register base address | 22 | "control" - contains the control register offset |
23 | "idlest" - contains the idlest register base address | 23 | "idlest" - contains the idlest register offset |
24 | "autoidle" - contains the autoidle register offset (OMAP2 only) | ||
25 | - ti,clock-frequency : static clock frequency for the clock (OMAP2 only) | ||
26 | - ti,idlest-shift : bit-shift for the idlest field (OMAP2 only) | ||
27 | - ti,bit-shift : bit-shift for enable and autoidle fields (OMAP2 only) | ||
24 | 28 | ||
25 | Examples: | 29 | Examples: |
26 | apll_pcie_ck: apll_pcie_ck@4a008200 { | 30 | apll_pcie_ck: apll_pcie_ck { |
27 | #clock-cells = <0>; | 31 | #clock-cells = <0>; |
28 | clocks = <&apll_pcie_in_clk_mux>, <&dpll_pcie_ref_ck>; | 32 | clocks = <&apll_pcie_in_clk_mux>, <&dpll_pcie_ref_ck>; |
29 | reg = <0x4a00821c 0x4>, <0x4a008220 0x4>; | 33 | reg = <0x021c>, <0x0220>; |
30 | compatible = "ti,dra7-apll-clock"; | 34 | compatible = "ti,dra7-apll-clock"; |
31 | }; | 35 | }; |
36 | |||
37 | apll96_ck: apll96_ck { | ||
38 | #clock-cells = <0>; | ||
39 | compatible = "ti,omap2-apll-clock"; | ||
40 | clocks = <&sys_ck>; | ||
41 | ti,bit-shift = <2>; | ||
42 | ti,idlest-shift = <8>; | ||
43 | ti,clock-frequency = <96000000>; | ||
44 | reg = <0x0500>, <0x0530>, <0x0520>; | ||
45 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/ti/dpll.txt b/Documentation/devicetree/bindings/clock/ti/dpll.txt index 30bfdb7c9f18..df57009ff8e7 100644 --- a/Documentation/devicetree/bindings/clock/ti/dpll.txt +++ b/Documentation/devicetree/bindings/clock/ti/dpll.txt | |||
@@ -24,12 +24,14 @@ Required properties: | |||
24 | "ti,omap4-dpll-core-clock", | 24 | "ti,omap4-dpll-core-clock", |
25 | "ti,omap4-dpll-m4xen-clock", | 25 | "ti,omap4-dpll-m4xen-clock", |
26 | "ti,omap4-dpll-j-type-clock", | 26 | "ti,omap4-dpll-j-type-clock", |
27 | "ti,omap5-mpu-dpll-clock", | ||
27 | "ti,am3-dpll-no-gate-clock", | 28 | "ti,am3-dpll-no-gate-clock", |
28 | "ti,am3-dpll-j-type-clock", | 29 | "ti,am3-dpll-j-type-clock", |
29 | "ti,am3-dpll-no-gate-j-type-clock", | 30 | "ti,am3-dpll-no-gate-j-type-clock", |
30 | "ti,am3-dpll-clock", | 31 | "ti,am3-dpll-clock", |
31 | "ti,am3-dpll-core-clock", | 32 | "ti,am3-dpll-core-clock", |
32 | "ti,am3-dpll-x2-clock", | 33 | "ti,am3-dpll-x2-clock", |
34 | "ti,omap2-dpll-core-clock", | ||
33 | 35 | ||
34 | - #clock-cells : from common clock binding; shall be set to 0. | 36 | - #clock-cells : from common clock binding; shall be set to 0. |
35 | - clocks : link phandles of parent clocks, first entry lists reference clock | 37 | - clocks : link phandles of parent clocks, first entry lists reference clock |
@@ -41,6 +43,7 @@ Required properties: | |||
41 | "mult-div1" - contains the multiplier / divider register base address | 43 | "mult-div1" - contains the multiplier / divider register base address |
42 | "autoidle" - contains the autoidle register base address (optional) | 44 | "autoidle" - contains the autoidle register base address (optional) |
43 | ti,am3-* dpll types do not have autoidle register | 45 | ti,am3-* dpll types do not have autoidle register |
46 | ti,omap2-* dpll type does not support idlest / autoidle registers | ||
44 | 47 | ||
45 | Optional properties: | 48 | Optional properties: |
46 | - DPLL mode setting - defining any one or more of the following overrides | 49 | - DPLL mode setting - defining any one or more of the following overrides |
@@ -73,3 +76,10 @@ Examples: | |||
73 | clocks = <&sys_clkin_ck>, <&sys_clkin_ck>; | 76 | clocks = <&sys_clkin_ck>, <&sys_clkin_ck>; |
74 | reg = <0x90>, <0x5c>, <0x68>; | 77 | reg = <0x90>, <0x5c>, <0x68>; |
75 | }; | 78 | }; |
79 | |||
80 | dpll_ck: dpll_ck { | ||
81 | #clock-cells = <0>; | ||
82 | compatible = "ti,omap2-dpll-core-clock"; | ||
83 | clocks = <&sys_ck>, <&sys_ck>; | ||
84 | reg = <0x0500>, <0x0540>; | ||
85 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/ti/dra7-atl.txt b/Documentation/devicetree/bindings/clock/ti/dra7-atl.txt new file mode 100644 index 000000000000..585e8c191f50 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/ti/dra7-atl.txt | |||
@@ -0,0 +1,96 @@ | |||
1 | Device Tree Clock bindings for ATL (Audio Tracking Logic) of DRA7 SoC. | ||
2 | |||
3 | The ATL IP is used to generate clock to be used to synchronize baseband and | ||
4 | audio codec. A single ATL IP provides four ATL clock instances sharing the same | ||
5 | functional clock but can be configured to provide different clocks. | ||
6 | ATL can maintain a clock averages to some desired frequency based on the bws/aws | ||
7 | signals - can compensate the drift between the two ws signal. | ||
8 | |||
9 | In order to provide the support for ATL and it's output clocks (which can be used | ||
10 | internally within the SoC or external components) two sets of bindings is needed: | ||
11 | |||
12 | Clock tree binding: | ||
13 | This binding uses the common clock binding[1]. | ||
14 | To be able to integrate the ATL clocks with DT clock tree. | ||
15 | Provides ccf level representation of the ATL clocks to be used by drivers. | ||
16 | Since the clock instances are part of a single IP this binding is used as a node | ||
17 | for the DT clock tree, the IP driver is needed to handle the actual configuration | ||
18 | of the IP. | ||
19 | |||
20 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
21 | |||
22 | Required properties: | ||
23 | - compatible : shall be "ti,dra7-atl-clock" | ||
24 | - #clock-cells : from common clock binding; shall be set to 0. | ||
25 | - clocks : link phandles to functional clock of ATL | ||
26 | |||
27 | Binding for the IP driver: | ||
28 | This binding is used to configure the IP driver which is going to handle the | ||
29 | configuration of the IP for the ATL clock instances. | ||
30 | |||
31 | Required properties: | ||
32 | - compatible : shall be "ti,dra7-atl" | ||
33 | - reg : base address for the ATL IP | ||
34 | - ti,provided-clocks : List of phandles to the clocks associated with the ATL | ||
35 | - clocks : link phandles to functional clock of ATL | ||
36 | - clock-names : Shall be set to "fck" | ||
37 | - ti,hwmods : Shall be set to "atl" | ||
38 | |||
39 | Optional properties: | ||
40 | Configuration of ATL instances: | ||
41 | - atl{0/1/2/3} { | ||
42 | - bws : Baseband word select signal selection | ||
43 | - aws : Audio word select signal selection | ||
44 | }; | ||
45 | |||
46 | For valid word select signals, see the dt-bindings/clk/ti-dra7-atl.h include | ||
47 | file. | ||
48 | |||
49 | Examples: | ||
50 | /* clock bindings for atl provided clocks */ | ||
51 | atl_clkin0_ck: atl_clkin0_ck { | ||
52 | #clock-cells = <0>; | ||
53 | compatible = "ti,dra7-atl-clock"; | ||
54 | clocks = <&atl_gfclk_mux>; | ||
55 | }; | ||
56 | |||
57 | atl_clkin1_ck: atl_clkin1_ck { | ||
58 | #clock-cells = <0>; | ||
59 | compatible = "ti,dra7-atl-clock"; | ||
60 | clocks = <&atl_gfclk_mux>; | ||
61 | }; | ||
62 | |||
63 | atl_clkin2_ck: atl_clkin2_ck { | ||
64 | #clock-cells = <0>; | ||
65 | compatible = "ti,dra7-atl-clock"; | ||
66 | clocks = <&atl_gfclk_mux>; | ||
67 | }; | ||
68 | |||
69 | atl_clkin3_ck: atl_clkin3_ck { | ||
70 | #clock-cells = <0>; | ||
71 | compatible = "ti,dra7-atl-clock"; | ||
72 | clocks = <&atl_gfclk_mux>; | ||
73 | }; | ||
74 | |||
75 | /* binding for the IP */ | ||
76 | atl: atl@4843c000 { | ||
77 | compatible = "ti,dra7-atl"; | ||
78 | reg = <0x4843c000 0x3ff>; | ||
79 | ti,hwmods = "atl"; | ||
80 | ti,provided-clocks = <&atl_clkin0_ck>, <&atl_clkin1_ck>, | ||
81 | <&atl_clkin2_ck>, <&atl_clkin3_ck>; | ||
82 | clocks = <&atl_gfclk_mux>; | ||
83 | clock-names = "fck"; | ||
84 | status = "disabled"; | ||
85 | }; | ||
86 | |||
87 | #include <dt-bindings/clk/ti-dra7-atl.h> | ||
88 | |||
89 | &atl { | ||
90 | status = "okay"; | ||
91 | |||
92 | atl2 { | ||
93 | bws = <DRA7_ATL_WS_MCASP2_FSX>; | ||
94 | aws = <DRA7_ATL_WS_MCASP3_FSX>; | ||
95 | }; | ||
96 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/ti/gate.txt b/Documentation/devicetree/bindings/clock/ti/gate.txt index 125281aaa4ca..03f8fdee62a7 100644 --- a/Documentation/devicetree/bindings/clock/ti/gate.txt +++ b/Documentation/devicetree/bindings/clock/ti/gate.txt | |||
@@ -25,6 +25,11 @@ Required properties: | |||
25 | to map clockdomains properly | 25 | to map clockdomains properly |
26 | "ti,hsdiv-gate-clock" - gate clock with OMAP36xx specific hardware handling, | 26 | "ti,hsdiv-gate-clock" - gate clock with OMAP36xx specific hardware handling, |
27 | required for a hardware errata | 27 | required for a hardware errata |
28 | "ti,composite-gate-clock" - composite gate clock, to be part of composite | ||
29 | clock | ||
30 | "ti,composite-no-wait-gate-clock" - composite gate clock that does not wait | ||
31 | for clock to be active before returning | ||
32 | from clk_enable() | ||
28 | - #clock-cells : from common clock binding; shall be set to 0 | 33 | - #clock-cells : from common clock binding; shall be set to 0 |
29 | - clocks : link to phandle of parent clock | 34 | - clocks : link to phandle of parent clock |
30 | - reg : offset for register controlling adjustable gate, not needed for | 35 | - reg : offset for register controlling adjustable gate, not needed for |
@@ -41,7 +46,7 @@ Examples: | |||
41 | #clock-cells = <0>; | 46 | #clock-cells = <0>; |
42 | compatible = "ti,gate-clock"; | 47 | compatible = "ti,gate-clock"; |
43 | clocks = <&core_96m_fck>; | 48 | clocks = <&core_96m_fck>; |
44 | reg = <0x48004a00 0x4>; | 49 | reg = <0x0a00>; |
45 | ti,bit-shift = <25>; | 50 | ti,bit-shift = <25>; |
46 | }; | 51 | }; |
47 | 52 | ||
@@ -57,7 +62,7 @@ Examples: | |||
57 | #clock-cells = <0>; | 62 | #clock-cells = <0>; |
58 | compatible = "ti,dss-gate-clock"; | 63 | compatible = "ti,dss-gate-clock"; |
59 | clocks = <&dpll4_m4x2_ck>; | 64 | clocks = <&dpll4_m4x2_ck>; |
60 | reg = <0x48004e00 0x4>; | 65 | reg = <0x0e00>; |
61 | ti,bit-shift = <0>; | 66 | ti,bit-shift = <0>; |
62 | }; | 67 | }; |
63 | 68 | ||
@@ -65,7 +70,7 @@ Examples: | |||
65 | #clock-cells = <0>; | 70 | #clock-cells = <0>; |
66 | compatible = "ti,am35xx-gate-clock"; | 71 | compatible = "ti,am35xx-gate-clock"; |
67 | clocks = <&ipss_ick>; | 72 | clocks = <&ipss_ick>; |
68 | reg = <0x4800259c 0x4>; | 73 | reg = <0x059c>; |
69 | ti,bit-shift = <1>; | 74 | ti,bit-shift = <1>; |
70 | }; | 75 | }; |
71 | 76 | ||
@@ -80,6 +85,22 @@ Examples: | |||
80 | compatible = "ti,hsdiv-gate-clock"; | 85 | compatible = "ti,hsdiv-gate-clock"; |
81 | clocks = <&dpll4_m2x2_mul_ck>; | 86 | clocks = <&dpll4_m2x2_mul_ck>; |
82 | ti,bit-shift = <0x1b>; | 87 | ti,bit-shift = <0x1b>; |
83 | reg = <0x48004d00 0x4>; | 88 | reg = <0x0d00>; |
84 | ti,set-bit-to-disable; | 89 | ti,set-bit-to-disable; |
85 | }; | 90 | }; |
91 | |||
92 | vlynq_gate_fck: vlynq_gate_fck { | ||
93 | #clock-cells = <0>; | ||
94 | compatible = "ti,composite-gate-clock"; | ||
95 | clocks = <&core_ck>; | ||
96 | ti,bit-shift = <3>; | ||
97 | reg = <0x0200>; | ||
98 | }; | ||
99 | |||
100 | sys_clkout2_src_gate: sys_clkout2_src_gate { | ||
101 | #clock-cells = <0>; | ||
102 | compatible = "ti,composite-no-wait-gate-clock"; | ||
103 | clocks = <&core_ck>; | ||
104 | ti,bit-shift = <15>; | ||
105 | reg = <0x0070>; | ||
106 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/ti/interface.txt b/Documentation/devicetree/bindings/clock/ti/interface.txt index 064e8caccac3..3111a409fea6 100644 --- a/Documentation/devicetree/bindings/clock/ti/interface.txt +++ b/Documentation/devicetree/bindings/clock/ti/interface.txt | |||
@@ -21,6 +21,8 @@ Required properties: | |||
21 | "ti,omap3-dss-interface-clock" - interface clock with DSS specific HW handling | 21 | "ti,omap3-dss-interface-clock" - interface clock with DSS specific HW handling |
22 | "ti,omap3-ssi-interface-clock" - interface clock with SSI specific HW handling | 22 | "ti,omap3-ssi-interface-clock" - interface clock with SSI specific HW handling |
23 | "ti,am35xx-interface-clock" - interface clock with AM35xx specific HW handling | 23 | "ti,am35xx-interface-clock" - interface clock with AM35xx specific HW handling |
24 | "ti,omap2430-interface-clock" - interface clock with OMAP2430 specific HW | ||
25 | handling | ||
24 | - #clock-cells : from common clock binding; shall be set to 0 | 26 | - #clock-cells : from common clock binding; shall be set to 0 |
25 | - clocks : link to phandle of parent clock | 27 | - clocks : link to phandle of parent clock |
26 | - reg : base address for the control register | 28 | - reg : base address for the control register |
diff --git a/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt b/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt index efa8b8451f93..b48f4ef31d93 100644 --- a/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt +++ b/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt | |||
@@ -136,6 +136,7 @@ of the following host1x client modules: | |||
136 | - compatible: "nvidia,tegra<chip>-hdmi" | 136 | - compatible: "nvidia,tegra<chip>-hdmi" |
137 | - reg: Physical base address and length of the controller's registers. | 137 | - reg: Physical base address and length of the controller's registers. |
138 | - interrupts: The interrupt outputs from the controller. | 138 | - interrupts: The interrupt outputs from the controller. |
139 | - hdmi-supply: supply for the +5V HDMI connector pin | ||
139 | - vdd-supply: regulator for supply voltage | 140 | - vdd-supply: regulator for supply voltage |
140 | - pll-supply: regulator for PLL | 141 | - pll-supply: regulator for PLL |
141 | - clocks: Must contain an entry for each entry in clock-names. | 142 | - clocks: Must contain an entry for each entry in clock-names. |
@@ -180,6 +181,7 @@ of the following host1x client modules: | |||
180 | See ../reset/reset.txt for details. | 181 | See ../reset/reset.txt for details. |
181 | - reset-names: Must include the following entries: | 182 | - reset-names: Must include the following entries: |
182 | - dsi | 183 | - dsi |
184 | - avdd-dsi-supply: phandle of a supply that powers the DSI controller | ||
183 | - nvidia,mipi-calibrate: Should contain a phandle and a specifier specifying | 185 | - nvidia,mipi-calibrate: Should contain a phandle and a specifier specifying |
184 | which pads are used by this DSI output and need to be calibrated. See also | 186 | which pads are used by this DSI output and need to be calibrated. See also |
185 | ../mipi/nvidia,tegra114-mipi.txt. | 187 | ../mipi/nvidia,tegra114-mipi.txt. |
diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.txt b/Documentation/devicetree/bindings/leds/leds-lp55xx.txt index c55b8c016a9e..1b66a413fb9d 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp55xx.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp55xx.txt | |||
@@ -1,7 +1,13 @@ | |||
1 | Binding for TI/National Semiconductor LP55xx Led Drivers | 1 | Binding for TI/National Semiconductor LP55xx Led Drivers |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: "national,lp5521" or "national,lp5523" or "ti,lp5562" or "ti,lp8501" | 4 | - compatible: one of |
5 | national,lp5521 | ||
6 | national,lp5523 | ||
7 | ti,lp55231 | ||
8 | ti,lp5562 | ||
9 | ti,lp8501 | ||
10 | |||
5 | - reg: I2C slave address | 11 | - reg: I2C slave address |
6 | - clock-mode: Input clock mode, (0: automode, 1: internal, 2: external) | 12 | - clock-mode: Input clock mode, (0: automode, 1: internal, 2: external) |
7 | 13 | ||
diff --git a/Documentation/devicetree/bindings/leds/leds-pwm.txt b/Documentation/devicetree/bindings/leds/leds-pwm.txt index 7297107cf832..6c6583c35f2f 100644 --- a/Documentation/devicetree/bindings/leds/leds-pwm.txt +++ b/Documentation/devicetree/bindings/leds/leds-pwm.txt | |||
@@ -13,6 +13,8 @@ LED sub-node properties: | |||
13 | For the pwms and pwm-names property please refer to: | 13 | For the pwms and pwm-names property please refer to: |
14 | Documentation/devicetree/bindings/pwm/pwm.txt | 14 | Documentation/devicetree/bindings/pwm/pwm.txt |
15 | - max-brightness : Maximum brightness possible for the LED | 15 | - max-brightness : Maximum brightness possible for the LED |
16 | - active-low : (optional) For PWMs where the LED is wired to supply | ||
17 | rather than ground. | ||
16 | - label : (optional) | 18 | - label : (optional) |
17 | see Documentation/devicetree/bindings/leds/common.txt | 19 | see Documentation/devicetree/bindings/leds/common.txt |
18 | - linux,default-trigger : (optional) | 20 | - linux,default-trigger : (optional) |
diff --git a/Documentation/devicetree/bindings/mfd/twl4030-power.txt b/Documentation/devicetree/bindings/mfd/twl4030-power.txt index 8e15ec35ac99..b9ee7b98d3e2 100644 --- a/Documentation/devicetree/bindings/mfd/twl4030-power.txt +++ b/Documentation/devicetree/bindings/mfd/twl4030-power.txt | |||
@@ -5,7 +5,22 @@ to control the power resources, including power scripts. For now, the | |||
5 | binding only supports the complete shutdown of the system after poweroff. | 5 | binding only supports the complete shutdown of the system after poweroff. |
6 | 6 | ||
7 | Required properties: | 7 | Required properties: |
8 | - compatible : must be "ti,twl4030-power" | 8 | - compatible : must be one of the following |
9 | "ti,twl4030-power" | ||
10 | "ti,twl4030-power-reset" | ||
11 | "ti,twl4030-power-idle" | ||
12 | "ti,twl4030-power-idle-osc-off" | ||
13 | |||
14 | The use of ti,twl4030-power-reset is recommended at least on | ||
15 | 3530 that needs a special configuration for warm reset to work. | ||
16 | |||
17 | When using ti,twl4030-power-idle, the TI recommended configuration | ||
18 | for idle modes is loaded to the tlw4030 PMIC. | ||
19 | |||
20 | When using ti,twl4030-power-idle-osc-off, the TI recommended | ||
21 | configuration is used with the external oscillator being shut | ||
22 | down during off-idle. Note that this does not work on all boards | ||
23 | depending on how the external oscillator is wired. | ||
9 | 24 | ||
10 | Optional properties: | 25 | Optional properties: |
11 | - ti,use_poweroff: With this flag, the chip will initiates an ACTIVE-to-OFF or | 26 | - ti,use_poweroff: With this flag, the chip will initiates an ACTIVE-to-OFF or |
diff --git a/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt b/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt new file mode 100644 index 000000000000..d01ed63d3ebb --- /dev/null +++ b/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt | |||
@@ -0,0 +1,17 @@ | |||
1 | * AMD 10GbE PHY driver (amd-xgbe-phy) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "amd,xgbe-phy-seattle-v1a" and | ||
5 | "ethernet-phy-ieee802.3-c45" | ||
6 | - reg: Address and length of the register sets for the device | ||
7 | - SerDes Rx/Tx registers | ||
8 | - SerDes integration registers (1/2) | ||
9 | - SerDes integration registers (2/2) | ||
10 | |||
11 | Example: | ||
12 | xgbe_phy@e1240800 { | ||
13 | compatible = "amd,xgbe-phy-seattle-v1a", "ethernet-phy-ieee802.3-c45"; | ||
14 | reg = <0 0xe1240800 0 0x00400>, | ||
15 | <0 0xe1250000 0 0x00060>, | ||
16 | <0 0xe1250080 0 0x00004>; | ||
17 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/amd-xgbe.txt b/Documentation/devicetree/bindings/net/amd-xgbe.txt new file mode 100644 index 000000000000..ea0c7908a3b8 --- /dev/null +++ b/Documentation/devicetree/bindings/net/amd-xgbe.txt | |||
@@ -0,0 +1,34 @@ | |||
1 | * AMD 10GbE driver (amd-xgbe) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "amd,xgbe-seattle-v1a" | ||
5 | - reg: Address and length of the register sets for the device | ||
6 | - MAC registers | ||
7 | - PCS registers | ||
8 | - interrupt-parent: Should be the phandle for the interrupt controller | ||
9 | that services interrupts for this device | ||
10 | - interrupts: Should contain the amd-xgbe interrupt | ||
11 | - clocks: Should be the DMA clock for the amd-xgbe device (used for | ||
12 | calculating the correct Rx interrupt watchdog timer value on a DMA | ||
13 | channel for coalescing) | ||
14 | - clock-names: Should be the name of the DMA clock, "dma_clk" | ||
15 | - phy-handle: See ethernet.txt file in the same directory | ||
16 | - phy-mode: See ethernet.txt file in the same directory | ||
17 | |||
18 | Optional properties: | ||
19 | - mac-address: mac address to be assigned to the device. Can be overridden | ||
20 | by UEFI. | ||
21 | |||
22 | Example: | ||
23 | xgbe@e0700000 { | ||
24 | compatible = "amd,xgbe-seattle-v1a"; | ||
25 | reg = <0 0xe0700000 0 0x80000>, | ||
26 | <0 0xe0780000 0 0x80000>; | ||
27 | interrupt-parent = <&gic>; | ||
28 | interrupts = <0 325 4>; | ||
29 | clocks = <&xgbe_clk>; | ||
30 | clock-names = "dma_clk"; | ||
31 | phy-handle = <&phy>; | ||
32 | phy-mode = "xgmii"; | ||
33 | mac-address = [ 02 a1 a2 a3 a4 a5 ]; | ||
34 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/broadcom-bcmgenet.txt b/Documentation/devicetree/bindings/net/broadcom-bcmgenet.txt index f2febb94550e..451fef26b4df 100644 --- a/Documentation/devicetree/bindings/net/broadcom-bcmgenet.txt +++ b/Documentation/devicetree/bindings/net/broadcom-bcmgenet.txt | |||
@@ -24,7 +24,7 @@ Optional properties: | |||
24 | - fixed-link: When the GENET interface is connected to a MoCA hardware block or | 24 | - fixed-link: When the GENET interface is connected to a MoCA hardware block or |
25 | when operating in a RGMII to RGMII type of connection, or when the MDIO bus is | 25 | when operating in a RGMII to RGMII type of connection, or when the MDIO bus is |
26 | voluntarily disabled, this property should be used to describe the "fixed link". | 26 | voluntarily disabled, this property should be used to describe the "fixed link". |
27 | See Documentation/devicetree/bindings/net/fsl-tsec-phy.txt for information on | 27 | See Documentation/devicetree/bindings/net/fixed-link.txt for information on |
28 | the property specifics | 28 | the property specifics |
29 | 29 | ||
30 | Required child nodes: | 30 | Required child nodes: |
diff --git a/Documentation/devicetree/bindings/net/broadcom-systemport.txt b/Documentation/devicetree/bindings/net/broadcom-systemport.txt new file mode 100644 index 000000000000..c183ea90d9bc --- /dev/null +++ b/Documentation/devicetree/bindings/net/broadcom-systemport.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | * Broadcom BCM7xxx Ethernet Systemport Controller (SYSTEMPORT) | ||
2 | |||
3 | Required properties: | ||
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. | ||
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 | ||
8 | - 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 | Ethernet switch/PHY, see Documentation/devicetree/bindings/net/ethernet.txt | ||
11 | - fixed-link: see Documentation/devicetree/bindings/net/fixed-link.txt for | ||
12 | the property specific details | ||
13 | |||
14 | Optional properties: | ||
15 | - systemport,num-tier2-arb: number of tier 2 arbiters, an integer | ||
16 | - systemport,num-tier1-arb: number of tier 1 arbiters, an integer | ||
17 | - systemport,num-txq: number of HW transmit queues, an integer | ||
18 | - systemport,num-rxq: number of HW receive queues, an integer | ||
19 | |||
20 | Example: | ||
21 | ethernet@f04a0000 { | ||
22 | compatible = "brcm,systemport-v1.00"; | ||
23 | reg = <0xf04a0000 0x4650>; | ||
24 | local-mac-address = [ 00 11 22 33 44 55 ]; | ||
25 | fixed-link = <0 1 1000 0 0>; | ||
26 | phy-mode = "gmii"; | ||
27 | interrupts = <0x0 0x16 0x0>, | ||
28 | <0x0 0x17 0x0>; | ||
29 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/can/xilinx_can.txt b/Documentation/devicetree/bindings/net/can/xilinx_can.txt new file mode 100644 index 000000000000..fe38847d8e26 --- /dev/null +++ b/Documentation/devicetree/bindings/net/can/xilinx_can.txt | |||
@@ -0,0 +1,44 @@ | |||
1 | Xilinx Axi CAN/Zynq CANPS controller Device Tree Bindings | ||
2 | --------------------------------------------------------- | ||
3 | |||
4 | Required properties: | ||
5 | - compatible : Should be "xlnx,zynq-can-1.0" for Zynq CAN | ||
6 | controllers and "xlnx,axi-can-1.00.a" for Axi CAN | ||
7 | controllers. | ||
8 | - reg : Physical base address and size of the Axi CAN/Zynq | ||
9 | CANPS registers map. | ||
10 | - interrupts : Property with a value describing the interrupt | ||
11 | number. | ||
12 | - interrupt-parent : Must be core interrupt controller | ||
13 | - clock-names : List of input clock names - "can_clk", "pclk" | ||
14 | (For CANPS), "can_clk" , "s_axi_aclk"(For AXI CAN) | ||
15 | (See clock bindings for details). | ||
16 | - clocks : Clock phandles (see clock bindings for details). | ||
17 | - tx-fifo-depth : Can Tx fifo depth. | ||
18 | - rx-fifo-depth : Can Rx fifo depth. | ||
19 | |||
20 | |||
21 | Example: | ||
22 | |||
23 | For Zynq CANPS Dts file: | ||
24 | zynq_can_0: can@e0008000 { | ||
25 | compatible = "xlnx,zynq-can-1.0"; | ||
26 | clocks = <&clkc 19>, <&clkc 36>; | ||
27 | clock-names = "can_clk", "pclk"; | ||
28 | reg = <0xe0008000 0x1000>; | ||
29 | interrupts = <0 28 4>; | ||
30 | interrupt-parent = <&intc>; | ||
31 | tx-fifo-depth = <0x40>; | ||
32 | rx-fifo-depth = <0x40>; | ||
33 | }; | ||
34 | For Axi CAN Dts file: | ||
35 | axi_can_0: axi-can@40000000 { | ||
36 | compatible = "xlnx,axi-can-1.00.a"; | ||
37 | clocks = <&clkc 0>, <&clkc 1>; | ||
38 | clock-names = "can_clk","s_axi_aclk" ; | ||
39 | reg = <0x40000000 0x10000>; | ||
40 | interrupt-parent = <&intc>; | ||
41 | interrupts = <0 59 1>; | ||
42 | tx-fifo-depth = <0x40>; | ||
43 | rx-fifo-depth = <0x40>; | ||
44 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt b/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt index 7ff57a119f81..764c0c79b43d 100644 --- a/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt +++ b/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt | |||
@@ -2,7 +2,9 @@ TI CPSW Phy mode Selection Device Tree Bindings | |||
2 | ----------------------------------------------- | 2 | ----------------------------------------------- |
3 | 3 | ||
4 | Required properties: | 4 | Required properties: |
5 | - compatible : Should be "ti,am3352-cpsw-phy-sel" | 5 | - compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and |
6 | "ti,dra7xx-cpsw-phy-sel" for dra7xx platform | ||
7 | "ti,am43xx-cpsw-phy-sel" for am43xx platform | ||
6 | - reg : physical base address and size of the cpsw | 8 | - reg : physical base address and size of the cpsw |
7 | registers map | 9 | registers map |
8 | - reg-names : names of the register map given in "reg" node | 10 | - reg-names : names of the register map given in "reg" node |
diff --git a/Documentation/devicetree/bindings/net/fixed-link.txt b/Documentation/devicetree/bindings/net/fixed-link.txt new file mode 100644 index 000000000000..82bf7e0f47b6 --- /dev/null +++ b/Documentation/devicetree/bindings/net/fixed-link.txt | |||
@@ -0,0 +1,42 @@ | |||
1 | Fixed link Device Tree binding | ||
2 | ------------------------------ | ||
3 | |||
4 | Some Ethernet MACs have a "fixed link", and are not connected to a | ||
5 | normal MDIO-managed PHY device. For those situations, a Device Tree | ||
6 | binding allows to describe a "fixed link". | ||
7 | |||
8 | Such a fixed link situation is described by creating a 'fixed-link' | ||
9 | sub-node of the Ethernet MAC device node, with the following | ||
10 | properties: | ||
11 | |||
12 | * 'speed' (integer, mandatory), to indicate the link speed. Accepted | ||
13 | values are 10, 100 and 1000 | ||
14 | * 'full-duplex' (boolean, optional), to indicate that full duplex is | ||
15 | used. When absent, half duplex is assumed. | ||
16 | * 'pause' (boolean, optional), to indicate that pause should be | ||
17 | enabled. | ||
18 | * 'asym-pause' (boolean, optional), to indicate that asym_pause should | ||
19 | be enabled. | ||
20 | |||
21 | Old, deprecated 'fixed-link' binding: | ||
22 | |||
23 | * A 'fixed-link' property in the Ethernet MAC node, with 5 cells, of the | ||
24 | form <a b c d e> with the following accepted values: | ||
25 | - a: emulated PHY ID, choose any but but unique to the all specified | ||
26 | fixed-links, from 0 to 31 | ||
27 | - b: duplex configuration: 0 for half duplex, 1 for full duplex | ||
28 | - c: link speed in Mbits/sec, accepted values are: 10, 100 and 1000 | ||
29 | - d: pause configuration: 0 for no pause, 1 for pause | ||
30 | - e: asymmetric pause configuration: 0 for no asymmetric pause, 1 for | ||
31 | asymmetric pause | ||
32 | |||
33 | Example: | ||
34 | |||
35 | ethernet@0 { | ||
36 | ... | ||
37 | fixed-link { | ||
38 | speed = <1000>; | ||
39 | full-duplex; | ||
40 | }; | ||
41 | ... | ||
42 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/fsl-tsec-phy.txt b/Documentation/devicetree/bindings/net/fsl-tsec-phy.txt index 737cdef4f903..be6ea8960f20 100644 --- a/Documentation/devicetree/bindings/net/fsl-tsec-phy.txt +++ b/Documentation/devicetree/bindings/net/fsl-tsec-phy.txt | |||
@@ -42,10 +42,7 @@ Properties: | |||
42 | interrupt. For TSEC and eTSEC devices, the first interrupt is | 42 | interrupt. For TSEC and eTSEC devices, the first interrupt is |
43 | transmit, the second is receive, and the third is error. | 43 | transmit, the second is receive, and the third is error. |
44 | - phy-handle : See ethernet.txt file in the same directory. | 44 | - phy-handle : See ethernet.txt file in the same directory. |
45 | - fixed-link : <a b c d e> where a is emulated phy id - choose any, | 45 | - fixed-link : See fixed-link.txt in the same directory. |
46 | but unique to the all specified fixed-links, b is duplex - 0 half, | ||
47 | 1 full, c is link speed - d#10/d#100/d#1000, d is pause - 0 no | ||
48 | pause, 1 pause, e is asym_pause - 0 no asym_pause, 1 asym_pause. | ||
49 | - phy-connection-type : See ethernet.txt file in the same directory. | 46 | - phy-connection-type : See ethernet.txt file in the same directory. |
50 | This property is only really needed if the connection is of type | 47 | This property is only really needed if the connection is of type |
51 | "rgmii-id", as all other connection types are detected by hardware. | 48 | "rgmii-id", as all other connection types are detected by hardware. |
diff --git a/Documentation/devicetree/bindings/net/hisilicon-hix5hd2-gmac.txt b/Documentation/devicetree/bindings/net/hisilicon-hix5hd2-gmac.txt new file mode 100644 index 000000000000..75d398bb1fbb --- /dev/null +++ b/Documentation/devicetree/bindings/net/hisilicon-hix5hd2-gmac.txt | |||
@@ -0,0 +1,36 @@ | |||
1 | Hisilicon hix5hd2 gmac controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "hisilicon,hix5hd2-gmac". | ||
5 | - reg: specifies base physical address(s) and size of the device registers. | ||
6 | The first region is the MAC register base and size. | ||
7 | The second region is external interface control register. | ||
8 | - interrupts: should contain the MAC interrupt. | ||
9 | - #address-cells: must be <1>. | ||
10 | - #size-cells: must be <0>. | ||
11 | - phy-mode: see ethernet.txt [1]. | ||
12 | - phy-handle: see ethernet.txt [1]. | ||
13 | - mac-address: see ethernet.txt [1]. | ||
14 | - clocks: clock phandle and specifier pair. | ||
15 | |||
16 | - PHY subnode: inherits from phy binding [2] | ||
17 | |||
18 | [1] Documentation/devicetree/bindings/net/ethernet.txt | ||
19 | [2] Documentation/devicetree/bindings/net/phy.txt | ||
20 | |||
21 | Example: | ||
22 | gmac0: ethernet@f9840000 { | ||
23 | compatible = "hisilicon,hix5hd2-gmac"; | ||
24 | reg = <0xf9840000 0x1000>,<0xf984300c 0x4>; | ||
25 | interrupts = <0 71 4>; | ||
26 | #address-cells = <1>; | ||
27 | #size-cells = <0>; | ||
28 | phy-mode = "mii"; | ||
29 | phy-handle = <&phy2>; | ||
30 | mac-address = [00 00 00 00 00 00]; | ||
31 | clocks = <&clock HIX5HD2_MAC0_CLK>; | ||
32 | |||
33 | phy2: ethernet-phy@2 { | ||
34 | reg = <2>; | ||
35 | }; | ||
36 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/ieee802154/at86rf230.txt b/Documentation/devicetree/bindings/net/ieee802154/at86rf230.txt new file mode 100644 index 000000000000..d3bbdded4cbe --- /dev/null +++ b/Documentation/devicetree/bindings/net/ieee802154/at86rf230.txt | |||
@@ -0,0 +1,23 @@ | |||
1 | * AT86RF230 IEEE 802.15.4 * | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "atmel,at86rf230", "atmel,at86rf231", | ||
5 | "atmel,at86rf233" or "atmel,at86rf212" | ||
6 | - spi-max-frequency: maximal bus speed, should be set to 7500000 depends | ||
7 | sync or async operation mode | ||
8 | - reg: the chipselect index | ||
9 | - interrupts: the interrupt generated by the device | ||
10 | |||
11 | Optional properties: | ||
12 | - reset-gpio: GPIO spec for the rstn pin | ||
13 | - sleep-gpio: GPIO spec for the slp_tr pin | ||
14 | |||
15 | Example: | ||
16 | |||
17 | at86rf231@0 { | ||
18 | compatible = "atmel,at86rf231"; | ||
19 | spi-max-frequency = <7500000>; | ||
20 | reg = <0>; | ||
21 | interrupts = <19 1>; | ||
22 | interrupt-parent = <&gpio3>; | ||
23 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/micrel-ks8851.txt b/Documentation/devicetree/bindings/net/micrel-ks8851.txt index d54d0cc79487..bbdf9a7359a2 100644 --- a/Documentation/devicetree/bindings/net/micrel-ks8851.txt +++ b/Documentation/devicetree/bindings/net/micrel-ks8851.txt | |||
@@ -1,9 +1,18 @@ | |||
1 | Micrel KS8851 Ethernet mac | 1 | Micrel KS8851 Ethernet mac (MLL) |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible = "micrel,ks8851-ml" of parallel interface | 4 | - compatible = "micrel,ks8851-mll" of parallel interface |
5 | - reg : 2 physical address and size of registers for data and command | 5 | - reg : 2 physical address and size of registers for data and command |
6 | - interrupts : interrupt connection | 6 | - interrupts : interrupt connection |
7 | 7 | ||
8 | Micrel KS8851 Ethernet mac (SPI) | ||
9 | |||
10 | Required properties: | ||
11 | - compatible = "micrel,ks8851" or the deprecated "ks8851" | ||
12 | - reg : chip select number | ||
13 | - interrupts : interrupt connection | ||
14 | |||
8 | Optional properties: | 15 | Optional properties: |
9 | - vdd-supply: supply for Ethernet mac | 16 | - vdd-supply: analog 3.3V supply for Ethernet mac |
17 | - vdd-io-supply: digital 1.8V IO supply for Ethernet mac | ||
18 | - reset-gpios: reset_n input pin | ||
diff --git a/Documentation/devicetree/bindings/net/micrel-ksz9021.txt b/Documentation/devicetree/bindings/net/micrel-ksz9021.txt deleted file mode 100644 index 997a63f1aea1..000000000000 --- a/Documentation/devicetree/bindings/net/micrel-ksz9021.txt +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | Micrel KSZ9021 Gigabit Ethernet PHY | ||
2 | |||
3 | Some boards require special tuning values, particularly when it comes to | ||
4 | clock delays. You can specify clock delay values by adding | ||
5 | micrel-specific properties to an Ethernet OF device node. | ||
6 | |||
7 | All skew control options are specified in picoseconds. The minimum | ||
8 | value is 0, and the maximum value is 3000. | ||
9 | |||
10 | Optional properties: | ||
11 | - rxc-skew-ps : Skew control of RXC pad | ||
12 | - rxdv-skew-ps : Skew control of RX CTL pad | ||
13 | - txc-skew-ps : Skew control of TXC pad | ||
14 | - txen-skew-ps : Skew control of TX_CTL pad | ||
15 | - rxd0-skew-ps : Skew control of RX data 0 pad | ||
16 | - rxd1-skew-ps : Skew control of RX data 1 pad | ||
17 | - rxd2-skew-ps : Skew control of RX data 2 pad | ||
18 | - rxd3-skew-ps : Skew control of RX data 3 pad | ||
19 | - txd0-skew-ps : Skew control of TX data 0 pad | ||
20 | - txd1-skew-ps : Skew control of TX data 1 pad | ||
21 | - txd2-skew-ps : Skew control of TX data 2 pad | ||
22 | - txd3-skew-ps : Skew control of TX data 3 pad | ||
23 | |||
24 | Examples: | ||
25 | |||
26 | /* Attach to an Ethernet device with autodetected PHY */ | ||
27 | &enet { | ||
28 | rxc-skew-ps = <3000>; | ||
29 | rxdv-skew-ps = <0>; | ||
30 | txc-skew-ps = <3000>; | ||
31 | txen-skew-ps = <0>; | ||
32 | status = "okay"; | ||
33 | }; | ||
34 | |||
35 | /* Attach to an explicitly-specified PHY */ | ||
36 | mdio { | ||
37 | phy0: ethernet-phy@0 { | ||
38 | rxc-skew-ps = <3000>; | ||
39 | rxdv-skew-ps = <0>; | ||
40 | txc-skew-ps = <3000>; | ||
41 | txen-skew-ps = <0>; | ||
42 | reg = <0>; | ||
43 | }; | ||
44 | }; | ||
45 | ethernet@70000 { | ||
46 | status = "okay"; | ||
47 | phy = <&phy0>; | ||
48 | phy-mode = "rgmii-id"; | ||
49 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/micrel-ksz90x1.txt b/Documentation/devicetree/bindings/net/micrel-ksz90x1.txt new file mode 100644 index 000000000000..692076fda0e5 --- /dev/null +++ b/Documentation/devicetree/bindings/net/micrel-ksz90x1.txt | |||
@@ -0,0 +1,83 @@ | |||
1 | Micrel KSZ9021/KSZ9031 Gigabit Ethernet PHY | ||
2 | |||
3 | Some boards require special tuning values, particularly when it comes to | ||
4 | clock delays. You can specify clock delay values by adding | ||
5 | micrel-specific properties to an Ethernet OF device node. | ||
6 | |||
7 | Note that these settings are applied after any phy-specific fixup from | ||
8 | phy_fixup_list (see phy_init_hw() from drivers/net/phy/phy_device.c), | ||
9 | and therefore may overwrite them. | ||
10 | |||
11 | KSZ9021: | ||
12 | |||
13 | All skew control options are specified in picoseconds. The minimum | ||
14 | value is 0, the maximum value is 3000, and it is incremented by 200ps | ||
15 | steps. | ||
16 | |||
17 | Optional properties: | ||
18 | |||
19 | - rxc-skew-ps : Skew control of RXC pad | ||
20 | - rxdv-skew-ps : Skew control of RX CTL pad | ||
21 | - txc-skew-ps : Skew control of TXC pad | ||
22 | - txen-skew-ps : Skew control of TX CTL pad | ||
23 | - rxd0-skew-ps : Skew control of RX data 0 pad | ||
24 | - rxd1-skew-ps : Skew control of RX data 1 pad | ||
25 | - rxd2-skew-ps : Skew control of RX data 2 pad | ||
26 | - rxd3-skew-ps : Skew control of RX data 3 pad | ||
27 | - txd0-skew-ps : Skew control of TX data 0 pad | ||
28 | - txd1-skew-ps : Skew control of TX data 1 pad | ||
29 | - txd2-skew-ps : Skew control of TX data 2 pad | ||
30 | - txd3-skew-ps : Skew control of TX data 3 pad | ||
31 | |||
32 | KSZ9031: | ||
33 | |||
34 | All skew control options are specified in picoseconds. The minimum | ||
35 | value is 0, and the maximum is property-dependent. The increment | ||
36 | step is 60ps. | ||
37 | |||
38 | Optional properties: | ||
39 | |||
40 | Maximum value of 1860: | ||
41 | |||
42 | - rxc-skew-ps : Skew control of RX clock pad | ||
43 | - txc-skew-ps : Skew control of TX clock pad | ||
44 | |||
45 | Maximum value of 900: | ||
46 | |||
47 | - rxdv-skew-ps : Skew control of RX CTL pad | ||
48 | - txen-skew-ps : Skew control of TX CTL pad | ||
49 | - rxd0-skew-ps : Skew control of RX data 0 pad | ||
50 | - rxd1-skew-ps : Skew control of RX data 1 pad | ||
51 | - rxd2-skew-ps : Skew control of RX data 2 pad | ||
52 | - rxd3-skew-ps : Skew control of RX data 3 pad | ||
53 | - txd0-skew-ps : Skew control of TX data 0 pad | ||
54 | - txd1-skew-ps : Skew control of TX data 1 pad | ||
55 | - txd2-skew-ps : Skew control of TX data 2 pad | ||
56 | - txd3-skew-ps : Skew control of TX data 3 pad | ||
57 | |||
58 | Examples: | ||
59 | |||
60 | /* Attach to an Ethernet device with autodetected PHY */ | ||
61 | &enet { | ||
62 | rxc-skew-ps = <3000>; | ||
63 | rxdv-skew-ps = <0>; | ||
64 | txc-skew-ps = <3000>; | ||
65 | txen-skew-ps = <0>; | ||
66 | status = "okay"; | ||
67 | }; | ||
68 | |||
69 | /* Attach to an explicitly-specified PHY */ | ||
70 | mdio { | ||
71 | phy0: ethernet-phy@0 { | ||
72 | rxc-skew-ps = <3000>; | ||
73 | rxdv-skew-ps = <0>; | ||
74 | txc-skew-ps = <3000>; | ||
75 | txen-skew-ps = <0>; | ||
76 | reg = <0>; | ||
77 | }; | ||
78 | }; | ||
79 | ethernet@70000 { | ||
80 | status = "okay"; | ||
81 | phy = <&phy0>; | ||
82 | phy-mode = "rgmii-id"; | ||
83 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/nfc/pn544.txt b/Documentation/devicetree/bindings/net/nfc/pn544.txt new file mode 100644 index 000000000000..dab69f36167c --- /dev/null +++ b/Documentation/devicetree/bindings/net/nfc/pn544.txt | |||
@@ -0,0 +1,35 @@ | |||
1 | * NXP Semiconductors PN544 NFC Controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "nxp,pn544-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 | - enable-gpios: Output GPIO pin used for enabling/disabling the PN544 | ||
10 | - firmware-gpios: Output GPIO pin used to enter firmware download mode | ||
11 | |||
12 | Optional SoC Specific Properties: | ||
13 | - pinctrl-names: Contains only one value - "default". | ||
14 | - pintctrl-0: Specifies the pin control groups used for this controller. | ||
15 | |||
16 | Example (for ARM-based BeagleBone with PN544 on I2C2): | ||
17 | |||
18 | &i2c2 { | ||
19 | |||
20 | status = "okay"; | ||
21 | |||
22 | pn544: pn544@28 { | ||
23 | |||
24 | compatible = "nxp,pn544-i2c"; | ||
25 | |||
26 | reg = <0x28>; | ||
27 | clock-frequency = <400000>; | ||
28 | |||
29 | interrupt-parent = <&gpio1>; | ||
30 | interrupts = <17 GPIO_ACTIVE_HIGH>; | ||
31 | |||
32 | enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; | ||
33 | firmware-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; | ||
34 | }; | ||
35 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/nfc/st21nfca.txt b/Documentation/devicetree/bindings/net/nfc/st21nfca.txt new file mode 100644 index 000000000000..e4faa2e8dfeb --- /dev/null +++ b/Documentation/devicetree/bindings/net/nfc/st21nfca.txt | |||
@@ -0,0 +1,33 @@ | |||
1 | * STMicroelectronics SAS. ST21NFCA NFC Controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "st,st21nfca_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 | - enable-gpios: Output GPIO pin used for enabling/disabling the ST21NFCA | ||
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 ST21NFCA on I2C2): | ||
16 | |||
17 | &i2c2 { | ||
18 | |||
19 | status = "okay"; | ||
20 | |||
21 | st21nfca: st21nfca@1 { | ||
22 | |||
23 | compatible = "st,st21nfca_i2c"; | ||
24 | |||
25 | reg = <0x01>; | ||
26 | clock-frequency = <400000>; | ||
27 | |||
28 | interrupt-parent = <&gpio5>; | ||
29 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; | ||
30 | |||
31 | enable-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; | ||
32 | }; | ||
33 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/nfc/trf7970a.txt b/Documentation/devicetree/bindings/net/nfc/trf7970a.txt index 8dd3ef7bc56b..1e436133685f 100644 --- a/Documentation/devicetree/bindings/net/nfc/trf7970a.txt +++ b/Documentation/devicetree/bindings/net/nfc/trf7970a.txt | |||
@@ -12,6 +12,7 @@ Required properties: | |||
12 | Optional SoC Specific Properties: | 12 | Optional SoC Specific Properties: |
13 | - pinctrl-names: Contains only one value - "default". | 13 | - pinctrl-names: Contains only one value - "default". |
14 | - pintctrl-0: Specifies the pin control groups used for this controller. | 14 | - pintctrl-0: Specifies the pin control groups used for this controller. |
15 | - autosuspend-delay: Specify autosuspend delay in milliseconds. | ||
15 | 16 | ||
16 | Example (for ARM-based BeagleBone with TRF7970A on SPI1): | 17 | Example (for ARM-based BeagleBone with TRF7970A on SPI1): |
17 | 18 | ||
@@ -29,6 +30,7 @@ Example (for ARM-based BeagleBone with TRF7970A on SPI1): | |||
29 | ti,enable-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>, | 30 | ti,enable-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>, |
30 | <&gpio2 5 GPIO_ACTIVE_LOW>; | 31 | <&gpio2 5 GPIO_ACTIVE_LOW>; |
31 | vin-supply = <&ldo3_reg>; | 32 | vin-supply = <&ldo3_reg>; |
33 | autosuspend-delay = <30000>; | ||
32 | status = "okay"; | 34 | status = "okay"; |
33 | }; | 35 | }; |
34 | }; | 36 | }; |
diff --git a/Documentation/devicetree/bindings/net/via-rhine.txt b/Documentation/devicetree/bindings/net/via-rhine.txt new file mode 100644 index 000000000000..334eca2bf937 --- /dev/null +++ b/Documentation/devicetree/bindings/net/via-rhine.txt | |||
@@ -0,0 +1,17 @@ | |||
1 | * VIA Rhine 10/100 Network Controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : Should be "via,vt8500-rhine" for integrated | ||
5 | Rhine controllers found in VIA VT8500, WonderMedia WM8950 | ||
6 | and similar. These are listed as 1106:3106 rev. 0x84 on the | ||
7 | virtual PCI bus under vendor-provided kernels | ||
8 | - reg : Address and length of the io space | ||
9 | - interrupts : Should contain the controller interrupt line | ||
10 | |||
11 | Examples: | ||
12 | |||
13 | ethernet@d8004000 { | ||
14 | compatible = "via,vt8500-rhine"; | ||
15 | reg = <0xd8004000 0x100>; | ||
16 | interrupts = <10>; | ||
17 | }; | ||
diff --git a/Documentation/devicetree/bindings/panel/auo,b133xtn01.txt b/Documentation/devicetree/bindings/panel/auo,b133xtn01.txt new file mode 100644 index 000000000000..7443b7c76769 --- /dev/null +++ b/Documentation/devicetree/bindings/panel/auo,b133xtn01.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | AU Optronics Corporation 13.3" WXGA (1366x768) TFT LCD panel | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "auo,b133xtn01" | ||
5 | |||
6 | This binding is compatible with the simple-panel binding, which is specified | ||
7 | in simple-panel.txt in this directory. | ||
diff --git a/Documentation/devicetree/bindings/panel/edt,et057090dhu.txt b/Documentation/devicetree/bindings/panel/edt,et057090dhu.txt new file mode 100644 index 000000000000..4903d7b1d947 --- /dev/null +++ b/Documentation/devicetree/bindings/panel/edt,et057090dhu.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | Emerging Display Technology Corp. 5.7" VGA TFT LCD panel | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "edt,et057090dhu" | ||
5 | |||
6 | This binding is compatible with the simple-panel binding, which is specified | ||
7 | in simple-panel.txt in this directory. | ||
diff --git a/Documentation/devicetree/bindings/panel/edt,et070080dh6.txt b/Documentation/devicetree/bindings/panel/edt,et070080dh6.txt new file mode 100644 index 000000000000..20cb38e836e4 --- /dev/null +++ b/Documentation/devicetree/bindings/panel/edt,et070080dh6.txt | |||
@@ -0,0 +1,10 @@ | |||
1 | Emerging Display Technology Corp. ET070080DH6 7.0" WVGA TFT LCD panel | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "edt,et070080dh6" | ||
5 | |||
6 | This panel is the same as ETM0700G0DH6 except for the touchscreen. | ||
7 | ET070080DH6 is the model with resistive touch. | ||
8 | |||
9 | This binding is compatible with the simple-panel binding, which is specified | ||
10 | in simple-panel.txt in this directory. | ||
diff --git a/Documentation/devicetree/bindings/panel/edt,etm0700g0dh6.txt b/Documentation/devicetree/bindings/panel/edt,etm0700g0dh6.txt new file mode 100644 index 000000000000..ee4b18053e40 --- /dev/null +++ b/Documentation/devicetree/bindings/panel/edt,etm0700g0dh6.txt | |||
@@ -0,0 +1,10 @@ | |||
1 | Emerging Display Technology Corp. ETM0700G0DH6 7.0" WVGA TFT LCD panel | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "edt,etm0700g0dh6" | ||
5 | |||
6 | This panel is the same as ET070080DH6 except for the touchscreen. | ||
7 | ETM0700G0DH6 is the model with capacitive multitouch. | ||
8 | |||
9 | This binding is compatible with the simple-panel binding, which is specified | ||
10 | in simple-panel.txt in this directory. | ||
diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt index d6fae13ff062..d0d15ee42834 100644 --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt | |||
@@ -1,15 +1,7 @@ | |||
1 | * Synopsys Designware PCIe interface | 1 | * Synopsys Designware PCIe interface |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: should contain "snps,dw-pcie" to identify the | 4 | - compatible: should contain "snps,dw-pcie" to identify the core. |
5 | core, plus an identifier for the specific instance, such | ||
6 | as "samsung,exynos5440-pcie" or "fsl,imx6q-pcie". | ||
7 | - reg: base addresses and lengths of the pcie controller, | ||
8 | the phy controller, additional register for the phy controller. | ||
9 | - interrupts: interrupt values for level interrupt, | ||
10 | pulse interrupt, special interrupt. | ||
11 | - clocks: from common clock binding: handle to pci clock. | ||
12 | - clock-names: from common clock binding: should be "pcie" and "pcie_bus". | ||
13 | - #address-cells: set to <3> | 5 | - #address-cells: set to <3> |
14 | - #size-cells: set to <2> | 6 | - #size-cells: set to <2> |
15 | - device_type: set to "pci" | 7 | - device_type: set to "pci" |
@@ -19,65 +11,11 @@ Required properties: | |||
19 | to define the mapping of the PCIe interface to interrupt | 11 | to define the mapping of the PCIe interface to interrupt |
20 | numbers. | 12 | numbers. |
21 | - num-lanes: number of lanes to use | 13 | - num-lanes: number of lanes to use |
14 | - clocks: Must contain an entry for each entry in clock-names. | ||
15 | See ../clocks/clock-bindings.txt for details. | ||
16 | - clock-names: Must include the following entries: | ||
17 | - "pcie" | ||
18 | - "pcie_bus" | ||
22 | 19 | ||
23 | Optional properties: | 20 | Optional properties: |
24 | - reset-gpio: gpio pin number of power good signal | 21 | - reset-gpio: gpio pin number of power good signal |
25 | |||
26 | Optional properties for fsl,imx6q-pcie | ||
27 | - power-on-gpio: gpio pin number of power-enable signal | ||
28 | - wake-up-gpio: gpio pin number of incoming wakeup signal | ||
29 | - disable-gpio: gpio pin number of outgoing rfkill/endpoint disable signal | ||
30 | |||
31 | Example: | ||
32 | |||
33 | SoC specific DT Entry: | ||
34 | |||
35 | pcie@290000 { | ||
36 | compatible = "samsung,exynos5440-pcie", "snps,dw-pcie"; | ||
37 | reg = <0x290000 0x1000 | ||
38 | 0x270000 0x1000 | ||
39 | 0x271000 0x40>; | ||
40 | interrupts = <0 20 0>, <0 21 0>, <0 22 0>; | ||
41 | clocks = <&clock 28>, <&clock 27>; | ||
42 | clock-names = "pcie", "pcie_bus"; | ||
43 | #address-cells = <3>; | ||
44 | #size-cells = <2>; | ||
45 | device_type = "pci"; | ||
46 | ranges = <0x00000800 0 0x40000000 0x40000000 0 0x00001000 /* configuration space */ | ||
47 | 0x81000000 0 0 0x40001000 0 0x00010000 /* downstream I/O */ | ||
48 | 0x82000000 0 0x40011000 0x40011000 0 0x1ffef000>; /* non-prefetchable memory */ | ||
49 | #interrupt-cells = <1>; | ||
50 | interrupt-map-mask = <0 0 0 0>; | ||
51 | interrupt-map = <0x0 0 &gic 53>; | ||
52 | num-lanes = <4>; | ||
53 | }; | ||
54 | |||
55 | pcie@2a0000 { | ||
56 | compatible = "samsung,exynos5440-pcie", "snps,dw-pcie"; | ||
57 | reg = <0x2a0000 0x1000 | ||
58 | 0x272000 0x1000 | ||
59 | 0x271040 0x40>; | ||
60 | interrupts = <0 23 0>, <0 24 0>, <0 25 0>; | ||
61 | clocks = <&clock 29>, <&clock 27>; | ||
62 | clock-names = "pcie", "pcie_bus"; | ||
63 | #address-cells = <3>; | ||
64 | #size-cells = <2>; | ||
65 | device_type = "pci"; | ||
66 | ranges = <0x00000800 0 0x60000000 0x60000000 0 0x00001000 /* configuration space */ | ||
67 | 0x81000000 0 0 0x60001000 0 0x00010000 /* downstream I/O */ | ||
68 | 0x82000000 0 0x60011000 0x60011000 0 0x1ffef000>; /* non-prefetchable memory */ | ||
69 | #interrupt-cells = <1>; | ||
70 | interrupt-map-mask = <0 0 0 0>; | ||
71 | interrupt-map = <0x0 0 &gic 56>; | ||
72 | num-lanes = <4>; | ||
73 | }; | ||
74 | |||
75 | Board specific DT Entry: | ||
76 | |||
77 | pcie@290000 { | ||
78 | reset-gpio = <&pin_ctrl 5 0>; | ||
79 | }; | ||
80 | |||
81 | pcie@2a0000 { | ||
82 | reset-gpio = <&pin_ctrl 22 0>; | ||
83 | }; | ||
diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt new file mode 100644 index 000000000000..9455fd0ec830 --- /dev/null +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | * Freescale i.MX6 PCIe interface | ||
2 | |||
3 | This PCIe host controller is based on the Synopsis Designware PCIe IP | ||
4 | and thus inherits all the common properties defined in designware-pcie.txt. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: "fsl,imx6q-pcie" | ||
8 | - reg: base addresse and length of the pcie controller | ||
9 | - interrupts: A list of interrupt outputs of the controller. Must contain an | ||
10 | entry for each entry in the interrupt-names property. | ||
11 | - interrupt-names: Must include the following entries: | ||
12 | - "msi": The interrupt that is asserted when an MSI is received | ||
13 | - clock-names: Must include the following additional entries: | ||
14 | - "pcie_phy" | ||
15 | |||
16 | Example: | ||
17 | |||
18 | pcie@0x01000000 { | ||
19 | compatible = "fsl,imx6q-pcie", "snps,dw-pcie"; | ||
20 | reg = <0x01ffc000 0x4000>; | ||
21 | #address-cells = <3>; | ||
22 | #size-cells = <2>; | ||
23 | device_type = "pci"; | ||
24 | ranges = <0x00000800 0 0x01f00000 0x01f00000 0 0x00080000 | ||
25 | 0x81000000 0 0 0x01f80000 0 0x00010000 | ||
26 | 0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; | ||
27 | num-lanes = <1>; | ||
28 | interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; | ||
29 | interrupt-names = "msi"; | ||
30 | #interrupt-cells = <1>; | ||
31 | interrupt-map-mask = <0 0 0 0x7>; | ||
32 | interrupt-map = <0 0 0 1 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, | ||
33 | <0 0 0 2 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, | ||
34 | <0 0 0 3 &intc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, | ||
35 | <0 0 0 4 &intc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; | ||
36 | clocks = <&clks 144>, <&clks 206>, <&clks 189>; | ||
37 | clock-names = "pcie", "pcie_bus", "pcie_phy"; | ||
38 | }; | ||
diff --git a/Documentation/devicetree/bindings/pci/samsung,exynos5440-pcie.txt b/Documentation/devicetree/bindings/pci/samsung,exynos5440-pcie.txt new file mode 100644 index 000000000000..4f9d23d2ed67 --- /dev/null +++ b/Documentation/devicetree/bindings/pci/samsung,exynos5440-pcie.txt | |||
@@ -0,0 +1,65 @@ | |||
1 | * Samsung Exynos 5440 PCIe interface | ||
2 | |||
3 | This PCIe host controller is based on the Synopsis Designware PCIe IP | ||
4 | and thus inherits all the common properties defined in designware-pcie.txt. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: "samsung,exynos5440-pcie" | ||
8 | - reg: base addresses and lengths of the pcie controller, | ||
9 | the phy controller, additional register for the phy controller. | ||
10 | - interrupts: A list of interrupt outputs for level interrupt, | ||
11 | pulse interrupt, special interrupt. | ||
12 | |||
13 | Example: | ||
14 | |||
15 | SoC specific DT Entry: | ||
16 | |||
17 | pcie@290000 { | ||
18 | compatible = "samsung,exynos5440-pcie", "snps,dw-pcie"; | ||
19 | reg = <0x290000 0x1000 | ||
20 | 0x270000 0x1000 | ||
21 | 0x271000 0x40>; | ||
22 | interrupts = <0 20 0>, <0 21 0>, <0 22 0>; | ||
23 | clocks = <&clock 28>, <&clock 27>; | ||
24 | clock-names = "pcie", "pcie_bus"; | ||
25 | #address-cells = <3>; | ||
26 | #size-cells = <2>; | ||
27 | device_type = "pci"; | ||
28 | ranges = <0x00000800 0 0x40000000 0x40000000 0 0x00001000 /* configuration space */ | ||
29 | 0x81000000 0 0 0x40001000 0 0x00010000 /* downstream I/O */ | ||
30 | 0x82000000 0 0x40011000 0x40011000 0 0x1ffef000>; /* non-prefetchable memory */ | ||
31 | #interrupt-cells = <1>; | ||
32 | interrupt-map-mask = <0 0 0 0>; | ||
33 | interrupt-map = <0 0 0 0 &gic GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; | ||
34 | num-lanes = <4>; | ||
35 | }; | ||
36 | |||
37 | pcie@2a0000 { | ||
38 | compatible = "samsung,exynos5440-pcie", "snps,dw-pcie"; | ||
39 | reg = <0x2a0000 0x1000 | ||
40 | 0x272000 0x1000 | ||
41 | 0x271040 0x40>; | ||
42 | interrupts = <0 23 0>, <0 24 0>, <0 25 0>; | ||
43 | clocks = <&clock 29>, <&clock 27>; | ||
44 | clock-names = "pcie", "pcie_bus"; | ||
45 | #address-cells = <3>; | ||
46 | #size-cells = <2>; | ||
47 | device_type = "pci"; | ||
48 | ranges = <0x00000800 0 0x60000000 0x60000000 0 0x00001000 /* configuration space */ | ||
49 | 0x81000000 0 0 0x60001000 0 0x00010000 /* downstream I/O */ | ||
50 | 0x82000000 0 0x60011000 0x60011000 0 0x1ffef000>; /* non-prefetchable memory */ | ||
51 | #interrupt-cells = <1>; | ||
52 | interrupt-map-mask = <0 0 0 0>; | ||
53 | interrupt-map = <0 0 0 0 &gic GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; | ||
54 | num-lanes = <4>; | ||
55 | }; | ||
56 | |||
57 | Board specific DT Entry: | ||
58 | |||
59 | pcie@290000 { | ||
60 | reset-gpio = <&pin_ctrl 5 0>; | ||
61 | }; | ||
62 | |||
63 | pcie@2a0000 { | ||
64 | reset-gpio = <&pin_ctrl 22 0>; | ||
65 | }; | ||
diff --git a/Documentation/devicetree/bindings/video/exynos_dp.txt b/Documentation/devicetree/bindings/video/exynos_dp.txt index 57ccdde02c3a..53dbccfa80ca 100644 --- a/Documentation/devicetree/bindings/video/exynos_dp.txt +++ b/Documentation/devicetree/bindings/video/exynos_dp.txt | |||
@@ -62,6 +62,10 @@ Optional properties for dp-controller: | |||
62 | -hsync-active-high: | 62 | -hsync-active-high: |
63 | HSYNC polarity configuration. | 63 | HSYNC polarity configuration. |
64 | High if defined, Low if not defined | 64 | High if defined, Low if not defined |
65 | -samsung,hpd-gpio: | ||
66 | Hotplug detect GPIO. | ||
67 | Indicates which GPIO should be used for hotplug | ||
68 | detection | ||
65 | 69 | ||
66 | Example: | 70 | Example: |
67 | 71 | ||
diff --git a/Documentation/devicetree/bindings/video/exynos_hdmi.txt b/Documentation/devicetree/bindings/video/exynos_hdmi.txt index f9187a259259..1fd8cf9cbfac 100644 --- a/Documentation/devicetree/bindings/video/exynos_hdmi.txt +++ b/Documentation/devicetree/bindings/video/exynos_hdmi.txt | |||
@@ -5,6 +5,7 @@ Required properties: | |||
5 | 1) "samsung,exynos5-hdmi" <DEPRECATED> | 5 | 1) "samsung,exynos5-hdmi" <DEPRECATED> |
6 | 2) "samsung,exynos4210-hdmi" | 6 | 2) "samsung,exynos4210-hdmi" |
7 | 3) "samsung,exynos4212-hdmi" | 7 | 3) "samsung,exynos4212-hdmi" |
8 | 4) "samsung,exynos5420-hdmi" | ||
8 | - reg: physical base address of the hdmi and length of memory mapped | 9 | - reg: physical base address of the hdmi and length of memory mapped |
9 | region. | 10 | region. |
10 | - interrupts: interrupt number to the cpu. | 11 | - interrupts: interrupt number to the cpu. |
@@ -27,6 +28,7 @@ Required properties: | |||
27 | "hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy" and "mout_hdmi". | 28 | "hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy" and "mout_hdmi". |
28 | - ddc: phandle to the hdmi ddc node | 29 | - ddc: phandle to the hdmi ddc node |
29 | - phy: phandle to the hdmi phy node | 30 | - phy: phandle to the hdmi phy node |
31 | - samsung,syscon-phandle: phandle for system controller node for PMU. | ||
30 | 32 | ||
31 | Example: | 33 | Example: |
32 | 34 | ||
@@ -37,4 +39,5 @@ Example: | |||
37 | hpd-gpio = <&gpx3 7 1>; | 39 | hpd-gpio = <&gpx3 7 1>; |
38 | ddc = <&hdmi_ddc_node>; | 40 | ddc = <&hdmi_ddc_node>; |
39 | phy = <&hdmi_phy_node>; | 41 | phy = <&hdmi_phy_node>; |
42 | samsung,syscon-phandle = <&pmu_system_controller>; | ||
40 | }; | 43 | }; |