staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / arch / arm64 / boot / dts / rockchip / rk3399-rock960.dts
blob437a75f31ad4db29e5b021aeb84944741bb1494a
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright (c) 2018 Linaro Ltd.
4  */
6 /dts-v1/;
7 #include "rk3399-rock960.dtsi"
9 / {
10         model = "96boards Rock960";
11         compatible = "vamrs,rock960", "rockchip,rk3399";
13         chosen {
14                 stdout-path = "serial2:1500000n8";
15         };
17         leds {
18                 compatible = "gpio-leds";
19                 pinctrl-names = "default";
20                 pinctrl-0 = <&user_led1>, <&user_led2>, <&user_led3>,
21                             <&user_led4>, <&wlan_led>, <&bt_led>;
23                 user_led1 {
24                         label = "green:user1";
25                         gpios = <&gpio4 RK_PC2 0>;
26                         linux,default-trigger = "heartbeat";
27                 };
29                 user_led2 {
30                         label = "green:user2";
31                         gpios = <&gpio4 RK_PC6 0>;
32                         linux,default-trigger = "mmc0";
33                 };
35                 user_led3 {
36                         label = "green:user3";
37                         gpios = <&gpio4 RK_PD0 0>;
38                         linux,default-trigger = "mmc1";
39                 };
41                 user_led4 {
42                         label = "green:user4";
43                         gpios = <&gpio4 RK_PD4 0>;
44                         panic-indicator;
45                         linux,default-trigger = "none";
46                 };
48                 wlan_active_led {
49                         label = "yellow:wlan";
50                         gpios = <&gpio4 RK_PD5 0>;
51                         linux,default-trigger = "phy0tx";
52                         default-state = "off";
53                 };
55                 bt_active_led {
56                         label = "blue:bt";
57                         gpios = <&gpio4 RK_PD6 0>;
58                         linux,default-trigger = "hci0-power";
59                         default-state = "off";
60                 };
61         };
65 &pcie0 {
66         ep-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>;
69 &pinctrl {
70         leds {
71                 user_led1: user_led1 {
72                         rockchip,pins =
73                                 <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
74                 };
76                 user_led2: user_led2 {
77                         rockchip,pins =
78                                 <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
79                 };
81                 user_led3: user_led3 {
82                         rockchip,pins =
83                                 <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
84                 };
86                 user_led4: user_led4 {
87                         rockchip,pins =
88                                 <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
89                 };
91                 wlan_led: wlan_led {
92                         rockchip,pins =
93                                 <4 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
94                 };
96                 bt_led: bt_led {
97                         rockchip,pins =
98                                 <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
99                 };
100         };
102         pcie {
103                 pcie_drv: pcie-drv {
104                         rockchip,pins =
105                                 <2 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
106                         };
107         };
109         usb2 {
110                 host_vbus_drv: host-vbus-drv {
111                         rockchip,pins =
112                                 <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
113                 };
114         };
117 &spi0 {
118         /* On Low speed expansion (LS-SPI0) */
119         status = "okay";
122 &spi4 {
123         /* On High speed expansion (HS-SPI1) */
124         status = "okay";
127 &thermal_zones {
128         cpu_thermal: cpu {
129                 polling-delay-passive = <100>;
130                 polling-delay = <1000>;
131                 thermal-sensors = <&tsadc 0>;
132                 sustainable-power = <1550>;
134                 trips {
135                         cpu_alert0: cpu_alert0 {
136                                     temperature = <65000>;
137                                     hysteresis = <2000>;
138                                     type = "passive";
139                         };
141                         cpu_alert1: cpu_alert1 {
142                                     temperature = <75000>;
143                                     hysteresis = <2000>;
144                                     type = "passive";
145                         };
147                         cpu_crit: cpu_crit {
148                                   temperature = <95000>;
149                                   hysteresis = <2000>;
150                                   type = "critical";
151                         };
152                 };
154                 cooling-maps {
155                              map0 {
157                              trip = <&cpu_alert1>;
158                              cooling-device =
159                                         <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
160                                         <&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
161                         };
162                 };
163         };
166 &usbdrd_dwc3_0 {
167         dr_mode = "otg";
170 &usbdrd_dwc3_1 {
171         dr_mode = "host";
174 &vcc3v3_pcie {
175         gpio = <&gpio2 5 GPIO_ACTIVE_HIGH>;
178 &vcc5v0_host {
179         gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;