1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 Collabora Ltd.
4 * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd.
6 * Schematics available at https://dl.vamrs.com/products/ficus/docs/hw
10 #include "rk3399-rock960.dtsi"
13 model = "96boards RK3399 Ficus";
14 compatible = "vamrs,ficus", "rockchip,rk3399";
21 stdout-path = "serial2:1500000n8";
24 clkin_gmac: external-gmac-clock {
25 compatible = "fixed-clock";
26 clock-frequency = <125000000>;
27 clock-output-names = "clkin_gmac";
32 compatible = "gpio-leds";
33 pinctrl-names = "default";
34 pinctrl-0 = <&user_led1_pin>, <&user_led2_pin>,
35 <&user_led3_pin>, <&user_led4_pin>,
36 <&wlan_led_pin>, <&bt_led_pin>;
40 gpios = <&gpio4 25 0>;
41 linux,default-trigger = "heartbeat";
46 gpios = <&gpio4 26 0>;
47 linux,default-trigger = "mmc0";
52 gpios = <&gpio4 30 0>;
53 linux,default-trigger = "mmc1";
60 linux,default-trigger = "none";
63 wlan_active_led: led-5 {
66 linux,default-trigger = "phy0tx";
67 default-state = "off";
70 bt_active_led: led-6 {
73 linux,default-trigger = "hci0-power";
74 default-state = "off";
80 assigned-clocks = <&cru SCLK_RMII_SRC>;
81 assigned-clock-parents = <&clkin_gmac>;
82 clock_in_out = "input";
83 phy-supply = <&vcc3v3_sys>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&rgmii_pins>;
87 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
88 snps,reset-active-low;
89 snps,reset-delays-us = <0 10000 50000>;
96 ep-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>;
101 rgmii_sleep_pins: rgmii-sleep-pins {
103 <3 RK_PB7 RK_FUNC_GPIO &pcfg_output_low>;
110 <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
115 host_vbus_drv: host-vbus-drv {
117 <4 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
122 user_led1_pin: user-led1-pin {
124 <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
127 user_led2_pin: user-led2-pin {
129 <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
132 user_led3_pin: user-led3-pin {
134 <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
137 user_led4_pin: user-led4-pin {
139 <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
142 wlan_led_pin: wlan-led-pin {
144 <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
147 bt_led_pin: bt-led-pin {
149 <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
155 /* On both Low speed and High speed expansion */
156 cs-gpios = <0>, <&gpio4 RK_PA6 0>, <&gpio4 RK_PA7 0>;
169 gpio = <&gpio1 24 GPIO_ACTIVE_HIGH>;
173 gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>;