Commit | Line | Data |
---|---|---|
cc4637f7 | 1 | // SPDX-License-Identifier: GPL-2.0 |
ec601ff3 MS |
2 | /* |
3 | * Hardkernel's Exynos4412 based ODROID-U3 board device tree source | |
4 | * | |
5 | * Copyright (c) 2014 Marek Szyprowski <m.szyprowski@samsung.com> | |
6 | * | |
7 | * Device tree source file for Hardkernel's ODROID-U3 board which is based | |
8 | * on Samsung's Exynos4412 SoC. | |
cc4637f7 | 9 | */ |
ec601ff3 MS |
10 | |
11 | /dts-v1/; | |
12 | #include "exynos4412-odroid-common.dtsi" | |
80b7a2e2 | 13 | #include "exynos4412-prime.dtsi" |
ec601ff3 MS |
14 | |
15 | / { | |
16 | model = "Hardkernel ODROID-U3 board based on Exynos4412"; | |
17 | compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4"; | |
18 | ||
824e4133 | 19 | memory@40000000 { |
1354835a | 20 | device_type = "memory"; |
ec601ff3 MS |
21 | reg = <0x40000000 0x7FF00000>; |
22 | }; | |
23 | ||
24 | leds { | |
25 | compatible = "gpio-leds"; | |
26 | led1 { | |
27 | label = "led1:heart"; | |
c10d3290 | 28 | gpios = <&gpc1 0 GPIO_ACTIVE_LOW>; |
ec601ff3 MS |
29 | default-state = "on"; |
30 | linux,default-trigger = "heartbeat"; | |
31 | }; | |
32 | }; | |
ee6011f2 | 33 | |
d3981d1e | 34 | fan0: pwm-fan { |
ee6011f2 KD |
35 | compatible = "pwm-fan"; |
36 | pwms = <&pwm 0 10000 0>; | |
d3981d1e LM |
37 | cooling-min-state = <0>; |
38 | cooling-max-state = <3>; | |
39 | #cooling-cells = <2>; | |
40 | cooling-levels = <0 102 170 230>; | |
41 | }; | |
42 | ||
43 | thermal-zones { | |
44 | cpu_thermal: cpu-thermal { | |
45 | cooling-maps { | |
46 | map0 { | |
47 | trip = <&cpu_alert1>; | |
80b7a2e2 | 48 | cooling-device = <&cpu0 9 9>; |
d3981d1e LM |
49 | }; |
50 | map1 { | |
51 | trip = <&cpu_alert2>; | |
80b7a2e2 | 52 | cooling-device = <&cpu0 15 15>; |
d3981d1e LM |
53 | }; |
54 | map2 { | |
55 | trip = <&cpu_alert0>; | |
56 | cooling-device = <&fan0 0 1>; | |
57 | }; | |
58 | map3 { | |
59 | trip = <&cpu_alert1>; | |
60 | cooling-device = <&fan0 1 2>; | |
61 | }; | |
62 | map4 { | |
63 | trip = <&cpu_alert2>; | |
64 | cooling-device = <&fan0 2 3>; | |
65 | }; | |
66 | }; | |
67 | }; | |
ee6011f2 KD |
68 | }; |
69 | }; | |
70 | ||
303ce716 KK |
71 | /* Supply for LAN9730/SMSC95xx */ |
72 | &buck8_reg { | |
73 | regulator-name = "BUCK8_P3V3"; | |
74 | regulator-min-microvolt = <3300000>; | |
75 | regulator-max-microvolt = <3300000>; | |
76 | }; | |
77 | ||
82d1afbc HV |
78 | &hdmicec { |
79 | needs-hpd; | |
80 | }; | |
81 | ||
303ce716 KK |
82 | /* VDDQ for MSHC (eMMC card) */ |
83 | &ldo22_reg { | |
84 | regulator-name = "LDO22_VDDQ_MMC4_2.8V"; | |
85 | regulator-min-microvolt = <2800000>; | |
86 | regulator-max-microvolt = <2800000>; | |
87 | }; | |
88 | ||
89 | &mshc_0 { | |
90 | vqmmc-supply = <&ldo22_reg>; | |
91 | }; | |
92 | ||
ee6011f2 KD |
93 | &pwm { |
94 | pinctrl-0 = <&pwm0_out>; | |
95 | pinctrl-names = "default"; | |
96 | samsung,pwm-outputs = <0>; | |
97 | status = "okay"; | |
ec601ff3 MS |
98 | }; |
99 | ||
100 | &usb3503 { | |
101 | clock-names = "refclk"; | |
102 | clocks = <&pmu_system_controller 0>; | |
103 | refclk-frequency = <24000000>; | |
104 | }; | |
105 | ||
106 | &ehci { | |
107 | port@1 { | |
108 | status = "okay"; | |
109 | }; | |
110 | port@2 { | |
111 | status = "okay"; | |
112 | }; | |
113 | }; | |
5a852743 SN |
114 | |
115 | &sound { | |
68605101 SN |
116 | model = "Odroid-U3"; |
117 | samsung,audio-widgets = | |
16696337 SN |
118 | "Headphone", "Headphone Jack", |
119 | "Speakers", "Speakers"; | |
68605101 | 120 | samsung,audio-routing = |
5a852743 SN |
121 | "Headphone Jack", "HPL", |
122 | "Headphone Jack", "HPR", | |
123 | "Headphone Jack", "MICBIAS", | |
124 | "IN1", "Headphone Jack", | |
125 | "Speakers", "SPKL", | |
126 | "Speakers", "SPKR"; | |
127 | }; | |
c8b34e36 AB |
128 | |
129 | &spi_1 { | |
130 | pinctrl-names = "default"; | |
131 | pinctrl-0 = <&spi1_bus>; | |
132 | cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; | |
133 | status = "okay"; | |
134 | }; |