1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 Linaro Ltd.
7 #include "rk3399-rock960.dtsi"
10 model = "96boards Rock960";
11 compatible = "vamrs,rock960", "rockchip,rk3399";
14 stdout-path = "serial2:1500000n8";
18 compatible = "gpio-leds";
19 pinctrl-names = "default";
20 pinctrl-0 = <&user_led1>, <&user_led2>, <&user_led3>,
21 <&user_led4>, <&wlan_led>, <&bt_led>;
24 label = "green:user1";
25 gpios = <&gpio4 RK_PC2 0>;
26 linux,default-trigger = "heartbeat";
30 label = "green:user2";
31 gpios = <&gpio4 RK_PC6 0>;
32 linux,default-trigger = "mmc0";
36 label = "green:user3";
37 gpios = <&gpio4 RK_PD0 0>;
38 linux,default-trigger = "mmc1";
42 label = "green:user4";
43 gpios = <&gpio4 RK_PD4 0>;
45 linux,default-trigger = "none";
49 label = "yellow:wlan";
50 gpios = <&gpio4 RK_PD5 0>;
51 linux,default-trigger = "phy0tx";
52 default-state = "off";
57 gpios = <&gpio4 RK_PD6 0>;
58 linux,default-trigger = "hci0-power";
59 default-state = "off";
66 ep-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>;
71 user_led1: user_led1 {
73 <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
76 user_led2: user_led2 {
78 <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
81 user_led3: user_led3 {
83 <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
86 user_led4: user_led4 {
88 <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
93 <4 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
98 <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
105 <2 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
110 host_vbus_drv: host-vbus-drv {
112 <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
118 /* On Low speed expansion (LS-SPI0) */
123 /* On High speed expansion (HS-SPI1) */
129 polling-delay-passive = <100>;
130 polling-delay = <1000>;
131 thermal-sensors = <&tsadc 0>;
132 sustainable-power = <1550>;
135 cpu_alert0: cpu_alert0 {
136 temperature = <65000>;
141 cpu_alert1: cpu_alert1 {
142 temperature = <75000>;
148 temperature = <95000>;
157 trip = <&cpu_alert1>;
159 <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
160 <&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
175 gpio = <&gpio2 5 GPIO_ACTIVE_HIGH>;
179 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;