diff options
Diffstat (limited to 'Documentation/devicetree/bindings/arm')
5 files changed, 89 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/arm/armada-38x.txt b/Documentation/devicetree/bindings/arm/armada-38x.txt index 11f2330a6554..ad9f8ed4d9bd 100644 --- a/Documentation/devicetree/bindings/arm/armada-38x.txt +++ b/Documentation/devicetree/bindings/arm/armada-38x.txt | |||
@@ -6,5 +6,15 @@ following property: | |||
6 | 6 | ||
7 | Required root node property: | 7 | Required root node property: |
8 | 8 | ||
9 | - compatible: must contain either "marvell,armada380" or | 9 | - compatible: must contain "marvell,armada380" |
10 | "marvell,armada385" depending on the variant of the SoC being used. | 10 | |
11 | In addition, boards using the Marvell Armada 385 SoC shall have the | ||
12 | following property before the previous one: | ||
13 | |||
14 | Required root node property: | ||
15 | |||
16 | compatible: must contain "marvell,armada385" | ||
17 | |||
18 | Example: | ||
19 | |||
20 | compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada380"; | ||
diff --git a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt b/Documentation/devicetree/bindings/arm/exynos/power_domain.txt index 5216b419016a..8b4f7b7fe88b 100644 --- a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt +++ b/Documentation/devicetree/bindings/arm/exynos/power_domain.txt | |||
@@ -9,6 +9,18 @@ Required Properties: | |||
9 | - reg: physical base address of the controller and length of memory mapped | 9 | - reg: physical base address of the controller and length of memory mapped |
10 | region. | 10 | region. |
11 | 11 | ||
12 | Optional Properties: | ||
13 | - clocks: List of clock handles. The parent clocks of the input clocks to the | ||
14 | devices in this power domain are set to oscclk before power gating | ||
15 | and restored back after powering on a domain. This is required for | ||
16 | all domains which are powered on and off and not required for unused | ||
17 | domains. | ||
18 | - clock-names: The following clocks can be specified: | ||
19 | - oscclk: Oscillator clock. | ||
20 | - pclkN, clkN: Pairs of parent of input clock and input clock to the | ||
21 | devices in this power domain. Maximum of 4 pairs (N = 0 to 3) | ||
22 | are supported currently. | ||
23 | |||
12 | Node of a device using power domains must have a samsung,power-domain property | 24 | Node of a device using power domains must have a samsung,power-domain property |
13 | defined with a phandle to respective power domain. | 25 | defined with a phandle to respective power domain. |
14 | 26 | ||
@@ -19,6 +31,14 @@ Example: | |||
19 | reg = <0x10023C00 0x10>; | 31 | reg = <0x10023C00 0x10>; |
20 | }; | 32 | }; |
21 | 33 | ||
34 | mfc_pd: power-domain@10044060 { | ||
35 | compatible = "samsung,exynos4210-pd"; | ||
36 | reg = <0x10044060 0x20>; | ||
37 | clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MOUT_SW_ACLK333>, | ||
38 | <&clock CLK_MOUT_USER_ACLK333>; | ||
39 | clock-names = "oscclk", "pclk0", "clk0"; | ||
40 | }; | ||
41 | |||
22 | Example of the node using power domain: | 42 | Example of the node using power domain: |
23 | 43 | ||
24 | node { | 44 | node { |
diff --git a/Documentation/devicetree/bindings/arm/l2cc.txt b/Documentation/devicetree/bindings/arm/l2cc.txt index b513cb8196fe..af527ee111c2 100644 --- a/Documentation/devicetree/bindings/arm/l2cc.txt +++ b/Documentation/devicetree/bindings/arm/l2cc.txt | |||
@@ -40,6 +40,9 @@ Optional properties: | |||
40 | - arm,filter-ranges : <start length> Starting address and length of window to | 40 | - arm,filter-ranges : <start length> Starting address and length of window to |
41 | filter. Addresses in the filter window are directed to the M1 port. Other | 41 | filter. Addresses in the filter window are directed to the M1 port. Other |
42 | addresses will go to the M0 port. | 42 | addresses will go to the M0 port. |
43 | - arm,io-coherent : indicates that the system is operating in an hardware | ||
44 | I/O coherent mode. Valid only when the arm,pl310-cache compatible | ||
45 | string is used. | ||
43 | - interrupts : 1 combined interrupt. | 46 | - interrupts : 1 combined interrupt. |
44 | - cache-id-part: cache id part number to be used if it is not present | 47 | - cache-id-part: cache id part number to be used if it is not present |
45 | on hardware | 48 | on hardware |
diff --git a/Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt b/Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt index 5d49f2b37f68..adc61b095bd1 100644 --- a/Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt +++ b/Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt | |||
@@ -14,14 +14,21 @@ Required properties: | |||
14 | for exynos4412/5250 controllers. | 14 | for exynos4412/5250 controllers. |
15 | Must be "samsung,exynos-adc-v2" for | 15 | Must be "samsung,exynos-adc-v2" for |
16 | future controllers. | 16 | future controllers. |
17 | Must be "samsung,exynos3250-adc" for | ||
18 | controllers compatible with ADC of Exynos3250. | ||
17 | - reg: Contains ADC register address range (base address and | 19 | - reg: Contains ADC register address range (base address and |
18 | length) and the address of the phy enable register. | 20 | length) and the address of the phy enable register. |
19 | - interrupts: Contains the interrupt information for the timer. The | 21 | - interrupts: Contains the interrupt information for the timer. The |
20 | format is being dependent on which interrupt controller | 22 | format is being dependent on which interrupt controller |
21 | the Samsung device uses. | 23 | the Samsung device uses. |
22 | - #io-channel-cells = <1>; As ADC has multiple outputs | 24 | - #io-channel-cells = <1>; As ADC has multiple outputs |
23 | - clocks From common clock binding: handle to adc clock. | 25 | - clocks From common clock bindings: handles to clocks specified |
24 | - clock-names From common clock binding: Shall be "adc". | 26 | in "clock-names" property, in the same order. |
27 | - clock-names From common clock bindings: list of clock input names | ||
28 | used by ADC block: | ||
29 | - "adc" : ADC bus clock | ||
30 | - "sclk" : ADC special clock (only for Exynos3250 and | ||
31 | compatible ADC block) | ||
25 | - vdd-supply VDD input supply. | 32 | - vdd-supply VDD input supply. |
26 | 33 | ||
27 | Note: child nodes can be added for auto probing from device tree. | 34 | Note: child nodes can be added for auto probing from device tree. |
@@ -41,6 +48,20 @@ adc: adc@12D10000 { | |||
41 | vdd-supply = <&buck5_reg>; | 48 | vdd-supply = <&buck5_reg>; |
42 | }; | 49 | }; |
43 | 50 | ||
51 | Example: adding device info in dtsi file for Exynos3250 with additional sclk | ||
52 | |||
53 | adc: adc@126C0000 { | ||
54 | compatible = "samsung,exynos3250-adc", "samsung,exynos-adc-v2; | ||
55 | reg = <0x126C0000 0x100>, <0x10020718 0x4>; | ||
56 | interrupts = <0 137 0>; | ||
57 | #io-channel-cells = <1>; | ||
58 | io-channel-ranges; | ||
59 | |||
60 | clocks = <&cmu CLK_TSADC>, <&cmu CLK_SCLK_TSADC>; | ||
61 | clock-names = "adc", "sclk"; | ||
62 | |||
63 | vdd-supply = <&buck5_reg>; | ||
64 | }; | ||
44 | 65 | ||
45 | Example: Adding child nodes in dts file | 66 | Example: Adding child nodes in dts file |
46 | 67 | ||
@@ -48,7 +69,7 @@ adc@12D10000 { | |||
48 | 69 | ||
49 | /* NTC thermistor is a hwmon device */ | 70 | /* NTC thermistor is a hwmon device */ |
50 | ncp15wb473@0 { | 71 | ncp15wb473@0 { |
51 | compatible = "ntc,ncp15wb473"; | 72 | compatible = "murata,ncp15wb473"; |
52 | pullup-uv = <1800000>; | 73 | pullup-uv = <1800000>; |
53 | pullup-ohm = <47000>; | 74 | pullup-ohm = <47000>; |
54 | pulldown-ohm = <0>; | 75 | pulldown-ohm = <0>; |
diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt b/Documentation/devicetree/bindings/arm/samsung/pmu.txt index 2a4ab046a8a1..f9865e77e0b0 100644 --- a/Documentation/devicetree/bindings/arm/samsung/pmu.txt +++ b/Documentation/devicetree/bindings/arm/samsung/pmu.txt | |||
@@ -12,8 +12,38 @@ Properties: | |||
12 | 12 | ||
13 | - reg : offset and length of the register set. | 13 | - reg : offset and length of the register set. |
14 | 14 | ||
15 | - #clock-cells : must be <1>, since PMU requires once cell as clock specifier. | ||
16 | The single specifier cell is used as index to list of clocks | ||
17 | provided by PMU, which is currently: | ||
18 | 0 : SoC clock output (CLKOUT pin) | ||
19 | |||
20 | - clock-names : list of clock names for particular CLKOUT mux inputs in | ||
21 | following format: | ||
22 | "clkoutN", where N is a decimal number corresponding to | ||
23 | CLKOUT mux control bits value for given input, e.g. | ||
24 | "clkout0", "clkout7", "clkout15". | ||
25 | |||
26 | - clocks : list of phandles and specifiers to all input clocks listed in | ||
27 | clock-names property. | ||
28 | |||
15 | Example : | 29 | Example : |
16 | pmu_system_controller: system-controller@10040000 { | 30 | pmu_system_controller: system-controller@10040000 { |
17 | compatible = "samsung,exynos5250-pmu", "syscon"; | 31 | compatible = "samsung,exynos5250-pmu", "syscon"; |
18 | reg = <0x10040000 0x5000>; | 32 | reg = <0x10040000 0x5000>; |
33 | #clock-cells = <1>; | ||
34 | clock-names = "clkout0", "clkout1", "clkout2", "clkout3", | ||
35 | "clkout4", "clkout8", "clkout9"; | ||
36 | clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>, | ||
37 | <&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>, | ||
38 | <&clock CLK_OUT_CPU>, <&clock CLK_XXTI>, | ||
39 | <&clock CLK_XUSBXTI>; | ||
40 | }; | ||
41 | |||
42 | Example of clock consumer : | ||
43 | |||
44 | usb3503: usb3503@08 { | ||
45 | /* ... */ | ||
46 | clock-names = "refclk"; | ||
47 | clocks = <&pmu_system_controller 0>; | ||
48 | /* ... */ | ||
19 | }; | 49 | }; |