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_pin>, <&user_led2_pin>,
21 <&user_led3_pin>, <&user_led4_pin>,
22 <&wlan_led_pin>, <&bt_led_pin>;
25 label = "green:user1";
26 gpios = <&gpio4 RK_PC2 0>;
27 linux,default-trigger = "heartbeat";
31 label = "green:user2";
32 gpios = <&gpio4 RK_PC6 0>;
33 linux,default-trigger = "mmc0";
37 label = "green:user3";
38 gpios = <&gpio4 RK_PD0 0>;
39 linux,default-trigger = "mmc1";
43 label = "green:user4";
44 gpios = <&gpio4 RK_PD4 0>;
46 linux,default-trigger = "none";
49 wlan_active_led: led-5 {
50 label = "yellow:wlan";
51 gpios = <&gpio4 RK_PD5 0>;
52 linux,default-trigger = "phy0tx";
53 default-state = "off";
56 bt_active_led: led-6 {
58 gpios = <&gpio4 RK_PD6 0>;
59 linux,default-trigger = "hci0-power";
60 default-state = "off";
67 temperature = <65000>;
71 sustainable-power = <1550>;
81 ep-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>;
86 user_led1_pin: user-led1-pin {
88 <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
91 user_led2_pin: user-led2-pin {
93 <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
96 user_led3_pin: user-led3-pin {
98 <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
101 user_led4_pin: user-led4-pin {
103 <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
106 wlan_led_pin: wlan-led-pin {
108 <4 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
111 bt_led_pin: bt-led-pin {
113 <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
120 <2 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
125 host_vbus_drv: host-vbus-drv {
127 <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
133 /* On Low speed expansion (LS-SPI0) */
138 /* On High speed expansion (HS-SPI1) */
151 gpio = <&gpio2 5 GPIO_ACTIVE_HIGH>;
155 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;