diff options
author | Olof Johansson <olof@lixom.net> | 2014-05-29 12:44:32 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-05-29 12:44:32 -0400 |
commit | 81d1d392f30b6d8772dca6469adb8694280e1477 (patch) | |
tree | aee38ba02bc935147e0f802012e549eee7f01015 | |
parent | 87427db921c17e26748d3328d70c2300d9b15c05 (diff) | |
parent | 3c8977f17796f0b8816a1a283b0b80b71c83d416 (diff) |
Merge tag 'samsung-dt-2' of http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/dt
Merge "Samsung 2nd DT updates for v3.16" from Kukjin Kim:
exynos4
- add hsotg device, exynos_usbphy nodes
- add PMU syscon and audio subsystem nodes
- replace number by macro in clock binding
exynos4210-universal_c210
- add external sd card node and multimedia nodes
- enable USB functionality
exynos4412-trats2
- enable usb nodes and usb gagdet functionality
- add cm36651 light/proximity sensor node
- fixed gpio key node
exynos5250 and exynos5420
- add pmu syscon handle and sysreg system controller nodes
- add support for usb2phy
- replace number by macro in clock binding
- add USB 2.0 support on exynos5420
exynos5420-peach-pit
- move dp hpd gpio pin to pinctrl_0
* tag 'samsung-dt-2' of http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: (21 commits)
ARM: dts: enable usb nodes for exynos4412-trats2
ARM: dts: add hsotg device node for exynos4
ARM: dts: add exynos_usbphy node for exynos4
ARM: dts: add PMU syscon node for exynos4
ARM: dts: add pmu syscon handle to exynos5420 hdmi
ARM: dts: add pmu syscon handle to exynos5250 hdmi
ARM: dts: replace number by macro in clock binding for exynos5420
ARM: dts: replace number by macro in clock binding for exynos5250
ARM: dts: replace number by macro in clock binding for exynos4
ARM: dts: add external sd card node for exynos4210-universal_c210
ARM: dts: add multimedia nodes for exynos4210-universal_c210
ARM: dts: enable USB functionality for exynos4210-universal_c210
ARM: dts: Enable USB gadget functionality for exynos4210-trats
ARM: dts: Add audio subsystem nodes to exynos4.dtsi
ARM: dts: fixed gpio key node for exynos4412-trats2
ARM: dts: add cm36651 light/proximity sensor node for exynos4412-trats2
ARM: dts: Add USB 2.0 support on exynos5420
ARM: dts: Add usb2phy support on exynos5420
ARM: dts: Add usb2phy to exynos5250
ARM: dts: Add sysreg sytem controller node to exynos5250 and exynos5420
...
-rw-r--r-- | Documentation/devicetree/bindings/arm/samsung/pmu.txt | 3 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/samsung/sysreg.txt | 11 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos4.dtsi | 66 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos4210-trats.dts | 10 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos4210-universal_c210.dts | 59 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos4412-trats2.dts | 54 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos4412.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos4x12.dtsi | 9 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos5250.dtsi | 32 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos5420-peach-pit.dts | 14 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos5420.dtsi | 48 |
11 files changed, 289 insertions, 21 deletions
diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt b/Documentation/devicetree/bindings/arm/samsung/pmu.txt index f1f155255f28..b562634db746 100644 --- a/Documentation/devicetree/bindings/arm/samsung/pmu.txt +++ b/Documentation/devicetree/bindings/arm/samsung/pmu.txt | |||
@@ -2,6 +2,9 @@ SAMSUNG Exynos SoC series PMU Registers | |||
2 | 2 | ||
3 | Properties: | 3 | Properties: |
4 | - compatible : should contain two values. First value must be one from following list: | 4 | - compatible : should contain two values. First value must be one from following list: |
5 | - "samsung,exynos4210-pmu" - for Exynos4210 SoC, | ||
6 | - "samsung,exynos4212-pmu" - for Exynos4212 SoC, | ||
7 | - "samsung,exynos4412-pmu" - for Exynos4412 SoC, | ||
5 | - "samsung,exynos5250-pmu" - for Exynos5250 SoC, | 8 | - "samsung,exynos5250-pmu" - for Exynos5250 SoC, |
6 | - "samsung,exynos5420-pmu" - for Exynos5420 SoC. | 9 | - "samsung,exynos5420-pmu" - for Exynos5420 SoC. |
7 | second value must be always "syscon". | 10 | second value must be always "syscon". |
diff --git a/Documentation/devicetree/bindings/arm/samsung/sysreg.txt b/Documentation/devicetree/bindings/arm/samsung/sysreg.txt index 0ab3251a6ec2..4fced6e9d5e4 100644 --- a/Documentation/devicetree/bindings/arm/samsung/sysreg.txt +++ b/Documentation/devicetree/bindings/arm/samsung/sysreg.txt | |||
@@ -1,8 +1,10 @@ | |||
1 | SAMSUNG S5P/Exynos SoC series System Registers (SYSREG) | 1 | SAMSUNG S5P/Exynos SoC series System Registers (SYSREG) |
2 | 2 | ||
3 | Properties: | 3 | Properties: |
4 | - compatible : should contain "samsung,<chip name>-sysreg", "syscon"; | 4 | - compatible : should contain two values. First value must be one from following list: |
5 | For Exynos4 SoC series it should be "samsung,exynos4-sysreg", "syscon"; | 5 | - "samsung,exynos4-sysreg" - for Exynos4 based SoCs, |
6 | - "samsung,exynos5-sysreg" - for Exynos5 based SoCs. | ||
7 | second value must be always "syscon". | ||
6 | - reg : offset and length of the register set. | 8 | - reg : offset and length of the register set. |
7 | 9 | ||
8 | Example: | 10 | Example: |
@@ -10,3 +12,8 @@ Example: | |||
10 | compatible = "samsung,exynos4-sysreg", "syscon"; | 12 | compatible = "samsung,exynos4-sysreg", "syscon"; |
11 | reg = <0x10010000 0x400>; | 13 | reg = <0x10010000 0x400>; |
12 | }; | 14 | }; |
15 | |||
16 | syscon@10050000 { | ||
17 | compatible = "samsung,exynos5-sysreg", "syscon"; | ||
18 | reg = <0x10050000 0x5000>; | ||
19 | }; | ||
diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 58ff8e28c74f..b8ece4be41ca 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi | |||
@@ -20,6 +20,7 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <dt-bindings/clock/exynos4.h> | 22 | #include <dt-bindings/clock/exynos4.h> |
23 | #include <dt-bindings/clock/exynos-audss-clk.h> | ||
23 | #include "skeleton.dtsi" | 24 | #include "skeleton.dtsi" |
24 | 25 | ||
25 | / { | 26 | / { |
@@ -45,6 +46,23 @@ | |||
45 | fimc3 = &fimc_3; | 46 | fimc3 = &fimc_3; |
46 | }; | 47 | }; |
47 | 48 | ||
49 | clock_audss: clock-controller@03810000 { | ||
50 | compatible = "samsung,exynos4210-audss-clock"; | ||
51 | reg = <0x03810000 0x0C>; | ||
52 | #clock-cells = <1>; | ||
53 | }; | ||
54 | |||
55 | i2s0: i2s@03830000 { | ||
56 | compatible = "samsung,s5pv210-i2s"; | ||
57 | reg = <0x03830000 0x100>; | ||
58 | clocks = <&clock_audss EXYNOS_I2S_BUS>; | ||
59 | clock-names = "iis"; | ||
60 | dmas = <&pdma0 12>, <&pdma0 11>, <&pdma0 10>; | ||
61 | dma-names = "tx", "rx", "tx-sec"; | ||
62 | samsung,idma-addr = <0x03000000>; | ||
63 | status = "disabled"; | ||
64 | }; | ||
65 | |||
48 | chipid@10000000 { | 66 | chipid@10000000 { |
49 | compatible = "samsung,exynos4210-chipid"; | 67 | compatible = "samsung,exynos4210-chipid"; |
50 | reg = <0x10000000 0x100>; | 68 | reg = <0x10000000 0x100>; |
@@ -110,6 +128,11 @@ | |||
110 | reg = <0x10010000 0x400>; | 128 | reg = <0x10010000 0x400>; |
111 | }; | 129 | }; |
112 | 130 | ||
131 | pmu_system_controller: system-controller@10020000 { | ||
132 | compatible = "samsung,exynos4210-pmu", "syscon"; | ||
133 | reg = <0x10020000 0x4000>; | ||
134 | }; | ||
135 | |||
113 | dsi_0: dsi@11C80000 { | 136 | dsi_0: dsi@11C80000 { |
114 | compatible = "samsung,exynos4210-mipi-dsi"; | 137 | compatible = "samsung,exynos4210-mipi-dsi"; |
115 | reg = <0x11C80000 0x10000>; | 138 | reg = <0x11C80000 0x10000>; |
@@ -117,7 +140,7 @@ | |||
117 | samsung,power-domain = <&pd_lcd0>; | 140 | samsung,power-domain = <&pd_lcd0>; |
118 | phys = <&mipi_phy 1>; | 141 | phys = <&mipi_phy 1>; |
119 | phy-names = "dsim"; | 142 | phy-names = "dsim"; |
120 | clocks = <&clock 286>, <&clock 143>; | 143 | clocks = <&clock CLK_DSIM0>, <&clock CLK_SCLK_MIPI0>; |
121 | clock-names = "bus_clk", "pll_clk"; | 144 | clock-names = "bus_clk", "pll_clk"; |
122 | status = "disabled"; | 145 | status = "disabled"; |
123 | #address-cells = <1>; | 146 | #address-cells = <1>; |
@@ -271,6 +294,27 @@ | |||
271 | status = "disabled"; | 294 | status = "disabled"; |
272 | }; | 295 | }; |
273 | 296 | ||
297 | exynos_usbphy: exynos-usbphy@125B0000 { | ||
298 | compatible = "samsung,exynos4210-usb2-phy"; | ||
299 | reg = <0x125B0000 0x100>; | ||
300 | samsung,pmureg-phandle = <&pmu_system_controller>; | ||
301 | clocks = <&clock CLK_USB_DEVICE>, <&clock CLK_XUSBXTI>; | ||
302 | clock-names = "phy", "ref"; | ||
303 | #phy-cells = <1>; | ||
304 | status = "disabled"; | ||
305 | }; | ||
306 | |||
307 | hsotg@12480000 { | ||
308 | compatible = "samsung,s3c6400-hsotg"; | ||
309 | reg = <0x12480000 0x20000>; | ||
310 | interrupts = <0 71 0>; | ||
311 | clocks = <&clock CLK_USB_DEVICE>; | ||
312 | clock-names = "otg"; | ||
313 | phys = <&exynos_usbphy 0>; | ||
314 | phy-names = "usb2-phy"; | ||
315 | status = "disabled"; | ||
316 | }; | ||
317 | |||
274 | ehci@12580000 { | 318 | ehci@12580000 { |
275 | compatible = "samsung,exynos4210-ehci"; | 319 | compatible = "samsung,exynos4210-ehci"; |
276 | reg = <0x12580000 0x100>; | 320 | reg = <0x12580000 0x100>; |
@@ -289,6 +333,26 @@ | |||
289 | status = "disabled"; | 333 | status = "disabled"; |
290 | }; | 334 | }; |
291 | 335 | ||
336 | i2s1: i2s@13960000 { | ||
337 | compatible = "samsung,s5pv210-i2s"; | ||
338 | reg = <0x13960000 0x100>; | ||
339 | clocks = <&clock CLK_I2S1>; | ||
340 | clock-names = "iis"; | ||
341 | dmas = <&pdma1 12>, <&pdma1 11>; | ||
342 | dma-names = "tx", "rx"; | ||
343 | status = "disabled"; | ||
344 | }; | ||
345 | |||
346 | i2s2: i2s@13970000 { | ||
347 | compatible = "samsung,s5pv210-i2s"; | ||
348 | reg = <0x13970000 0x100>; | ||
349 | clocks = <&clock CLK_I2S2>; | ||
350 | clock-names = "iis"; | ||
351 | dmas = <&pdma0 14>, <&pdma0 13>; | ||
352 | dma-names = "tx", "rx"; | ||
353 | status = "disabled"; | ||
354 | }; | ||
355 | |||
292 | mfc: codec@13400000 { | 356 | mfc: codec@13400000 { |
293 | compatible = "samsung,mfc-v5"; | 357 | compatible = "samsung,mfc-v5"; |
294 | reg = <0x13400000 0x10000>; | 358 | reg = <0x13400000 0x10000>; |
diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts index 63aa2bb24a4b..f516da9e8b3a 100644 --- a/arch/arm/boot/dts/exynos4210-trats.dts +++ b/arch/arm/boot/dts/exynos4210-trats.dts | |||
@@ -88,6 +88,12 @@ | |||
88 | }; | 88 | }; |
89 | }; | 89 | }; |
90 | 90 | ||
91 | hsotg@12480000 { | ||
92 | vusb_d-supply = <&vusb_reg>; | ||
93 | vusb_a-supply = <&vusbdac_reg>; | ||
94 | status = "okay"; | ||
95 | }; | ||
96 | |||
91 | sdhci_emmc: sdhci@12510000 { | 97 | sdhci_emmc: sdhci@12510000 { |
92 | bus-width = <8>; | 98 | bus-width = <8>; |
93 | non-removable; | 99 | non-removable; |
@@ -97,6 +103,10 @@ | |||
97 | status = "okay"; | 103 | status = "okay"; |
98 | }; | 104 | }; |
99 | 105 | ||
106 | exynos-usbphy@125B0000 { | ||
107 | status = "okay"; | ||
108 | }; | ||
109 | |||
100 | serial@13800000 { | 110 | serial@13800000 { |
101 | status = "okay"; | 111 | status = "okay"; |
102 | }; | 112 | }; |
diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index 9296dee10e26..d50eb3aa708e 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts | |||
@@ -68,6 +68,12 @@ | |||
68 | enable-active-high; | 68 | enable-active-high; |
69 | }; | 69 | }; |
70 | 70 | ||
71 | hsotg@12480000 { | ||
72 | vusb_d-supply = <&ldo3_reg>; | ||
73 | vusb_a-supply = <&ldo8_reg>; | ||
74 | status = "okay"; | ||
75 | }; | ||
76 | |||
71 | sdhci_emmc: sdhci@12510000 { | 77 | sdhci_emmc: sdhci@12510000 { |
72 | bus-width = <8>; | 78 | bus-width = <8>; |
73 | non-removable; | 79 | non-removable; |
@@ -77,6 +83,34 @@ | |||
77 | status = "okay"; | 83 | status = "okay"; |
78 | }; | 84 | }; |
79 | 85 | ||
86 | sdhci_sd: sdhci@12530000 { | ||
87 | bus-width = <4>; | ||
88 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>; | ||
89 | pinctrl-names = "default"; | ||
90 | vmmc-supply = <&ldo5_reg>; | ||
91 | cd-gpios = <&gpx3 4 0>; | ||
92 | cd-inverted; | ||
93 | status = "okay"; | ||
94 | }; | ||
95 | |||
96 | ehci@12580000 { | ||
97 | status = "okay"; | ||
98 | port@0 { | ||
99 | status = "okay"; | ||
100 | }; | ||
101 | }; | ||
102 | |||
103 | ohci@12590000 { | ||
104 | status = "okay"; | ||
105 | port@0 { | ||
106 | status = "okay"; | ||
107 | }; | ||
108 | }; | ||
109 | |||
110 | exynos-usbphy@125B0000 { | ||
111 | status = "okay"; | ||
112 | }; | ||
113 | |||
80 | serial@13800000 { | 114 | serial@13800000 { |
81 | status = "okay"; | 115 | status = "okay"; |
82 | }; | 116 | }; |
@@ -216,6 +250,7 @@ | |||
216 | regulator-name = "VUSB+MIPI_1.1V"; | 250 | regulator-name = "VUSB+MIPI_1.1V"; |
217 | regulator-min-microvolt = <1100000>; | 251 | regulator-min-microvolt = <1100000>; |
218 | regulator-max-microvolt = <1100000>; | 252 | regulator-max-microvolt = <1100000>; |
253 | regulator-always-on; | ||
219 | }; | 254 | }; |
220 | 255 | ||
221 | ldo4_reg: LDO4 { | 256 | ldo4_reg: LDO4 { |
@@ -246,6 +281,7 @@ | |||
246 | regulator-name = "VUSB+VDAC_3.3V"; | 281 | regulator-name = "VUSB+VDAC_3.3V"; |
247 | regulator-min-microvolt = <3300000>; | 282 | regulator-min-microvolt = <3300000>; |
248 | regulator-max-microvolt = <3300000>; | 283 | regulator-max-microvolt = <3300000>; |
284 | regulator-always-on; | ||
249 | }; | 285 | }; |
250 | 286 | ||
251 | ldo9_reg: LDO9 { | 287 | ldo9_reg: LDO9 { |
@@ -428,6 +464,29 @@ | |||
428 | compatible = "samsung,s5p6440-pwm"; | 464 | compatible = "samsung,s5p6440-pwm"; |
429 | status = "okay"; | 465 | status = "okay"; |
430 | }; | 466 | }; |
467 | |||
468 | camera { | ||
469 | status = "okay"; | ||
470 | |||
471 | pinctrl-names = "default"; | ||
472 | pinctrl-0 = <>; | ||
473 | |||
474 | fimc_0: fimc@11800000 { | ||
475 | status = "okay"; | ||
476 | }; | ||
477 | |||
478 | fimc_1: fimc@11810000 { | ||
479 | status = "okay"; | ||
480 | }; | ||
481 | |||
482 | fimc_2: fimc@11820000 { | ||
483 | status = "okay"; | ||
484 | }; | ||
485 | |||
486 | fimc_3: fimc@11830000 { | ||
487 | status = "okay"; | ||
488 | }; | ||
489 | }; | ||
431 | }; | 490 | }; |
432 | 491 | ||
433 | &mdma1 { | 492 | &mdma1 { |
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index f621fd976815..106a7057bcaf 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | aliases { | 22 | aliases { |
23 | i2c9 = &i2c_ak8975; | 23 | i2c9 = &i2c_ak8975; |
24 | i2c10 = &i2c_cm36651; | ||
24 | }; | 25 | }; |
25 | 26 | ||
26 | memory { | 27 | memory { |
@@ -98,38 +99,49 @@ | |||
98 | enable-active-high; | 99 | enable-active-high; |
99 | regulator-always-on; | 100 | regulator-always-on; |
100 | }; | 101 | }; |
102 | |||
103 | ps_als_reg: voltage-regulator-5 { | ||
104 | compatible = "regulator-fixed"; | ||
105 | regulator-name = "LED_A_3.0V"; | ||
106 | regulator-min-microvolt = <3000000>; | ||
107 | regulator-max-microvolt = <3000000>; | ||
108 | gpio = <&gpj0 5 0>; | ||
109 | enable-active-high; | ||
110 | }; | ||
101 | }; | 111 | }; |
102 | 112 | ||
103 | gpio-keys { | 113 | gpio-keys { |
104 | compatible = "gpio-keys"; | 114 | compatible = "gpio-keys"; |
105 | 115 | ||
106 | key-down { | 116 | key-down { |
107 | interrupt-parent = <&gpj1>; | 117 | gpios = <&gpx3 3 1>; |
108 | interrupts = <2 0>; | ||
109 | gpios = <&gpj1 2 1>; | ||
110 | linux,code = <114>; | 118 | linux,code = <114>; |
111 | label = "volume down"; | 119 | label = "volume down"; |
112 | debounce-interval = <10>; | 120 | debounce-interval = <10>; |
113 | }; | 121 | }; |
114 | 122 | ||
115 | key-up { | 123 | key-up { |
116 | interrupt-parent = <&gpj1>; | 124 | gpios = <&gpx2 2 1>; |
117 | interrupts = <1 0>; | ||
118 | gpios = <&gpj1 1 1>; | ||
119 | linux,code = <115>; | 125 | linux,code = <115>; |
120 | label = "volume up"; | 126 | label = "volume up"; |
121 | debounce-interval = <10>; | 127 | debounce-interval = <10>; |
122 | }; | 128 | }; |
123 | 129 | ||
124 | key-power { | 130 | key-power { |
125 | interrupt-parent = <&gpx2>; | ||
126 | interrupts = <7 0>; | ||
127 | gpios = <&gpx2 7 1>; | 131 | gpios = <&gpx2 7 1>; |
128 | linux,code = <116>; | 132 | linux,code = <116>; |
129 | label = "power"; | 133 | label = "power"; |
130 | debounce-interval = <10>; | 134 | debounce-interval = <10>; |
131 | gpio-key,wakeup; | 135 | gpio-key,wakeup; |
132 | }; | 136 | }; |
137 | |||
138 | key-ok { | ||
139 | gpios = <&gpx0 1 1>; | ||
140 | linux,code = <139>; | ||
141 | label = "ok"; | ||
142 | debounce-inteval = <10>; | ||
143 | gpio-key,wakeup; | ||
144 | }; | ||
133 | }; | 145 | }; |
134 | 146 | ||
135 | adc: adc@126C0000 { | 147 | adc: adc@126C0000 { |
@@ -558,6 +570,22 @@ | |||
558 | }; | 570 | }; |
559 | }; | 571 | }; |
560 | 572 | ||
573 | i2c_cm36651: i2c-gpio-2 { | ||
574 | compatible = "i2c-gpio"; | ||
575 | gpios = <&gpf0 0 1>, <&gpf0 1 1>; | ||
576 | i2c-gpio,delay-us = <2>; | ||
577 | #address-cells = <1>; | ||
578 | #size-cells = <0>; | ||
579 | |||
580 | cm36651@18 { | ||
581 | compatible = "capella,cm36651"; | ||
582 | reg = <0x18>; | ||
583 | interrupt-parent = <&gpx0>; | ||
584 | interrupts = <2 2>; | ||
585 | vled-supply = <&ps_als_reg>; | ||
586 | }; | ||
587 | }; | ||
588 | |||
561 | spi_1: spi@13930000 { | 589 | spi_1: spi@13930000 { |
562 | pinctrl-names = "default"; | 590 | pinctrl-names = "default"; |
563 | pinctrl-0 = <&spi1_bus>; | 591 | pinctrl-0 = <&spi1_bus>; |
@@ -732,6 +760,16 @@ | |||
732 | }; | 760 | }; |
733 | }; | 761 | }; |
734 | 762 | ||
763 | exynos-usbphy@125B0000 { | ||
764 | status = "okay"; | ||
765 | }; | ||
766 | |||
767 | hsotg@12480000 { | ||
768 | vusb_d-supply = <&ldo15_reg>; | ||
769 | vusb_a-supply = <&ldo12_reg>; | ||
770 | status = "okay"; | ||
771 | }; | ||
772 | |||
735 | thermistor-ap@0 { | 773 | thermistor-ap@0 { |
736 | compatible = "ntc,ncp15wb473"; | 774 | compatible = "ntc,ncp15wb473"; |
737 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ | 775 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ |
diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi index 15d3c0ac2f5f..c42a3e196cd5 100644 --- a/arch/arm/boot/dts/exynos4412.dtsi +++ b/arch/arm/boot/dts/exynos4412.dtsi | |||
@@ -29,4 +29,8 @@ | |||
29 | gic: interrupt-controller@10490000 { | 29 | gic: interrupt-controller@10490000 { |
30 | cpu-offset = <0x4000>; | 30 | cpu-offset = <0x4000>; |
31 | }; | 31 | }; |
32 | |||
33 | pmu_system_controller: system-controller@10020000 { | ||
34 | compatible = "samsung,exynos4412-pmu", "syscon"; | ||
35 | }; | ||
32 | }; | 36 | }; |
diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi index 70e3765b51ee..c5a943df1cd7 100644 --- a/arch/arm/boot/dts/exynos4x12.dtsi +++ b/arch/arm/boot/dts/exynos4x12.dtsi | |||
@@ -137,6 +137,10 @@ | |||
137 | interrupts = <0 72 0>; | 137 | interrupts = <0 72 0>; |
138 | }; | 138 | }; |
139 | 139 | ||
140 | pmu_system_controller: system-controller@10020000 { | ||
141 | compatible = "samsung,exynos4212-pmu", "syscon"; | ||
142 | }; | ||
143 | |||
140 | g2d@10800000 { | 144 | g2d@10800000 { |
141 | compatible = "samsung,exynos4212-g2d"; | 145 | compatible = "samsung,exynos4212-g2d"; |
142 | reg = <0x10800000 0x1000>; | 146 | reg = <0x10800000 0x1000>; |
@@ -261,4 +265,9 @@ | |||
261 | clock-names = "biu", "ciu"; | 265 | clock-names = "biu", "ciu"; |
262 | status = "disabled"; | 266 | status = "disabled"; |
263 | }; | 267 | }; |
268 | |||
269 | exynos-usbphy@125B0000 { | ||
270 | compatible = "samsung,exynos4x12-usb2-phy"; | ||
271 | samsung,sysreg-phandle = <&sys_reg>; | ||
272 | }; | ||
264 | }; | 273 | }; |
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 68a3e6f254d9..834fb5a5306f 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi | |||
@@ -193,6 +193,11 @@ | |||
193 | reg = <0x10040000 0x5000>; | 193 | reg = <0x10040000 0x5000>; |
194 | }; | 194 | }; |
195 | 195 | ||
196 | sysreg_system_controller: syscon@10050000 { | ||
197 | compatible = "samsung,exynos5-sysreg", "syscon"; | ||
198 | reg = <0x10050000 0x5000>; | ||
199 | }; | ||
200 | |||
196 | watchdog@101D0000 { | 201 | watchdog@101D0000 { |
197 | compatible = "samsung,exynos5250-wdt"; | 202 | compatible = "samsung,exynos5250-wdt"; |
198 | reg = <0x101D0000 0x100>; | 203 | reg = <0x101D0000 0x100>; |
@@ -268,7 +273,7 @@ | |||
268 | sata_phy: sata-phy@12170000 { | 273 | sata_phy: sata-phy@12170000 { |
269 | compatible = "samsung,exynos5250-sata-phy"; | 274 | compatible = "samsung,exynos5250-sata-phy"; |
270 | reg = <0x12170000 0x1ff>; | 275 | reg = <0x12170000 0x1ff>; |
271 | clocks = <&clock 287>; | 276 | clocks = <&clock CLK_SATA_PHYCTRL>; |
272 | clock-names = "sata_phyctrl"; | 277 | clock-names = "sata_phyctrl"; |
273 | #phy-cells = <0>; | 278 | #phy-cells = <0>; |
274 | samsung,syscon-phandle = <&pmu_system_controller>; | 279 | samsung,syscon-phandle = <&pmu_system_controller>; |
@@ -572,6 +577,12 @@ | |||
572 | 577 | ||
573 | clocks = <&clock CLK_USB2>; | 578 | clocks = <&clock CLK_USB2>; |
574 | clock-names = "usbhost"; | 579 | clock-names = "usbhost"; |
580 | #address-cells = <1>; | ||
581 | #size-cells = <0>; | ||
582 | port@0 { | ||
583 | reg = <0>; | ||
584 | phys = <&usb2_phy_gen 1>; | ||
585 | }; | ||
575 | }; | 586 | }; |
576 | 587 | ||
577 | usb@12120000 { | 588 | usb@12120000 { |
@@ -581,6 +592,12 @@ | |||
581 | 592 | ||
582 | clocks = <&clock CLK_USB2>; | 593 | clocks = <&clock CLK_USB2>; |
583 | clock-names = "usbhost"; | 594 | clock-names = "usbhost"; |
595 | #address-cells = <1>; | ||
596 | #size-cells = <0>; | ||
597 | port@0 { | ||
598 | reg = <0>; | ||
599 | phys = <&usb2_phy_gen 1>; | ||
600 | }; | ||
584 | }; | 601 | }; |
585 | 602 | ||
586 | usb2_phy: usbphy@12130000 { | 603 | usb2_phy: usbphy@12130000 { |
@@ -598,6 +615,16 @@ | |||
598 | }; | 615 | }; |
599 | }; | 616 | }; |
600 | 617 | ||
618 | usb2_phy_gen: phy@12130000 { | ||
619 | compatible = "samsung,exynos5250-usb2-phy"; | ||
620 | reg = <0x12130000 0x100>; | ||
621 | clocks = <&clock CLK_USB2>, <&clock CLK_FIN_PLL>; | ||
622 | clock-names = "phy", "ref"; | ||
623 | #phy-cells = <1>; | ||
624 | samsung,sysreg-phandle = <&sysreg_system_controller>; | ||
625 | samsung,pmureg-phandle = <&pmu_system_controller>; | ||
626 | }; | ||
627 | |||
601 | pwm: pwm@12dd0000 { | 628 | pwm: pwm@12dd0000 { |
602 | compatible = "samsung,exynos4210-pwm"; | 629 | compatible = "samsung,exynos4210-pwm"; |
603 | reg = <0x12dd0000 0x100>; | 630 | reg = <0x12dd0000 0x100>; |
@@ -704,6 +731,7 @@ | |||
704 | <&clock CLK_MOUT_HDMI>; | 731 | <&clock CLK_MOUT_HDMI>; |
705 | clock-names = "hdmi", "sclk_hdmi", "sclk_pixel", | 732 | clock-names = "hdmi", "sclk_hdmi", "sclk_pixel", |
706 | "sclk_hdmiphy", "mout_hdmi"; | 733 | "sclk_hdmiphy", "mout_hdmi"; |
734 | samsung,syscon-phandle = <&pmu_system_controller>; | ||
707 | }; | 735 | }; |
708 | 736 | ||
709 | mixer { | 737 | mixer { |
@@ -747,7 +775,7 @@ | |||
747 | compatible = "samsung,exynos4210-secss"; | 775 | compatible = "samsung,exynos4210-secss"; |
748 | reg = <0x10830000 0x10000>; | 776 | reg = <0x10830000 0x10000>; |
749 | interrupts = <0 112 0>; | 777 | interrupts = <0 112 0>; |
750 | clocks = <&clock 348>; | 778 | clocks = <&clock CLK_SSS>; |
751 | clock-names = "secss"; | 779 | clock-names = "secss"; |
752 | }; | 780 | }; |
753 | }; | 781 | }; |
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index d4127b0ba83f..29f64de95ebf 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts | |||
@@ -117,6 +117,13 @@ | |||
117 | samsung,pin-pud = <1>; | 117 | samsung,pin-pud = <1>; |
118 | samsung,pin-drv = <0>; | 118 | samsung,pin-drv = <0>; |
119 | }; | 119 | }; |
120 | |||
121 | dp_hpd_gpio: dp_hpd_gpio { | ||
122 | samsung,pins = "gpx2-6"; | ||
123 | samsung,pin-function = <0>; | ||
124 | samsung,pin-pud = <3>; | ||
125 | samsung,pin-drv = <0>; | ||
126 | }; | ||
120 | }; | 127 | }; |
121 | 128 | ||
122 | &pinctrl_3 { | 129 | &pinctrl_3 { |
@@ -133,13 +140,6 @@ | |||
133 | samsung,pin-pud = <0>; | 140 | samsung,pin-pud = <0>; |
134 | samsung,pin-drv = <0>; | 141 | samsung,pin-drv = <0>; |
135 | }; | 142 | }; |
136 | |||
137 | dp_hpd_gpio: dp_hpd_gpio { | ||
138 | samsung,pins = "gpx2-6"; | ||
139 | samsung,pin-function = <0>; | ||
140 | samsung,pin-pud = <3>; | ||
141 | samsung,pin-drv = <0>; | ||
142 | }; | ||
143 | }; | 143 | }; |
144 | 144 | ||
145 | &rtc { | 145 | &rtc { |
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 9b6414a9e8a1..3a89cfbd6a87 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi | |||
@@ -660,6 +660,7 @@ | |||
660 | clock-names = "hdmi", "sclk_hdmi", "sclk_pixel", | 660 | clock-names = "hdmi", "sclk_hdmi", "sclk_pixel", |
661 | "sclk_hdmiphy", "mout_hdmi"; | 661 | "sclk_hdmiphy", "mout_hdmi"; |
662 | phy = <&hdmiphy>; | 662 | phy = <&hdmiphy>; |
663 | samsung,syscon-phandle = <&pmu_system_controller>; | ||
663 | status = "disabled"; | 664 | status = "disabled"; |
664 | }; | 665 | }; |
665 | 666 | ||
@@ -698,6 +699,11 @@ | |||
698 | reg = <0x10040000 0x5000>; | 699 | reg = <0x10040000 0x5000>; |
699 | }; | 700 | }; |
700 | 701 | ||
702 | sysreg_system_controller: syscon@10050000 { | ||
703 | compatible = "samsung,exynos5-sysreg", "syscon"; | ||
704 | reg = <0x10050000 0x5000>; | ||
705 | }; | ||
706 | |||
701 | tmu_cpu0: tmu@10060000 { | 707 | tmu_cpu0: tmu@10060000 { |
702 | compatible = "samsung,exynos5420-tmu"; | 708 | compatible = "samsung,exynos5420-tmu"; |
703 | reg = <0x10060000 0x100>; | 709 | reg = <0x10060000 0x100>; |
@@ -751,7 +757,7 @@ | |||
751 | compatible = "samsung,exynos4210-secss"; | 757 | compatible = "samsung,exynos4210-secss"; |
752 | reg = <0x10830000 0x10000>; | 758 | reg = <0x10830000 0x10000>; |
753 | interrupts = <0 112 0>; | 759 | interrupts = <0 112 0>; |
754 | clocks = <&clock 471>; | 760 | clocks = <&clock CLK_SSS>; |
755 | clock-names = "secss"; | 761 | clock-names = "secss"; |
756 | }; | 762 | }; |
757 | 763 | ||
@@ -806,4 +812,44 @@ | |||
806 | samsung,pmu-syscon = <&pmu_system_controller>; | 812 | samsung,pmu-syscon = <&pmu_system_controller>; |
807 | #phy-cells = <1>; | 813 | #phy-cells = <1>; |
808 | }; | 814 | }; |
815 | |||
816 | usbhost2: usb@12110000 { | ||
817 | compatible = "samsung,exynos4210-ehci"; | ||
818 | reg = <0x12110000 0x100>; | ||
819 | interrupts = <0 71 0>; | ||
820 | |||
821 | clocks = <&clock CLK_USBH20>; | ||
822 | clock-names = "usbhost"; | ||
823 | #address-cells = <1>; | ||
824 | #size-cells = <0>; | ||
825 | port@0 { | ||
826 | reg = <0>; | ||
827 | phys = <&usb2_phy 1>; | ||
828 | }; | ||
829 | }; | ||
830 | |||
831 | usbhost1: usb@12120000 { | ||
832 | compatible = "samsung,exynos4210-ohci"; | ||
833 | reg = <0x12120000 0x100>; | ||
834 | interrupts = <0 71 0>; | ||
835 | |||
836 | clocks = <&clock CLK_USBH20>; | ||
837 | clock-names = "usbhost"; | ||
838 | #address-cells = <1>; | ||
839 | #size-cells = <0>; | ||
840 | port@0 { | ||
841 | reg = <0>; | ||
842 | phys = <&usb2_phy 1>; | ||
843 | }; | ||
844 | }; | ||
845 | |||
846 | usb2_phy: phy@12130000 { | ||
847 | compatible = "samsung,exynos5250-usb2-phy"; | ||
848 | reg = <0x12130000 0x100>; | ||
849 | clocks = <&clock CLK_USBH20>, <&clock CLK_SCLK_USBPHY300>; | ||
850 | clock-names = "phy", "ref"; | ||
851 | #phy-cells = <1>; | ||
852 | samsung,sysreg-phandle = <&sysreg_system_controller>; | ||
853 | samsung,pmureg-phandle = <&pmu_system_controller>; | ||
854 | }; | ||
809 | }; | 855 | }; |